@chevre/factory 3.1.0 → 3.343.0-alpha.2
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/README.md +0 -5
- package/example/customReturnPolicyRequest.json +125 -0
- package/example/customReturnPolicyResponse.json +8 -0
- package/example/informPayAction.json +126 -0
- package/example/informPersonAction.json +517 -0
- package/example/informRefundAction.json +16 -0
- package/example/testErrorInstance.js +9 -0
- package/lib/account/action/moneyTransfer.d.ts +86 -0
- package/lib/account/transaction/deposit.d.ts +27 -0
- package/lib/account/transaction/transfer.d.ts +32 -0
- package/lib/account/transaction/withdraw.d.ts +31 -0
- package/lib/account/transaction.d.ts +144 -0
- package/lib/account/transactionType.d.ts +17 -0
- package/lib/account/transactionType.js +21 -0
- package/lib/account.d.ts +127 -0
- package/lib/account.js +32 -0
- package/lib/{factory/accountTitle.d.ts → accountTitle.d.ts} +8 -7
- package/lib/accountType.d.ts +15 -0
- package/lib/accountType.js +19 -0
- package/lib/action/authorize/award/point.d.ts +51 -0
- package/lib/action/authorize/award/point.js +7 -0
- package/lib/action/authorize/offer/moneyTransfer.d.ts +39 -0
- package/lib/action/authorize/offer/product.d.ts +70 -0
- package/lib/action/authorize/offer/seatReservation/coa.d.ts +117 -0
- package/lib/action/authorize/offer/seatReservation.d.ts +162 -0
- package/lib/action/authorize/offer/seatReservation.js +7 -0
- package/lib/action/authorize/paymentMethod/any.d.ts +171 -0
- package/lib/action/authorize/paymentMethod/any.js +12 -0
- package/lib/{factory/action → action}/authorize.d.ts +5 -5
- package/lib/action/cancel/reservation.d.ts +85 -0
- package/lib/action/check/paymentMethod/movieTicket.d.ts +42 -0
- package/lib/action/check/token.d.ts +23 -0
- package/lib/action/check/token.js +7 -0
- package/lib/action/check.d.ts +10 -0
- package/lib/action/consume/use/reservation.d.ts +32 -0
- package/lib/action/consume/use.d.ts +12 -0
- package/lib/action/interact/confirm/moneyTransfer.d.ts +30 -0
- package/lib/action/interact/confirm/pay.d.ts +27 -0
- package/lib/action/interact/confirm/registerService.d.ts +27 -0
- package/lib/action/interact/confirm/reservation.d.ts +26 -0
- package/lib/action/interact/confirm.d.ts +21 -0
- package/lib/action/interact/inform.d.ts +19 -0
- package/lib/action/interact/register/service.d.ts +18 -0
- package/lib/action/interact/register.d.ts +15 -0
- package/lib/action/reserve.d.ts +49 -0
- package/lib/action/trade/order.d.ts +37 -0
- package/lib/action/trade/pay.d.ts +136 -0
- package/lib/action/trade/refund.d.ts +27 -0
- package/lib/action/transfer/give/pointAward.d.ts +49 -0
- package/lib/action/transfer/give/pointAward.js +5 -0
- package/lib/action/transfer/give.d.ts +16 -0
- package/lib/action/transfer/moneyTransfer.d.ts +102 -0
- package/lib/action/transfer/return/moneyTransfer.d.ts +21 -0
- package/lib/action/transfer/return/order.d.ts +47 -0
- package/lib/action/transfer/return/paymentMethod.d.ts +25 -0
- package/lib/action/transfer/return/pointAward.d.ts +39 -0
- package/lib/action/transfer/return/reserveTransaction.d.ts +29 -0
- package/lib/action/transfer/return.d.ts +10 -0
- package/lib/action/transfer/send/message/email.d.ts +25 -0
- package/lib/action/transfer/send/order.d.ts +37 -0
- package/lib/action/transfer/send.d.ts +18 -0
- package/lib/action/update/delete/member.d.ts +23 -0
- package/lib/action/update/delete.d.ts +15 -0
- package/lib/action.d.ts +242 -0
- package/lib/{factory/actionStatusType.d.ts → actionStatusType.d.ts} +1 -2
- package/lib/{factory/actionStatusType.js → actionStatusType.js} +2 -2
- package/lib/actionType.d.ts +25 -0
- package/lib/actionType.js +30 -0
- package/lib/additionalProperty.d.ts +66 -0
- package/lib/assetTransaction/cancelReservation.d.ts +69 -0
- package/lib/assetTransaction/moneyTransfer.d.ts +136 -0
- package/lib/assetTransaction/pay.d.ts +157 -0
- package/lib/assetTransaction/refund.d.ts +68 -0
- package/lib/assetTransaction/registerService.d.ts +103 -0
- package/lib/assetTransaction/reserve.d.ts +298 -0
- package/lib/assetTransaction.d.ts +176 -0
- package/lib/assetTransactionType.d.ts +31 -0
- package/lib/assetTransactionType.js +35 -0
- package/lib/authorization.d.ts +61 -0
- package/lib/{factory/autoGenerated.d.ts → autoGenerated.d.ts} +1 -1
- package/lib/businessEntityType.d.ts +2 -0
- package/lib/categoryCode.d.ts +131 -0
- package/lib/{factory/categoryCode.js → categoryCode.js} +18 -5
- package/lib/cognito.d.ts +5 -0
- package/lib/creativeWork/comment.d.ts +51 -0
- package/lib/creativeWork/message/email.d.ts +63 -0
- package/lib/creativeWork/message/email.js +10 -0
- package/lib/creativeWork/movie.d.ts +93 -0
- package/lib/creativeWork/softwareApplication/webApplication.d.ts +14 -0
- package/lib/{factory/creativeWork.d.ts → creativeWork.d.ts} +5 -8
- package/lib/creativeWorkType.d.ts +9 -0
- package/lib/creativeWorkType.js +13 -0
- package/lib/customer.d.ts +59 -0
- package/lib/encodingFormat.d.ts +28 -0
- package/lib/encodingFormat.js +41 -0
- package/lib/{factory/error → error}/alreadyInUse.d.ts +1 -1
- package/lib/{factory/error → error}/alreadyInUse.js +7 -4
- package/lib/{factory/error → error}/argument.d.ts +1 -1
- package/lib/{factory/error → error}/argument.js +7 -4
- package/lib/{factory/error → error}/argumentNull.d.ts +1 -1
- package/lib/{factory/error → error}/argumentNull.js +7 -4
- package/lib/{factory/error → error}/chevre.d.ts +1 -1
- package/lib/{factory/error → error}/chevre.js +7 -1
- package/lib/{factory/error → error}/forbidden.d.ts +1 -1
- package/lib/{factory/error → error}/forbidden.js +6 -3
- package/lib/error/gatewayTimeout.d.ts +7 -0
- package/lib/error/gatewayTimeout.js +41 -0
- package/lib/{factory/error → error}/notFound.d.ts +1 -1
- package/lib/{factory/error → error}/notFound.js +7 -4
- package/lib/{factory/error → error}/notImplemented.d.ts +1 -1
- package/lib/{factory/error → error}/notImplemented.js +6 -3
- package/lib/{factory/error → error}/rateLimitExceeded.d.ts +1 -1
- package/lib/{factory/error → error}/rateLimitExceeded.js +6 -3
- package/lib/{factory/error → error}/serviceUnavailable.d.ts +1 -1
- package/lib/{factory/error → error}/serviceUnavailable.js +6 -3
- package/lib/{factory/error → error}/unauthorized.d.ts +1 -1
- package/lib/{factory/error → error}/unauthorized.js +6 -3
- package/lib/{factory/errorCode.d.ts → errorCode.d.ts} +2 -2
- package/lib/{factory/errorCode.js → errorCode.js} +4 -3
- package/lib/errors.d.ts +15 -0
- package/lib/errors.js +28 -0
- package/lib/event/anyEvent.d.ts +401 -0
- package/lib/event/anyEvent.js +2 -0
- package/lib/event/screeningEvent.d.ts +325 -0
- package/lib/event/screeningEvent.js +2 -0
- package/lib/event/screeningEventSeries.d.ts +211 -0
- package/lib/event/screeningEventSeries.js +2 -0
- package/lib/{factory/event.d.ts → event.d.ts} +35 -35
- package/lib/{factory/eventStatusType.d.ts → eventStatusType.d.ts} +1 -2
- package/lib/{factory/eventStatusType.js → eventStatusType.js} +3 -3
- package/lib/{factory/eventType.d.ts → eventType.d.ts} +2 -2
- package/lib/{factory/eventType.js → eventType.js} +3 -2
- package/lib/iam.d.ts +99 -0
- package/lib/iam.js +7 -0
- package/lib/index.d.ts +375 -128
- package/lib/index.js +362 -107
- package/lib/invoice.d.ts +138 -0
- package/lib/invoice.js +2 -0
- package/lib/{factory/itemAvailability.d.ts → itemAvailability.d.ts} +1 -2
- package/lib/{factory/itemAvailability.js → itemAvailability.js} +3 -3
- package/lib/language.js +2 -0
- package/lib/merchantReturnPolicy.d.ts +99 -0
- package/lib/merchantReturnPolicy.js +49 -0
- package/lib/{factory/monetaryAmount.d.ts → monetaryAmount.d.ts} +4 -4
- package/lib/monetaryAmount.js +2 -0
- package/lib/{factory/multilingualString.d.ts → multilingualString.d.ts} +1 -2
- package/lib/multilingualString.js +2 -0
- package/lib/offer/aggregateOffer.d.ts +19 -0
- package/lib/offer/aggregateOffer.js +2 -0
- package/lib/{factory/offer.d.ts → offer.d.ts} +88 -94
- package/lib/offer.js +2 -0
- package/lib/offerCatalog.d.ts +132 -0
- package/lib/offerCatalog.js +2 -0
- package/lib/offerItemCondition.d.ts +65 -0
- package/lib/offerItemCondition.js +2 -0
- package/lib/{factory/offerType.d.ts → offerType.d.ts} +1 -2
- package/lib/{factory/offerType.js → offerType.js} +2 -2
- package/lib/order.d.ts +651 -0
- package/lib/order.js +7 -0
- package/lib/orderExternal.d.ts +12 -0
- package/lib/orderExternal.js +2 -0
- package/lib/orderStatus.d.ts +10 -0
- package/lib/orderStatus.js +17 -0
- package/lib/organization.d.ts +23 -0
- package/lib/organization.js +2 -0
- package/lib/organizationType.d.ts +17 -0
- package/lib/organizationType.js +23 -0
- package/lib/ownershipInfo.d.ts +213 -0
- package/lib/ownershipInfo.js +2 -0
- package/lib/paymentMethod/paymentCard/creditCard.d.ts +65 -0
- package/lib/paymentMethod/paymentCard/creditCard.js +2 -0
- package/lib/paymentMethod/paymentCard/movieTicket.d.ts +53 -0
- package/lib/paymentMethod/paymentCard/movieTicket.js +2 -0
- package/lib/paymentMethod/paymentCard.d.ts +18 -0
- package/lib/paymentMethod/paymentCard.js +2 -0
- package/lib/paymentMethod.d.ts +11 -0
- package/lib/paymentMethod.js +2 -0
- package/lib/paymentStatusType.d.ts +10 -0
- package/lib/paymentStatusType.js +14 -0
- package/lib/permit.d.ts +64 -0
- package/lib/permit.js +7 -0
- package/lib/person.d.ts +59 -0
- package/lib/person.js +2 -0
- package/lib/personType.d.ts +6 -0
- package/lib/personType.js +10 -0
- package/lib/place/busStop.d.ts +41 -0
- package/lib/place/busStop.js +2 -0
- package/lib/place/movieTheater.d.ts +160 -0
- package/lib/place/movieTheater.js +2 -0
- package/lib/place/screeningRoom.d.ts +88 -0
- package/lib/place/screeningRoom.js +2 -0
- package/lib/place/screeningRoomSection.d.ts +69 -0
- package/lib/place/screeningRoomSection.js +2 -0
- package/lib/place/seat.d.ts +107 -0
- package/lib/place/seat.js +2 -0
- package/lib/{factory/place.d.ts → place.d.ts} +8 -6
- package/lib/place.js +2 -0
- package/lib/{factory/placeType.d.ts → placeType.d.ts} +4 -2
- package/lib/{factory/placeType.js → placeType.js} +6 -3
- package/lib/{factory/priceCurrency.d.ts → priceCurrency.d.ts} +1 -2
- package/lib/{factory/priceCurrency.js → priceCurrency.js} +2 -2
- package/lib/priceSpecification/categoryCodeChargeSpecification.d.ts +15 -0
- package/lib/priceSpecification/categoryCodeChargeSpecification.js +2 -0
- package/lib/priceSpecification/compoundPriceSpecification.d.ts +12 -0
- package/lib/priceSpecification/compoundPriceSpecification.js +2 -0
- package/lib/priceSpecification/movieTicketTypeChargeSpecification.d.ts +34 -0
- package/lib/priceSpecification/movieTicketTypeChargeSpecification.js +2 -0
- package/lib/priceSpecification/unitPriceSpecification.d.ts +42 -0
- package/lib/priceSpecification/unitPriceSpecification.js +2 -0
- package/lib/{factory/priceSpecification.d.ts → priceSpecification.d.ts} +39 -24
- package/lib/priceSpecification.js +2 -0
- package/lib/{factory/priceSpecificationType.d.ts → priceSpecificationType.d.ts} +1 -2
- package/lib/{factory/priceSpecificationType.js → priceSpecificationType.js} +2 -2
- package/lib/product.d.ts +254 -0
- package/lib/product.js +29 -0
- package/lib/programMembership.d.ts +16 -0
- package/lib/{factory/programMembership.js → programMembership.js} +1 -0
- package/lib/project.d.ts +107 -0
- package/lib/project.js +2 -0
- package/lib/propertyValue/locationFeatureSpecification.d.ts +4 -0
- package/lib/propertyValue/locationFeatureSpecification.js +2 -0
- package/lib/{factory/propertyValue.d.ts → propertyValue.d.ts} +3 -0
- package/lib/propertyValue.js +7 -0
- package/lib/qualitativeValue.js +2 -0
- package/lib/quantitativeValue.d.ts +34 -0
- package/lib/quantitativeValue.js +7 -0
- package/lib/report/accountingReport.d.ts +68 -0
- package/lib/report/accountingReport.js +2 -0
- package/lib/reservation/busReservation.d.ts +52 -0
- package/lib/reservation/busReservation.js +2 -0
- package/lib/reservation/event.d.ts +96 -0
- package/lib/reservation/event.js +2 -0
- package/lib/reservation/pendingReservationPackage.d.ts +24 -0
- package/lib/reservation/pendingReservationPackage.js +14 -0
- package/lib/{factory/reservation → reservation}/reservationPackage.d.ts +4 -4
- package/lib/reservation/reservationPackage.js +2 -0
- package/lib/{factory/reservation.d.ts → reservation.d.ts} +172 -53
- package/lib/reservation.js +2 -0
- package/lib/{factory/reservationStatusType.d.ts → reservationStatusType.d.ts} +1 -3
- package/lib/{factory/reservationStatusType.js → reservationStatusType.js} +3 -3
- package/lib/{factory/reservationType.d.ts → reservationType.d.ts} +2 -2
- package/lib/{factory/reservationType.js → reservationType.js} +3 -2
- package/lib/seller.d.ts +108 -0
- package/lib/seller.js +2 -0
- package/lib/service/paymentService.d.ts +123 -0
- package/lib/service/paymentService.js +10 -0
- package/lib/service/webAPI.d.ts +11 -0
- package/lib/service/webAPI.js +8 -0
- package/lib/{factory/sortType.d.ts → sortType.d.ts} +1 -2
- package/lib/{factory/sortType.js → sortType.js} +2 -2
- package/lib/task/accountMoneyTransfer.d.ts +15 -0
- package/lib/task/accountMoneyTransfer.js +2 -0
- package/lib/task/aggregateScreeningEvent.d.ts +16 -0
- package/lib/task/aggregateScreeningEvent.js +2 -0
- package/lib/{factory/task/aggregateScreeningEvent.d.ts → task/aggregateUseActionsOnEvent.d.ts} +5 -5
- package/lib/task/aggregateUseActionsOnEvent.js +2 -0
- package/lib/task/cancelAccountMoneyTransfer.d.ts +19 -0
- package/lib/task/cancelAccountMoneyTransfer.js +2 -0
- package/lib/task/cancelMoneyTransfer.d.ts +18 -0
- package/lib/task/cancelMoneyTransfer.js +2 -0
- package/lib/{factory/task → task}/cancelPendingReservation.d.ts +2 -2
- package/lib/task/cancelPendingReservation.js +2 -0
- package/lib/{factory/task → task}/cancelReservation.d.ts +2 -2
- package/lib/task/cancelReservation.js +2 -0
- package/lib/task/confirmMoneyTransfer.d.ts +13 -0
- package/lib/task/confirmMoneyTransfer.js +2 -0
- package/lib/task/confirmPayTransaction.d.ts +23 -0
- package/lib/task/confirmPayTransaction.js +2 -0
- package/lib/task/confirmRegisterService.d.ts +13 -0
- package/lib/task/confirmRegisterService.js +2 -0
- package/lib/task/confirmRegisterServiceTransaction.d.ts +13 -0
- package/lib/task/confirmRegisterServiceTransaction.js +2 -0
- package/lib/task/confirmReserveTransaction.d.ts +14 -0
- package/lib/task/confirmReserveTransaction.js +2 -0
- package/lib/task/createEvent.d.ts +26 -0
- package/lib/task/createEvent.js +2 -0
- package/lib/task/deleteTransaction.d.ts +48 -0
- package/lib/task/deleteTransaction.js +11 -0
- package/lib/task/givePointAward.d.ts +13 -0
- package/lib/task/givePointAward.js +2 -0
- package/lib/{factory/task/importEventsFromCOA.d.ts → task/importEventCapacitiesFromCOA.d.ts} +6 -6
- package/lib/task/importEventCapacitiesFromCOA.js +2 -0
- package/lib/task/importEventsFromCOA.d.ts +36 -0
- package/lib/task/importEventsFromCOA.js +2 -0
- package/lib/{factory/task → task}/importOffersFromCOA.d.ts +4 -4
- package/lib/task/importOffersFromCOA.js +2 -0
- package/lib/task/moneyTransfer.d.ts +13 -0
- package/lib/task/moneyTransfer.js +2 -0
- package/lib/task/onAssetTransactionStatusChanged.d.ts +35 -0
- package/lib/task/onAssetTransactionStatusChanged.js +2 -0
- package/lib/task/onAuthorizationCreated.d.ts +24 -0
- package/lib/task/onAuthorizationCreated.js +2 -0
- package/lib/task/onEventChanged.d.ts +25 -0
- package/lib/task/onEventChanged.js +2 -0
- package/lib/task/onOrderPaymentCompleted.d.ts +21 -0
- package/lib/task/onOrderPaymentCompleted.js +2 -0
- package/lib/task/onResourceUpdated.d.ts +76 -0
- package/lib/task/onResourceUpdated.js +2 -0
- package/lib/task/pay.d.ts +13 -0
- package/lib/task/pay.js +2 -0
- package/lib/task/placeOrder.d.ts +19 -0
- package/lib/task/placeOrder.js +2 -0
- package/lib/task/refund.d.ts +13 -0
- package/lib/task/refund.js +2 -0
- package/lib/task/registerService.d.ts +13 -0
- package/lib/task/registerService.js +2 -0
- package/lib/{factory/task → task}/reserve.d.ts +2 -2
- package/lib/task/reserve.js +2 -0
- package/lib/task/returnMoneyTransfer.d.ts +13 -0
- package/lib/task/returnMoneyTransfer.js +2 -0
- package/lib/task/returnOrder.d.ts +13 -0
- package/lib/task/returnOrder.js +2 -0
- package/lib/task/returnPayTransaction.d.ts +13 -0
- package/lib/task/returnPayTransaction.js +2 -0
- package/lib/task/returnPointAward.d.ts +13 -0
- package/lib/task/returnPointAward.js +2 -0
- package/lib/task/returnReserveTransaction.d.ts +14 -0
- package/lib/task/returnReserveTransaction.js +2 -0
- package/lib/task/sendEmailMessage.d.ts +18 -0
- package/lib/task/sendEmailMessage.js +2 -0
- package/lib/task/sendOrder.d.ts +20 -0
- package/lib/task/sendOrder.js +2 -0
- package/lib/task/syncScreeningRooms.d.ts +22 -0
- package/lib/task/syncScreeningRooms.js +2 -0
- package/lib/{factory/task → task}/triggerWebhook.d.ts +3 -3
- package/lib/task/triggerWebhook.js +2 -0
- package/lib/task/useReservation.d.ts +20 -0
- package/lib/task/useReservation.js +2 -0
- package/lib/task/voidMoneyTransferTransaction.d.ts +24 -0
- package/lib/task/voidMoneyTransferTransaction.js +2 -0
- package/lib/task/voidPayTransaction.d.ts +29 -0
- package/lib/task/voidPayTransaction.js +2 -0
- package/lib/task/voidPayment.d.ts +16 -0
- package/lib/task/voidPayment.js +2 -0
- package/lib/task/voidRegisterServiceTransaction.d.ts +24 -0
- package/lib/task/voidRegisterServiceTransaction.js +2 -0
- package/lib/task/voidReserveTransaction.d.ts +29 -0
- package/lib/task/voidReserveTransaction.js +2 -0
- package/lib/task.d.ts +125 -0
- package/lib/task.js +2 -0
- package/lib/taskName.d.ts +118 -0
- package/lib/taskName.js +124 -0
- package/lib/{factory/taskStatus.d.ts → taskStatus.d.ts} +1 -2
- package/lib/{factory/taskStatus.js → taskStatus.js} +2 -2
- package/lib/{factory/thing.d.ts → thing.d.ts} +8 -3
- package/lib/thing.js +2 -0
- package/lib/transaction/moneyTransfer.d.ts +138 -0
- package/lib/transaction/moneyTransfer.js +2 -0
- package/lib/transaction/placeOrder.d.ts +208 -0
- package/lib/transaction/placeOrder.js +2 -0
- package/lib/transaction/returnOrder.d.ts +183 -0
- package/lib/transaction/returnOrder.js +17 -0
- package/lib/transaction.d.ts +184 -0
- package/lib/transaction.js +2 -0
- package/lib/{factory/transactionStatusType.d.ts → transactionStatusType.d.ts} +1 -2
- package/lib/{factory/transactionStatusType.js → transactionStatusType.js} +3 -3
- package/lib/{factory/transactionTasksExportationStatus.d.ts → transactionTasksExportationStatus.d.ts} +1 -2
- package/lib/{factory/transactionTasksExportationStatus.js → transactionTasksExportationStatus.js} +3 -3
- package/lib/transactionType.d.ts +17 -0
- package/lib/transactionType.js +21 -0
- package/lib/trip/busTrip.d.ts +51 -0
- package/lib/trip/busTrip.js +2 -0
- package/lib/trip.d.ts +13 -0
- package/lib/trip.js +2 -0
- package/lib/tripType.d.ts +7 -0
- package/lib/tripType.js +11 -0
- package/lib/{factory/unitCode.d.ts → unitCode.d.ts} +4 -0
- package/lib/{factory/unitCode.js → unitCode.js} +5 -0
- package/lib/unitPriceOffer/merchantReturnPolicy.d.ts +39 -0
- package/lib/unitPriceOffer/merchantReturnPolicy.js +2 -0
- package/lib/unitPriceOffer.d.ts +261 -0
- package/lib/unitPriceOffer.js +2 -0
- package/package.json +15 -14
- package/CHANGELOG.md +0 -126
- package/lib/factory/action/cancel/reservation.d.ts +0 -44
- package/lib/factory/action/consume/use.d.ts +0 -15
- package/lib/factory/action/interact/inform.d.ts +0 -19
- package/lib/factory/action/interact/register/programMembership.d.ts +0 -12
- package/lib/factory/action/interact/register.d.ts +0 -15
- package/lib/factory/action/interact/unRegister/programMembership.d.ts +0 -12
- package/lib/factory/action/interact/unRegister.d.ts +0 -15
- package/lib/factory/action/reserve.d.ts +0 -44
- package/lib/factory/action.d.ts +0 -83
- package/lib/factory/actionType.d.ts +0 -15
- package/lib/factory/actionType.js +0 -18
- package/lib/factory/categoryCode.d.ts +0 -86
- package/lib/factory/creativeWork/message/email.d.ts +0 -18
- package/lib/factory/creativeWork/movie.d.ts +0 -66
- package/lib/factory/creativeWorkType.d.ts +0 -8
- package/lib/factory/creativeWorkType.js +0 -11
- package/lib/factory/distributor.d.ts +0 -21
- package/lib/factory/errors.d.ts +0 -14
- package/lib/factory/errors.js +0 -25
- package/lib/factory/event/screeningEvent.d.ts +0 -339
- package/lib/factory/event/screeningEventSeries.d.ts +0 -162
- package/lib/factory/offer/product.d.ts +0 -66
- package/lib/factory/offerCatalog.d.ts +0 -61
- package/lib/factory/organizationType.d.ts +0 -8
- package/lib/factory/organizationType.js +0 -11
- package/lib/factory/paymentMethodType.d.ts +0 -29
- package/lib/factory/paymentMethodType.js +0 -32
- package/lib/factory/place/movieTheater.d.ts +0 -86
- package/lib/factory/place/screeningRoom.d.ts +0 -22
- package/lib/factory/place/screeningRoomSection.d.ts +0 -20
- package/lib/factory/place/seat.d.ts +0 -42
- package/lib/factory/priceSpecification/categoryCodeChargeSpecification.d.ts +0 -14
- package/lib/factory/priceSpecification/compoundPriceSpecification.d.ts +0 -22
- package/lib/factory/priceSpecification/movieTicketTypeChargeSpecification.d.ts +0 -37
- package/lib/factory/priceSpecification/unitPriceSpecification.d.ts +0 -24
- package/lib/factory/programMembership.d.ts +0 -61
- package/lib/factory/project.d.ts +0 -68
- package/lib/factory/quantitativeValue.d.ts +0 -23
- package/lib/factory/reservation/event.d.ts +0 -56
- package/lib/factory/serviceType.d.ts +0 -9
- package/lib/factory/subject.d.ts +0 -52
- package/lib/factory/task.d.ts +0 -70
- package/lib/factory/taskExecutionResult.d.ts +0 -9
- package/lib/factory/taskName.d.ts +0 -16
- package/lib/factory/taskName.js +0 -19
- package/lib/factory/ticketType.d.ts +0 -84
- package/lib/factory/transaction/cancelReservation.d.ts +0 -98
- package/lib/factory/transaction/registerProgramMembership.d.ts +0 -85
- package/lib/factory/transaction/reserve.d.ts +0 -147
- package/lib/factory/transaction.d.ts +0 -120
- package/lib/factory/transactionType.d.ts +0 -18
- package/lib/factory/transactionType.js +0 -21
- package/lib/factory/videoFormatType.d.ts +0 -12
- package/lib/factory/videoFormatType.js +0 -15
- /package/lib/{factory/accountTitle.js → account/action/moneyTransfer.js} +0 -0
- /package/lib/{factory/action.js → account/transaction/deposit.js} +0 -0
- /package/lib/{factory/action/authorize.js → account/transaction/transfer.js} +0 -0
- /package/lib/{factory/action/cancel/reservation.js → account/transaction/withdraw.js} +0 -0
- /package/lib/{factory → account}/transaction.js +0 -0
- /package/lib/{factory/action/consume/use.js → accountTitle.js} +0 -0
- /package/lib/{factory/action/interact/register/programMembership.js → action/authorize/offer/moneyTransfer.js} +0 -0
- /package/lib/{factory → action/authorize}/offer/product.js +0 -0
- /package/lib/{factory/action/interact/unRegister.js → action/authorize/offer/seatReservation/coa.js} +0 -0
- /package/lib/{factory/action/interact/register.js → action/authorize.js} +0 -0
- /package/lib/{factory → action/cancel}/reservation.js +0 -0
- /package/lib/{factory/action/reserve.js → action/check/paymentMethod/movieTicket.js} +0 -0
- /package/lib/{factory/action/interact/unRegister/programMembership.js → action/check.js} +0 -0
- /package/lib/{factory/creativeWork.js → action/consume/use/reservation.js} +0 -0
- /package/lib/{factory/autoGenerated.js → action/consume/use.js} +0 -0
- /package/lib/{factory/creativeWork/movie.js → action/interact/confirm/moneyTransfer.js} +0 -0
- /package/lib/{factory/distributor.js → action/interact/confirm/pay.js} +0 -0
- /package/lib/{factory/event.js → action/interact/confirm/registerService.js} +0 -0
- /package/lib/{factory/event/screeningEvent.js → action/interact/confirm/reservation.js} +0 -0
- /package/lib/{factory/creativeWork/message/email.js → action/interact/confirm.js} +0 -0
- /package/lib/{factory/event/screeningEventSeries.js → action/interact/inform.js} +0 -0
- /package/lib/{factory/monetaryAmount.js → action/interact/register/service.js} +0 -0
- /package/lib/{factory/language.js → action/interact/register.js} +0 -0
- /package/lib/{factory/task → action}/reserve.js +0 -0
- /package/lib/{factory/multilingualString.js → action/trade/order.js} +0 -0
- /package/lib/{factory/offer.js → action/trade/pay.js} +0 -0
- /package/lib/{factory/offerCatalog.js → action/trade/refund.js} +0 -0
- /package/lib/{factory/place.js → action/transfer/give.js} +0 -0
- /package/lib/{factory/place/movieTheater.js → action/transfer/moneyTransfer.js} +0 -0
- /package/lib/{factory/place/screeningRoomSection.js → action/transfer/return/moneyTransfer.js} +0 -0
- /package/lib/{factory/place/seat.js → action/transfer/return/order.js} +0 -0
- /package/lib/{factory/priceSpecification.js → action/transfer/return/paymentMethod.js} +0 -0
- /package/lib/{factory/priceSpecification/categoryCodeChargeSpecification.js → action/transfer/return/pointAward.js} +0 -0
- /package/lib/{factory/priceSpecification/compoundPriceSpecification.js → action/transfer/return/reserveTransaction.js} +0 -0
- /package/lib/{factory/place/screeningRoom.js → action/transfer/return.js} +0 -0
- /package/lib/{factory/priceSpecification/unitPriceSpecification.js → action/transfer/send/message/email.js} +0 -0
- /package/lib/{factory/project.js → action/transfer/send/order.js} +0 -0
- /package/lib/{factory/priceSpecification/movieTicketTypeChargeSpecification.js → action/transfer/send.js} +0 -0
- /package/lib/{factory/qualitativeValue.js → action/update/delete/member.js} +0 -0
- /package/lib/{factory/propertyValue.js → action/update/delete.js} +0 -0
- /package/lib/{factory/action/interact/inform.js → action.js} +0 -0
- /package/lib/{factory/quantitativeValue.js → additionalProperty.js} +0 -0
- /package/lib/{factory/task → assetTransaction}/cancelReservation.js +0 -0
- /package/lib/{factory/reservation/reservationPackage.js → assetTransaction/moneyTransfer.js} +0 -0
- /package/lib/{factory/serviceType.js → assetTransaction/pay.js} +0 -0
- /package/lib/{factory/subject.js → assetTransaction/refund.js} +0 -0
- /package/lib/{factory/task.js → assetTransaction/registerService.js} +0 -0
- /package/lib/{factory/transaction → assetTransaction}/reserve.js +0 -0
- /package/lib/{factory/reservation/event.js → assetTransaction.js} +0 -0
- /package/lib/{factory/task/aggregateScreeningEvent.js → authorization.js} +0 -0
- /package/lib/{factory/task/cancelPendingReservation.js → autoGenerated.js} +0 -0
- /package/lib/{factory/task/importEventsFromCOA.js → businessEntityType.js} +0 -0
- /package/lib/{factory/clientUser.d.ts → clientUser.d.ts} +0 -0
- /package/lib/{factory/clientUser.js → clientUser.js} +0 -0
- /package/lib/{factory/task/importOffersFromCOA.js → cognito.js} +0 -0
- /package/lib/{factory/taskExecutionResult.js → creativeWork/comment.js} +0 -0
- /package/lib/{factory/thing.js → creativeWork/movie.js} +0 -0
- /package/lib/{factory/ticketType.js → creativeWork/softwareApplication/webApplication.js} +0 -0
- /package/lib/{factory/task/triggerWebhook.js → creativeWork.js} +0 -0
- /package/lib/{factory/transaction/cancelReservation.js → customer.js} +0 -0
- /package/lib/{factory/transaction/registerProgramMembership.js → event.js} +0 -0
- /package/lib/{factory/language.d.ts → language.d.ts} +0 -0
- /package/lib/{factory/qualitativeValue.d.ts → qualitativeValue.d.ts} +0 -0
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
{
|
|
2
|
+
"data": {
|
|
3
|
+
/**
|
|
4
|
+
* 旧ユーザープールにおけるCognitoユーザー情報
|
|
5
|
+
*/
|
|
6
|
+
"cognitoUser": {
|
|
7
|
+
"Attributes": [
|
|
8
|
+
{
|
|
9
|
+
"Name": "sub",
|
|
10
|
+
"Value": "6513970e-5094-461a-9bed-43db9d28592c"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"Name": "birthdate",
|
|
14
|
+
"Value": "1988-01-01"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"Name": "email_verified",
|
|
18
|
+
"Value": "true"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"Name": "gender",
|
|
22
|
+
"Value": "0"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"Name": "phone_number_verified",
|
|
26
|
+
"Value": "false"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"Name": "phone_number",
|
|
30
|
+
"Value": "+819012345678"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"Name": "given_name",
|
|
34
|
+
"Value": "メイ"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"Name": "family_name",
|
|
38
|
+
"Value": "セイ"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"Name": "email",
|
|
42
|
+
"Value": "test@example.com"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"Name": "custom:postalCode",
|
|
46
|
+
"Value": "1234567"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"Enabled": true,
|
|
50
|
+
"UserCreateDate": "2023-04-03T06:34:13.507Z",
|
|
51
|
+
"UserLastModifiedDate": "2023-04-03T06:34:28.336Z",
|
|
52
|
+
"UserStatus": "CONFIRMED",
|
|
53
|
+
/**
|
|
54
|
+
* 旧ユーザーネーム
|
|
55
|
+
*/
|
|
56
|
+
"Username": "oldusername12345"
|
|
57
|
+
},
|
|
58
|
+
/**
|
|
59
|
+
* 所有予約
|
|
60
|
+
*/
|
|
61
|
+
"reservations": [
|
|
62
|
+
{
|
|
63
|
+
"typeOf": "OwnershipInfo",
|
|
64
|
+
/**
|
|
65
|
+
* 予約内容
|
|
66
|
+
*/
|
|
67
|
+
"typeOfGood": {
|
|
68
|
+
"project": {
|
|
69
|
+
"typeOf": "Project",
|
|
70
|
+
"id": "sskts-development"
|
|
71
|
+
},
|
|
72
|
+
"typeOf": "EventReservation",
|
|
73
|
+
"id": "35389-0",
|
|
74
|
+
"issuedThrough": {
|
|
75
|
+
"typeOf": "EventService",
|
|
76
|
+
"id": "",
|
|
77
|
+
"availableChannel": {
|
|
78
|
+
"typeOf": "ServiceChannel",
|
|
79
|
+
"serviceLocation": {
|
|
80
|
+
"typeOf": "ScreeningRoom",
|
|
81
|
+
"branchCode": "30",
|
|
82
|
+
"name": {
|
|
83
|
+
"ja": "シアター3",
|
|
84
|
+
"en": "THEATER3"
|
|
85
|
+
},
|
|
86
|
+
"containedInPlace": {
|
|
87
|
+
"typeOf": "MovieTheater",
|
|
88
|
+
"id": "5e9a6a7602536f0007a597bd",
|
|
89
|
+
"branchCode": "120",
|
|
90
|
+
"name": {
|
|
91
|
+
"ja": "シネマテスト",
|
|
92
|
+
"en": "CinemaTest120"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"bookingTime": "2023-04-03T06:36:17.349Z",
|
|
99
|
+
"reservationFor": {
|
|
100
|
+
"typeOf": "ScreeningEvent",
|
|
101
|
+
"coaInfo": {
|
|
102
|
+
"theaterCode": "120",
|
|
103
|
+
"dateJouei": "20230403",
|
|
104
|
+
"titleCode": "99100",
|
|
105
|
+
"titleBranchNum": "0",
|
|
106
|
+
"timeBegin": "1720",
|
|
107
|
+
"timeEnd": "1906",
|
|
108
|
+
"screenCode": "30",
|
|
109
|
+
"trailerTime": 6,
|
|
110
|
+
"kbnService": {
|
|
111
|
+
"kubunCode": "000",
|
|
112
|
+
"kubunName": "通常",
|
|
113
|
+
"kubunNameEng": null,
|
|
114
|
+
"kubunAddPrice": 0
|
|
115
|
+
},
|
|
116
|
+
"kbnAcoustic": {
|
|
117
|
+
"kubunCode": "000",
|
|
118
|
+
"kubunName": "なし",
|
|
119
|
+
"kubunNameEng": null,
|
|
120
|
+
"kubunAddPrice": 0
|
|
121
|
+
},
|
|
122
|
+
"nameServiceDay": "",
|
|
123
|
+
"availableNum": 6,
|
|
124
|
+
"rsvStartDate": "20221226",
|
|
125
|
+
"rsvEndDate": "20230403",
|
|
126
|
+
"flgEarlyBooking": "0"
|
|
127
|
+
},
|
|
128
|
+
"endDate": "2023-04-03T10:06:00.000Z",
|
|
129
|
+
"identifier": "12099100020230403301720",
|
|
130
|
+
"location": {
|
|
131
|
+
"typeOf": "ScreeningRoom",
|
|
132
|
+
"branchCode": "30",
|
|
133
|
+
"name": {
|
|
134
|
+
"ja": "シアター3",
|
|
135
|
+
"en": "THEATER3"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"name": {
|
|
139
|
+
"ja": "通常作品テスト",
|
|
140
|
+
"en": "TEST"
|
|
141
|
+
},
|
|
142
|
+
"startDate": "2023-04-03T08:20:00.000Z",
|
|
143
|
+
"superEvent": {
|
|
144
|
+
"typeOf": "ScreeningEventSeries",
|
|
145
|
+
"id": "120991000",
|
|
146
|
+
"identifier": "120991000",
|
|
147
|
+
"name": {
|
|
148
|
+
"ja": "通常作品テスト",
|
|
149
|
+
"en": "TEST"
|
|
150
|
+
},
|
|
151
|
+
"kanaName": "ツウジョウサクヒンテスト",
|
|
152
|
+
"alternativeHeadline": "通常作品テスト",
|
|
153
|
+
"location": {
|
|
154
|
+
"id": "5e9a6a7602536f0007a597bd",
|
|
155
|
+
"branchCode": "120",
|
|
156
|
+
"name": {
|
|
157
|
+
"ja": "シネマテスト",
|
|
158
|
+
"en": "CinemaTest120"
|
|
159
|
+
},
|
|
160
|
+
"kanaName": "シネマ120",
|
|
161
|
+
"typeOf": "MovieTheater"
|
|
162
|
+
},
|
|
163
|
+
"videoFormat": {
|
|
164
|
+
"kubunCode": "001",
|
|
165
|
+
"kubunName": "2D",
|
|
166
|
+
"kubunNameEng": null,
|
|
167
|
+
"kubunAddPrice": 0
|
|
168
|
+
},
|
|
169
|
+
"soundFormat": [],
|
|
170
|
+
"workPerformed": {
|
|
171
|
+
"id": "120-99100",
|
|
172
|
+
"identifier": "99100",
|
|
173
|
+
"name": {
|
|
174
|
+
"ja": "通常作品テスト"
|
|
175
|
+
},
|
|
176
|
+
"duration": "PT1H40M",
|
|
177
|
+
"typeOf": "Movie"
|
|
178
|
+
},
|
|
179
|
+
"duration": "PT1H40M",
|
|
180
|
+
"coaInfo": {
|
|
181
|
+
"titleBranchNum": "0",
|
|
182
|
+
"kbnEirin": {
|
|
183
|
+
"kubunCode": "000",
|
|
184
|
+
"kubunName": "なし",
|
|
185
|
+
"kubunNameEng": null,
|
|
186
|
+
"kubunAddPrice": 0
|
|
187
|
+
},
|
|
188
|
+
"kbnEizou": {
|
|
189
|
+
"kubunCode": "001",
|
|
190
|
+
"kubunName": "2D",
|
|
191
|
+
"kubunNameEng": null,
|
|
192
|
+
"kubunAddPrice": 0
|
|
193
|
+
},
|
|
194
|
+
"kbnJoueihousiki": {
|
|
195
|
+
"kubunCode": "000",
|
|
196
|
+
"kubunName": "通常",
|
|
197
|
+
"kubunNameEng": null,
|
|
198
|
+
"kubunAddPrice": 0
|
|
199
|
+
},
|
|
200
|
+
"kbnJimakufukikae": {
|
|
201
|
+
"kubunCode": "000",
|
|
202
|
+
"kubunName": "なし",
|
|
203
|
+
"kubunNameEng": null,
|
|
204
|
+
"kubunAddPrice": 0
|
|
205
|
+
},
|
|
206
|
+
"flgMvtkUse": "0",
|
|
207
|
+
"dateMvtkBegin": " "
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"id": "12099100020230403301720"
|
|
211
|
+
},
|
|
212
|
+
"reservationNumber": "35389",
|
|
213
|
+
"reservedTicket": {
|
|
214
|
+
"typeOf": "Ticket",
|
|
215
|
+
"coaTicketInfo": {
|
|
216
|
+
"ticketCode": "10",
|
|
217
|
+
"ticketName": "当日一般",
|
|
218
|
+
"ticketNameEng": "General Price",
|
|
219
|
+
"ticketNameKana": "トウジツイッパン",
|
|
220
|
+
"stdPrice": 1800,
|
|
221
|
+
"addPrice": 0,
|
|
222
|
+
"disPrice": 0,
|
|
223
|
+
"salesTicketSalePrice": 1800,
|
|
224
|
+
"spseatAdd1": 0,
|
|
225
|
+
"spseatAdd2": 0,
|
|
226
|
+
"spseatKbn": "000",
|
|
227
|
+
"addGlasses": 0,
|
|
228
|
+
"ticketCount": 1,
|
|
229
|
+
"seatNum": "p-22",
|
|
230
|
+
"mvtkAppPrice": 0,
|
|
231
|
+
"kbnEisyahousiki": "00",
|
|
232
|
+
"mvtkNum": "",
|
|
233
|
+
"mvtkKbnDenshiken": "00",
|
|
234
|
+
"mvtkKbnMaeuriken": "00",
|
|
235
|
+
"mvtkKbnKensyu": "00",
|
|
236
|
+
"mvtkSalesPrice": 0,
|
|
237
|
+
"kbnMgtk": "",
|
|
238
|
+
"limitUnit": "001",
|
|
239
|
+
"limitCount": 1,
|
|
240
|
+
"usePoint": 0,
|
|
241
|
+
"salePrice": 1800
|
|
242
|
+
},
|
|
243
|
+
"coaReserveAmount": 3300,
|
|
244
|
+
"dateIssued": "2023-04-03T06:36:17.349Z",
|
|
245
|
+
"ticketedSeat": {
|
|
246
|
+
"typeOf": "Seat",
|
|
247
|
+
"seatNumber": "p-22",
|
|
248
|
+
"seatRow": "",
|
|
249
|
+
"seatSection": " "
|
|
250
|
+
},
|
|
251
|
+
"ticketNumber": "1202023040300035389001",
|
|
252
|
+
"ticketToken": "1202023040300035389001",
|
|
253
|
+
"ticketType": {
|
|
254
|
+
"typeOf": "Offer",
|
|
255
|
+
"id": "7iri35ckkgecdj2",
|
|
256
|
+
"identifier": "COA-120-10",
|
|
257
|
+
"name": {
|
|
258
|
+
"ja": "当日一般",
|
|
259
|
+
"en": "General Price"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"bookingService": {
|
|
264
|
+
"typeOf": "WebAPI",
|
|
265
|
+
"identifier": "COA"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"ownedFrom": "2023-04-03T06:36:32.366Z",
|
|
269
|
+
"ownedThrough": "2023-04-03T10:06:00.000Z"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"id": "ec05cdc0-a3ad-4cc1-a56c-1fb47a02f571",
|
|
273
|
+
"typeOf": "OwnershipInfo",
|
|
274
|
+
"typeOfGood": {
|
|
275
|
+
"project": {
|
|
276
|
+
"typeOf": "Project",
|
|
277
|
+
"id": "sskts-development"
|
|
278
|
+
},
|
|
279
|
+
"typeOf": "EventReservation",
|
|
280
|
+
"id": "35389-1",
|
|
281
|
+
"issuedThrough": {
|
|
282
|
+
"typeOf": "EventService",
|
|
283
|
+
"id": "",
|
|
284
|
+
"availableChannel": {
|
|
285
|
+
"typeOf": "ServiceChannel",
|
|
286
|
+
"serviceLocation": {
|
|
287
|
+
"typeOf": "ScreeningRoom",
|
|
288
|
+
"branchCode": "30",
|
|
289
|
+
"name": {
|
|
290
|
+
"ja": "シアター3",
|
|
291
|
+
"en": "THEATER3"
|
|
292
|
+
},
|
|
293
|
+
"containedInPlace": {
|
|
294
|
+
"typeOf": "MovieTheater",
|
|
295
|
+
"id": "5e9a6a7602536f0007a597bd",
|
|
296
|
+
"branchCode": "120",
|
|
297
|
+
"name": {
|
|
298
|
+
"ja": "シネマテスト",
|
|
299
|
+
"en": "CinemaTest120"
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"bookingTime": "2023-04-03T06:36:17.349Z",
|
|
306
|
+
"reservationFor": {
|
|
307
|
+
"typeOf": "ScreeningEvent",
|
|
308
|
+
"coaInfo": {
|
|
309
|
+
"theaterCode": "120",
|
|
310
|
+
"dateJouei": "20230403",
|
|
311
|
+
"titleCode": "99100",
|
|
312
|
+
"titleBranchNum": "0",
|
|
313
|
+
"timeBegin": "1720",
|
|
314
|
+
"timeEnd": "1906",
|
|
315
|
+
"screenCode": "30",
|
|
316
|
+
"trailerTime": 6,
|
|
317
|
+
"kbnService": {
|
|
318
|
+
"kubunCode": "000",
|
|
319
|
+
"kubunName": "通常",
|
|
320
|
+
"kubunNameEng": null,
|
|
321
|
+
"kubunAddPrice": 0
|
|
322
|
+
},
|
|
323
|
+
"kbnAcoustic": {
|
|
324
|
+
"kubunCode": "000",
|
|
325
|
+
"kubunName": "なし",
|
|
326
|
+
"kubunNameEng": null,
|
|
327
|
+
"kubunAddPrice": 0
|
|
328
|
+
},
|
|
329
|
+
"nameServiceDay": "",
|
|
330
|
+
"availableNum": 6,
|
|
331
|
+
"rsvStartDate": "20221226",
|
|
332
|
+
"rsvEndDate": "20230403",
|
|
333
|
+
"flgEarlyBooking": "0"
|
|
334
|
+
},
|
|
335
|
+
"endDate": "2023-04-03T10:06:00.000Z",
|
|
336
|
+
"identifier": "12099100020230403301720",
|
|
337
|
+
"location": {
|
|
338
|
+
"typeOf": "ScreeningRoom",
|
|
339
|
+
"branchCode": "30",
|
|
340
|
+
"name": {
|
|
341
|
+
"ja": "シアター3",
|
|
342
|
+
"en": "THEATER3"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
"name": {
|
|
346
|
+
"ja": "通常作品テスト",
|
|
347
|
+
"en": "TEST"
|
|
348
|
+
},
|
|
349
|
+
"startDate": "2023-04-03T08:20:00.000Z",
|
|
350
|
+
"superEvent": {
|
|
351
|
+
"typeOf": "ScreeningEventSeries",
|
|
352
|
+
"id": "120991000",
|
|
353
|
+
"identifier": "120991000",
|
|
354
|
+
"name": {
|
|
355
|
+
"ja": "通常作品テスト",
|
|
356
|
+
"en": "TEST"
|
|
357
|
+
},
|
|
358
|
+
"kanaName": "ツウジョウサクヒンテスト",
|
|
359
|
+
"alternativeHeadline": "通常作品テスト",
|
|
360
|
+
"location": {
|
|
361
|
+
"id": "5e9a6a7602536f0007a597bd",
|
|
362
|
+
"branchCode": "120",
|
|
363
|
+
"name": {
|
|
364
|
+
"ja": "シネマテスト",
|
|
365
|
+
"en": "CinemaTest120"
|
|
366
|
+
},
|
|
367
|
+
"kanaName": "シネマ120",
|
|
368
|
+
"typeOf": "MovieTheater"
|
|
369
|
+
},
|
|
370
|
+
"videoFormat": {
|
|
371
|
+
"kubunCode": "001",
|
|
372
|
+
"kubunName": "2D",
|
|
373
|
+
"kubunNameEng": null,
|
|
374
|
+
"kubunAddPrice": 0
|
|
375
|
+
},
|
|
376
|
+
"soundFormat": [],
|
|
377
|
+
"workPerformed": {
|
|
378
|
+
"id": "120-99100",
|
|
379
|
+
"identifier": "99100",
|
|
380
|
+
"name": {
|
|
381
|
+
"ja": "通常作品テスト"
|
|
382
|
+
},
|
|
383
|
+
"duration": "PT1H40M",
|
|
384
|
+
"typeOf": "Movie"
|
|
385
|
+
},
|
|
386
|
+
"duration": "PT1H40M",
|
|
387
|
+
"coaInfo": {
|
|
388
|
+
"titleBranchNum": "0",
|
|
389
|
+
"kbnEirin": {
|
|
390
|
+
"kubunCode": "000",
|
|
391
|
+
"kubunName": "なし",
|
|
392
|
+
"kubunNameEng": null,
|
|
393
|
+
"kubunAddPrice": 0
|
|
394
|
+
},
|
|
395
|
+
"kbnEizou": {
|
|
396
|
+
"kubunCode": "001",
|
|
397
|
+
"kubunName": "2D",
|
|
398
|
+
"kubunNameEng": null,
|
|
399
|
+
"kubunAddPrice": 0
|
|
400
|
+
},
|
|
401
|
+
"kbnJoueihousiki": {
|
|
402
|
+
"kubunCode": "000",
|
|
403
|
+
"kubunName": "通常",
|
|
404
|
+
"kubunNameEng": null,
|
|
405
|
+
"kubunAddPrice": 0
|
|
406
|
+
},
|
|
407
|
+
"kbnJimakufukikae": {
|
|
408
|
+
"kubunCode": "000",
|
|
409
|
+
"kubunName": "なし",
|
|
410
|
+
"kubunNameEng": null,
|
|
411
|
+
"kubunAddPrice": 0
|
|
412
|
+
},
|
|
413
|
+
"flgMvtkUse": "0",
|
|
414
|
+
"dateMvtkBegin": " "
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"id": "12099100020230403301720"
|
|
418
|
+
},
|
|
419
|
+
"reservationNumber": "35389",
|
|
420
|
+
"reservedTicket": {
|
|
421
|
+
"typeOf": "Ticket",
|
|
422
|
+
"coaTicketInfo": {
|
|
423
|
+
"ticketCode": "40",
|
|
424
|
+
"ticketName": "大学生",
|
|
425
|
+
"ticketNameEng": "",
|
|
426
|
+
"ticketNameKana": "",
|
|
427
|
+
"stdPrice": 1500,
|
|
428
|
+
"addPrice": 0,
|
|
429
|
+
"disPrice": 0,
|
|
430
|
+
"salesTicketSalePrice": 1500,
|
|
431
|
+
"spseatAdd1": 0,
|
|
432
|
+
"spseatAdd2": 0,
|
|
433
|
+
"spseatKbn": "000",
|
|
434
|
+
"addGlasses": 0,
|
|
435
|
+
"ticketCount": 1,
|
|
436
|
+
"seatNum": "p-23",
|
|
437
|
+
"mvtkAppPrice": 0,
|
|
438
|
+
"kbnEisyahousiki": "00",
|
|
439
|
+
"mvtkNum": "",
|
|
440
|
+
"mvtkKbnDenshiken": "00",
|
|
441
|
+
"mvtkKbnMaeuriken": "00",
|
|
442
|
+
"mvtkKbnKensyu": "00",
|
|
443
|
+
"mvtkSalesPrice": 0,
|
|
444
|
+
"kbnMgtk": "",
|
|
445
|
+
"limitUnit": "001",
|
|
446
|
+
"limitCount": 1,
|
|
447
|
+
"usePoint": 0,
|
|
448
|
+
"salePrice": 1500
|
|
449
|
+
},
|
|
450
|
+
"coaReserveAmount": 3300,
|
|
451
|
+
"dateIssued": "2023-04-03T06:36:17.349Z",
|
|
452
|
+
"ticketedSeat": {
|
|
453
|
+
"typeOf": "Seat",
|
|
454
|
+
"seatNumber": "p-23",
|
|
455
|
+
"seatRow": "",
|
|
456
|
+
"seatSection": " "
|
|
457
|
+
},
|
|
458
|
+
"ticketNumber": "1202023040300035389002",
|
|
459
|
+
"ticketToken": "1202023040300035389002",
|
|
460
|
+
"ticketType": {
|
|
461
|
+
"typeOf": "Offer",
|
|
462
|
+
"id": "7iri35ckkgecdj4",
|
|
463
|
+
"identifier": "COA-120-40",
|
|
464
|
+
"name": {
|
|
465
|
+
"ja": "大学生",
|
|
466
|
+
"en": ""
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
"bookingService": {
|
|
471
|
+
"typeOf": "WebAPI",
|
|
472
|
+
"identifier": "COA"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
"ownedFrom": "2023-04-03T06:36:32.366Z",
|
|
476
|
+
"ownedThrough": "2023-04-03T10:06:00.000Z"
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
/**
|
|
480
|
+
* 所有メンバーシップ
|
|
481
|
+
*/
|
|
482
|
+
"memberships": [
|
|
483
|
+
{
|
|
484
|
+
"typeOf": "OwnershipInfo",
|
|
485
|
+
"typeOfGood": {
|
|
486
|
+
"identifier": "791847452956279"
|
|
487
|
+
},
|
|
488
|
+
/**
|
|
489
|
+
* メンバーシップ有効期間(from)
|
|
490
|
+
*/
|
|
491
|
+
"ownedFrom": "2023-04-03T06:35:19.295Z",
|
|
492
|
+
/**
|
|
493
|
+
* メンバーシップ有効期間(through)
|
|
494
|
+
*/
|
|
495
|
+
"ownedThrough": "2023-04-03T07:05:19.295Z"
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
/**
|
|
499
|
+
* 所有ポイントカード
|
|
500
|
+
*/
|
|
501
|
+
"paymentCards": [
|
|
502
|
+
{
|
|
503
|
+
"typeOf": "OwnershipInfo",
|
|
504
|
+
"typeOfGood": {
|
|
505
|
+
/**
|
|
506
|
+
* ポイント残高
|
|
507
|
+
*/
|
|
508
|
+
"balance": 2,
|
|
509
|
+
/**
|
|
510
|
+
* ポイントカード番号
|
|
511
|
+
*/
|
|
512
|
+
"identifier": "139045419054583"
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
]
|
|
516
|
+
}
|
|
517
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const factory = require('../lib/index');
|
|
2
|
+
|
|
3
|
+
let error = factory.errors.ServiceUnavailable('message');
|
|
4
|
+
console.log('ServiceUnavailable?', error instanceof factory.errors.ServiceUnavailable);
|
|
5
|
+
console.log('GatewayTimeout?', error instanceof factory.errors.GatewayTimeout);
|
|
6
|
+
|
|
7
|
+
error = factory.errors.GatewayTimeout('message');
|
|
8
|
+
console.log('ServiceUnavailable?', error instanceof factory.errors.ServiceUnavailable);
|
|
9
|
+
console.log('GatewayTimeout?', error instanceof factory.errors.GatewayTimeout);
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { AccountType } from '../../accountType';
|
|
2
|
+
import * as ActionFactory from '../../action';
|
|
3
|
+
import { ActionType } from '../../actionType';
|
|
4
|
+
import { IMonetaryAmount } from '../../monetaryAmount';
|
|
5
|
+
import { AccountTransactionType } from '../transactionType';
|
|
6
|
+
export type IAgent = Pick<ActionFactory.IParticipant, 'name' | 'typeOf'>;
|
|
7
|
+
export type IRecipient = Pick<ActionFactory.IParticipant, 'name' | 'typeOf'>;
|
|
8
|
+
/**
|
|
9
|
+
* 口座以外の匿名ロケーション
|
|
10
|
+
*/
|
|
11
|
+
export interface IAnonymousLocation {
|
|
12
|
+
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* ロケーションタイプ
|
|
15
|
+
*/
|
|
16
|
+
typeOf: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* 口座
|
|
20
|
+
*/
|
|
21
|
+
export interface IAccount {
|
|
22
|
+
typeOf: AccountType.Account;
|
|
23
|
+
/**
|
|
24
|
+
* 通貨
|
|
25
|
+
* 不要なので廃止(2023-02-16~)
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* 口座番号
|
|
29
|
+
*/
|
|
30
|
+
accountNumber: string;
|
|
31
|
+
/**
|
|
32
|
+
* 口座名義
|
|
33
|
+
*/
|
|
34
|
+
name?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* 転送元あるいは転送先
|
|
38
|
+
*/
|
|
39
|
+
export type ILocation = IAnonymousLocation | IAccount;
|
|
40
|
+
/**
|
|
41
|
+
* アクションの目的
|
|
42
|
+
* ここでは、取引が目的となる
|
|
43
|
+
*/
|
|
44
|
+
export interface IPurpose {
|
|
45
|
+
/**
|
|
46
|
+
* 取引タイプ
|
|
47
|
+
*/
|
|
48
|
+
typeOf: AccountTransactionType;
|
|
49
|
+
/**
|
|
50
|
+
* 取引ID
|
|
51
|
+
*/
|
|
52
|
+
id: string;
|
|
53
|
+
/**
|
|
54
|
+
* 取引番号
|
|
55
|
+
*/
|
|
56
|
+
transactionNumber: string;
|
|
57
|
+
}
|
|
58
|
+
export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'value'>;
|
|
59
|
+
export interface IAttributes extends Pick<ActionFactory.IAttributes<ActionType.MoneyTransfer, never, never>, 'project' | 'description'> {
|
|
60
|
+
agent: IAgent;
|
|
61
|
+
recipient?: IRecipient;
|
|
62
|
+
typeOf: ActionType.MoneyTransfer;
|
|
63
|
+
/**
|
|
64
|
+
* どんな取引によって発生した転送アクションか
|
|
65
|
+
*/
|
|
66
|
+
purpose: IPurpose;
|
|
67
|
+
/**
|
|
68
|
+
* 金額
|
|
69
|
+
*/
|
|
70
|
+
amount: IAmount;
|
|
71
|
+
/**
|
|
72
|
+
* 転送元
|
|
73
|
+
*/
|
|
74
|
+
fromLocation: ILocation;
|
|
75
|
+
/**
|
|
76
|
+
* 転送先
|
|
77
|
+
*/
|
|
78
|
+
toLocation: ILocation;
|
|
79
|
+
}
|
|
80
|
+
export type IAction = Pick<ActionFactory.IAction<Omit<IAttributes, 'agent' | 'recipient'> & {
|
|
81
|
+
agent: ActionFactory.IParticipant;
|
|
82
|
+
object: never;
|
|
83
|
+
}>, 'actionStatus' | 'amount' | 'description' | 'endDate' | 'fromLocation' | 'project' | 'purpose' | 'startDate' | 'toLocation' | 'typeOf' | 'id'> & {
|
|
84
|
+
agent: IAgent;
|
|
85
|
+
recipient?: IRecipient;
|
|
86
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IExtendId } from '../../autoGenerated';
|
|
2
|
+
import { IAccount } from '../action/moneyTransfer';
|
|
3
|
+
import * as TransactionFactory from '../transaction';
|
|
4
|
+
import { AccountTransactionType } from '../transactionType';
|
|
5
|
+
export type IStartParamsWithoutDetail = TransactionFactory.IStartParams<AccountTransactionType.Deposit, IObjectWithoutDetail>;
|
|
6
|
+
/**
|
|
7
|
+
* 取引開始パラメーター
|
|
8
|
+
*/
|
|
9
|
+
export type IStartParams = TransactionFactory.IStartParams<AccountTransactionType.Deposit, IObject>;
|
|
10
|
+
export interface IObjectWithoutDetail extends TransactionFactory.IObjectWithoutDetail {
|
|
11
|
+
toLocation: TransactionFactory.ISimpleAccount;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 取引対象物
|
|
15
|
+
*/
|
|
16
|
+
export interface IObject extends TransactionFactory.IObject {
|
|
17
|
+
/**
|
|
18
|
+
* 入金先
|
|
19
|
+
*/
|
|
20
|
+
toLocation: Pick<IAccount, 'accountNumber' | 'name' | 'typeOf'>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 入金取引属性
|
|
24
|
+
*/
|
|
25
|
+
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams> {
|
|
26
|
+
}
|
|
27
|
+
export type ITransaction = IExtendId<IAttributes>;
|