@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
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
import * as COA from '@motionpicture/coa-service';
|
|
2
|
-
import * as EventFactory from '../event';
|
|
3
|
-
import * as ScreeningEventSeriesFactory from '../event/screeningEventSeries';
|
|
4
|
-
import EventType from '../eventType';
|
|
5
|
-
import IMultilingualString from '../multilingualString';
|
|
6
|
-
import * as OfferFactory from '../offer';
|
|
7
|
-
import OfferType from '../offerType';
|
|
8
|
-
import PlaceType from '../placeType';
|
|
9
|
-
import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
|
|
10
|
-
import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
|
|
11
|
-
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../priceSpecification/movieTicketTypeChargeSpecification';
|
|
12
|
-
import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecification/unitPriceSpecification';
|
|
13
|
-
import { IProject } from '../project';
|
|
14
|
-
import { IPropertyValue } from '../propertyValue';
|
|
15
|
-
import { IQuantitativeValue } from '../quantitativeValue';
|
|
16
|
-
import * as ReservationFactory from '../reservation';
|
|
17
|
-
import ReservationType from '../reservationType';
|
|
18
|
-
import { IServiceType } from '../serviceType';
|
|
19
|
-
import { UnitCode } from '../unitCode';
|
|
20
|
-
/**
|
|
21
|
-
* 予約集計インターフェース
|
|
22
|
-
*/
|
|
23
|
-
export interface IAggregateReservation {
|
|
24
|
-
typeOf: 'AggregateReservation';
|
|
25
|
-
aggregateDate: Date;
|
|
26
|
-
checkInCount?: number;
|
|
27
|
-
attendeeCount?: number;
|
|
28
|
-
reservationCount?: number;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* 予約集計つきオファーインターフェース
|
|
32
|
-
*/
|
|
33
|
-
export interface IOfferWithAggregateReservation {
|
|
34
|
-
typeOf: OfferType.Offer;
|
|
35
|
-
id?: string;
|
|
36
|
-
identifier?: string;
|
|
37
|
-
aggregateReservation?: IAggregateReservation;
|
|
38
|
-
maximumAttendeeCapacity?: number;
|
|
39
|
-
remainingAttendeeCapacity?: number;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* オファー集計インターフェース
|
|
43
|
-
*/
|
|
44
|
-
export interface IAggregateOffer {
|
|
45
|
-
typeOf: OfferType.AggregateOffer;
|
|
46
|
-
offerCount?: number;
|
|
47
|
-
offers?: IOfferWithAggregateReservation[];
|
|
48
|
-
}
|
|
49
|
-
export interface IServiceOutput {
|
|
50
|
-
typeOf: ReservationType;
|
|
51
|
-
reservedTicket?: {
|
|
52
|
-
typeOf: ReservationFactory.TicketType;
|
|
53
|
-
/**
|
|
54
|
-
* チケットに割り当てられる座席
|
|
55
|
-
* 指定席でない場合、存在しない
|
|
56
|
-
*/
|
|
57
|
-
ticketedSeat?: {
|
|
58
|
-
typeOf: PlaceType.Seat;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* イベントのサービスインターフェース
|
|
64
|
-
*/
|
|
65
|
-
export interface IService {
|
|
66
|
-
/**
|
|
67
|
-
* 興行区分
|
|
68
|
-
*/
|
|
69
|
-
serviceType?: IServiceType;
|
|
70
|
-
/**
|
|
71
|
-
* サービスアウトプット
|
|
72
|
-
*/
|
|
73
|
-
serviceOutput?: IServiceOutput;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* 上映イベントに対するオファーインターフェース
|
|
77
|
-
*/
|
|
78
|
-
export interface IOffer extends OfferFactory.IOffer {
|
|
79
|
-
/**
|
|
80
|
-
* オファー(券種)グループID
|
|
81
|
-
*/
|
|
82
|
-
id: string;
|
|
83
|
-
identifier?: any;
|
|
84
|
-
name: IMultilingualString;
|
|
85
|
-
/**
|
|
86
|
-
* 情報提供終了日時
|
|
87
|
-
*/
|
|
88
|
-
availabilityEnds: Date;
|
|
89
|
-
/**
|
|
90
|
-
* 情報提供開始日時
|
|
91
|
-
*/
|
|
92
|
-
availabilityStarts: Date;
|
|
93
|
-
eligibleQuantity: IQuantitativeValue<UnitCode.C62>;
|
|
94
|
-
itemOffered: IService;
|
|
95
|
-
/**
|
|
96
|
-
* 販売可能期間from
|
|
97
|
-
*/
|
|
98
|
-
validFrom: Date;
|
|
99
|
-
/**
|
|
100
|
-
* 販売可能期間through
|
|
101
|
-
*/
|
|
102
|
-
validThrough: Date;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* 上映イベントに対して有効なチケット価格仕様要素インターフェース
|
|
106
|
-
*/
|
|
107
|
-
export declare type ITicketPriceComponent = ICategoryCodeChargeSpecification | IMovieTicketTypeChargeSpecification | IUnitPriceSpecification;
|
|
108
|
-
/**
|
|
109
|
-
* 上映イベントに対して有効なチケット価格仕様インターフェース
|
|
110
|
-
*/
|
|
111
|
-
export declare type ITicketPriceSpecification = ICompoundPriceSpecification<ITicketPriceComponent>;
|
|
112
|
-
/**
|
|
113
|
-
* チケットオファーインターフェース
|
|
114
|
-
*/
|
|
115
|
-
export interface ITicketOffer extends IOffer {
|
|
116
|
-
id: string;
|
|
117
|
-
identifier: string;
|
|
118
|
-
name: IMultilingualString;
|
|
119
|
-
priceSpecification: ITicketPriceSpecification;
|
|
120
|
-
}
|
|
121
|
-
export interface IAcceptedAddOn {
|
|
122
|
-
/**
|
|
123
|
-
* アドオンID
|
|
124
|
-
*/
|
|
125
|
-
id?: string;
|
|
126
|
-
}
|
|
127
|
-
export interface IAcceptedSubReservation {
|
|
128
|
-
reservedTicket?: {
|
|
129
|
-
typeOf: ReservationFactory.TicketType;
|
|
130
|
-
/**
|
|
131
|
-
* 予約座席指定
|
|
132
|
-
*/
|
|
133
|
-
ticketedSeat?: ReservationFactory.ISeat;
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* 受け入れられたチケットオファー(詳細なし)
|
|
138
|
-
*/
|
|
139
|
-
export interface IAcceptedTicketOfferWithoutDetail {
|
|
140
|
-
/**
|
|
141
|
-
* オファーID
|
|
142
|
-
* チケットオファー検索結果から選択されたもの
|
|
143
|
-
*/
|
|
144
|
-
id: string;
|
|
145
|
-
itemOffered?: {
|
|
146
|
-
serviceOutput?: {
|
|
147
|
-
typeOf: ReservationType;
|
|
148
|
-
/**
|
|
149
|
-
* 追加特性
|
|
150
|
-
*/
|
|
151
|
-
additionalProperty?: IPropertyValue<string>[];
|
|
152
|
-
/**
|
|
153
|
-
* 予約追加テキスト
|
|
154
|
-
*/
|
|
155
|
-
additionalTicketText?: string;
|
|
156
|
-
reservedTicket?: {
|
|
157
|
-
typeOf: ReservationFactory.TicketType;
|
|
158
|
-
/**
|
|
159
|
-
* 予約座席指定
|
|
160
|
-
* 指定席イベントの場合、座席を指定
|
|
161
|
-
* 自由席イベントの場合、あるいは、最大収容人数がないイベントの場合は、座席指定不要
|
|
162
|
-
*/
|
|
163
|
-
ticketedSeat?: ReservationFactory.ISeat;
|
|
164
|
-
};
|
|
165
|
-
subReservation?: IAcceptedSubReservation[];
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* 受け入れるアドオン
|
|
170
|
-
*/
|
|
171
|
-
addOn?: IAcceptedAddOn[];
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* 受け入れられたチケットオファー
|
|
175
|
-
*/
|
|
176
|
-
export declare type IAcceptedTicketOffer = IAcceptedTicketOfferWithoutDetail & ITicketOffer;
|
|
177
|
-
export interface ICOAInfo {
|
|
178
|
-
theaterCode: string;
|
|
179
|
-
dateJouei: string;
|
|
180
|
-
titleCode: string;
|
|
181
|
-
titleBranchNum: string;
|
|
182
|
-
timeBegin: string;
|
|
183
|
-
timeEnd: string;
|
|
184
|
-
screenCode: string;
|
|
185
|
-
/**
|
|
186
|
-
* トレーラー時間
|
|
187
|
-
* トレーラー含む本編以外の時間(分)
|
|
188
|
-
*/
|
|
189
|
-
trailerTime: number;
|
|
190
|
-
/**
|
|
191
|
-
* サービス区分
|
|
192
|
-
* 「通常興行」「レイトショー」など
|
|
193
|
-
*/
|
|
194
|
-
kbnService?: COA.services.master.IKubunNameResult;
|
|
195
|
-
/**
|
|
196
|
-
* 音響区分
|
|
197
|
-
*/
|
|
198
|
-
kbnAcoustic?: COA.services.master.IKubunNameResult;
|
|
199
|
-
/**
|
|
200
|
-
* サービスデイ名称
|
|
201
|
-
* 「映画の日」「レディースデイ」など ※割引区分、割引コード、特定日等の組み合わせで登録するため名称で連携の方が容易
|
|
202
|
-
*/
|
|
203
|
-
nameServiceDay: string;
|
|
204
|
-
/**
|
|
205
|
-
* 購入可能枚数
|
|
206
|
-
*/
|
|
207
|
-
availableNum: number;
|
|
208
|
-
/**
|
|
209
|
-
* 予約開始日
|
|
210
|
-
* 予約可能になる日付(YYYYMMDD)
|
|
211
|
-
*/
|
|
212
|
-
rsvStartDate: string;
|
|
213
|
-
/**
|
|
214
|
-
* 予約終了日
|
|
215
|
-
* 予約終了になる日付(YYYYMMDD)
|
|
216
|
-
*/
|
|
217
|
-
rsvEndDate: string;
|
|
218
|
-
/**
|
|
219
|
-
* 先行予約フラグ
|
|
220
|
-
* 先行予約の場合は'1'、それ以外は'0'
|
|
221
|
-
*/
|
|
222
|
-
flgEarlyBooking: string;
|
|
223
|
-
}
|
|
224
|
-
/**
|
|
225
|
-
* 上映イベント属性インターフェース
|
|
226
|
-
*/
|
|
227
|
-
export interface IAttributes extends EventFactory.IAttributes<EventType.ScreeningEvent> {
|
|
228
|
-
/**
|
|
229
|
-
* 上映作品
|
|
230
|
-
*/
|
|
231
|
-
workPerformed?: ScreeningEventSeriesFactory.IWorkPerformed;
|
|
232
|
-
/**
|
|
233
|
-
* 上映場所
|
|
234
|
-
*/
|
|
235
|
-
location: {
|
|
236
|
-
project: IProject;
|
|
237
|
-
/**
|
|
238
|
-
* 場所タイプ
|
|
239
|
-
*/
|
|
240
|
-
typeOf: PlaceType.ScreeningRoom;
|
|
241
|
-
/**
|
|
242
|
-
* 場所枝番号
|
|
243
|
-
* スクリーンコードに該当します。
|
|
244
|
-
*/
|
|
245
|
-
branchCode: string;
|
|
246
|
-
/**
|
|
247
|
-
* 場所名称
|
|
248
|
-
*/
|
|
249
|
-
name?: IMultilingualString;
|
|
250
|
-
alternateName?: IMultilingualString;
|
|
251
|
-
description?: IMultilingualString;
|
|
252
|
-
address?: IMultilingualString;
|
|
253
|
-
};
|
|
254
|
-
/**
|
|
255
|
-
* イベント名称
|
|
256
|
-
*/
|
|
257
|
-
name: IMultilingualString;
|
|
258
|
-
/**
|
|
259
|
-
* 開場日時
|
|
260
|
-
* ISO 8601 date format
|
|
261
|
-
*/
|
|
262
|
-
doorTime?: Date;
|
|
263
|
-
/**
|
|
264
|
-
* 終了日時(
|
|
265
|
-
* ISO 8601 date format
|
|
266
|
-
*/
|
|
267
|
-
endDate: Date;
|
|
268
|
-
/**
|
|
269
|
-
* 開始日時
|
|
270
|
-
* ISO 8601 date format
|
|
271
|
-
*/
|
|
272
|
-
startDate: Date;
|
|
273
|
-
/**
|
|
274
|
-
* 親イベント
|
|
275
|
-
* 劇場作品に相当
|
|
276
|
-
*/
|
|
277
|
-
superEvent: ScreeningEventSeriesFactory.IEvent;
|
|
278
|
-
/**
|
|
279
|
-
* 販売情報
|
|
280
|
-
*/
|
|
281
|
-
offers?: IOffer;
|
|
282
|
-
/**
|
|
283
|
-
* 発券数
|
|
284
|
-
*/
|
|
285
|
-
checkInCount?: Number;
|
|
286
|
-
/**
|
|
287
|
-
* 参加数
|
|
288
|
-
*/
|
|
289
|
-
attendeeCount?: Number;
|
|
290
|
-
/**
|
|
291
|
-
* 予約集計
|
|
292
|
-
*/
|
|
293
|
-
aggregateReservation?: IAggregateReservation;
|
|
294
|
-
/**
|
|
295
|
-
* オファー集計
|
|
296
|
-
*/
|
|
297
|
-
aggregateOffer?: IAggregateOffer;
|
|
298
|
-
/**
|
|
299
|
-
* その他COA情報
|
|
300
|
-
* @deprecated 基本的にCinemaSunshineの互換性維持目的であり、そのうち廃止予定
|
|
301
|
-
*/
|
|
302
|
-
coaInfo?: ICOAInfo;
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* 上映イベントインターフェース
|
|
306
|
-
*/
|
|
307
|
-
export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
308
|
-
/**
|
|
309
|
-
* ソート条件インターフェース
|
|
310
|
-
*/
|
|
311
|
-
export declare type ISortOrder = EventFactory.ISortOrder;
|
|
312
|
-
export interface IOfferSearchConditions {
|
|
313
|
-
ids?: string[];
|
|
314
|
-
availableFrom?: Date;
|
|
315
|
-
availableThrough?: Date;
|
|
316
|
-
validFrom?: Date;
|
|
317
|
-
validThrough?: Date;
|
|
318
|
-
itemOffered?: {
|
|
319
|
-
serviceType?: {
|
|
320
|
-
ids?: string[];
|
|
321
|
-
};
|
|
322
|
-
serviceOutput?: {
|
|
323
|
-
reservedTicket?: {
|
|
324
|
-
ticketedSeat?: {
|
|
325
|
-
typeOfs?: string[];
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
};
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
/**
|
|
332
|
-
* 上映イベントの検索条件インターフェース
|
|
333
|
-
*/
|
|
334
|
-
export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.ScreeningEvent> {
|
|
335
|
-
/**
|
|
336
|
-
* 販売情報
|
|
337
|
-
*/
|
|
338
|
-
offers?: IOfferSearchConditions;
|
|
339
|
-
}
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import * as COA from '@motionpicture/coa-service';
|
|
2
|
-
import { ICreativeWork as IMovie } from '../creativeWork/movie';
|
|
3
|
-
import * as EventFactory from '../event';
|
|
4
|
-
import EventType from '../eventType';
|
|
5
|
-
import { ILanguage } from '../language';
|
|
6
|
-
import IMultilingualString from '../multilingualString';
|
|
7
|
-
import * as OfferFactory from '../offer';
|
|
8
|
-
import OrganizationType from '../organizationType';
|
|
9
|
-
import PlaceType from '../placeType';
|
|
10
|
-
import { IProject } from '../project';
|
|
11
|
-
/**
|
|
12
|
-
* 上映イベントシリーズに対するオファーインターフェース
|
|
13
|
-
*/
|
|
14
|
-
export interface IOffer extends OfferFactory.IOffer {
|
|
15
|
-
}
|
|
16
|
-
export interface IVideoFormat {
|
|
17
|
-
typeOf: string;
|
|
18
|
-
name: string;
|
|
19
|
-
}
|
|
20
|
-
export interface ISoundFormat {
|
|
21
|
-
typeOf: string;
|
|
22
|
-
name: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 上映作品インターフェース
|
|
26
|
-
*/
|
|
27
|
-
export declare type IWorkPerformed = IMovie;
|
|
28
|
-
export interface IOrganizer {
|
|
29
|
-
typeOf: OrganizationType;
|
|
30
|
-
identifier: string;
|
|
31
|
-
name: IMultilingualString;
|
|
32
|
-
}
|
|
33
|
-
export interface ICOAInfo {
|
|
34
|
-
titleBranchNum: string;
|
|
35
|
-
/**
|
|
36
|
-
* 映倫区分
|
|
37
|
-
*/
|
|
38
|
-
kbnEirin?: COA.services.master.IKubunNameResult;
|
|
39
|
-
/**
|
|
40
|
-
* 映像区分
|
|
41
|
-
* 2D、3D
|
|
42
|
-
*/
|
|
43
|
-
kbnEizou?: COA.services.master.IKubunNameResult;
|
|
44
|
-
/**
|
|
45
|
-
* 上映方式区分(IMAX,4DX等)
|
|
46
|
-
*/
|
|
47
|
-
kbnJoueihousiki?: COA.services.master.IKubunNameResult;
|
|
48
|
-
/**
|
|
49
|
-
* 字幕吹替区分(字幕、吹き替え)
|
|
50
|
-
*/
|
|
51
|
-
kbnJimakufukikae?: COA.services.master.IKubunNameResult;
|
|
52
|
-
/**
|
|
53
|
-
* ムビチケ使用フラグ
|
|
54
|
-
* 1:ムビチケ使用対象
|
|
55
|
-
*/
|
|
56
|
-
flgMvtkUse: string;
|
|
57
|
-
/**
|
|
58
|
-
* ムビチケ利用開始日
|
|
59
|
-
* ※日付は西暦8桁 "YYYYMMDD"
|
|
60
|
-
*/
|
|
61
|
-
dateMvtkBegin: string;
|
|
62
|
-
}
|
|
63
|
-
export interface IAttributes extends EventFactory.IAttributes<EventType.ScreeningEventSeries> {
|
|
64
|
-
/**
|
|
65
|
-
* 字幕利用可能言語
|
|
66
|
-
*/
|
|
67
|
-
subtitleLanguage?: ILanguage;
|
|
68
|
-
/**
|
|
69
|
-
* 吹替利用可能言語
|
|
70
|
-
*/
|
|
71
|
-
dubLanguage?: ILanguage;
|
|
72
|
-
/**
|
|
73
|
-
* 上映方式
|
|
74
|
-
*/
|
|
75
|
-
videoFormat: IVideoFormat[] | COA.services.master.IKubunNameResult;
|
|
76
|
-
/**
|
|
77
|
-
* 音響方式
|
|
78
|
-
*/
|
|
79
|
-
soundFormat: ISoundFormat[];
|
|
80
|
-
/**
|
|
81
|
-
* 上映作品
|
|
82
|
-
*/
|
|
83
|
-
workPerformed: IWorkPerformed;
|
|
84
|
-
/**
|
|
85
|
-
* 上映場所
|
|
86
|
-
*/
|
|
87
|
-
location: {
|
|
88
|
-
project: IProject;
|
|
89
|
-
/**
|
|
90
|
-
* スキーマタイプ
|
|
91
|
-
*/
|
|
92
|
-
typeOf: PlaceType.MovieTheater;
|
|
93
|
-
/**
|
|
94
|
-
* 場所ID
|
|
95
|
-
*/
|
|
96
|
-
id: string;
|
|
97
|
-
/**
|
|
98
|
-
* 劇場コード
|
|
99
|
-
*/
|
|
100
|
-
branchCode: string;
|
|
101
|
-
/**
|
|
102
|
-
* 場所名称
|
|
103
|
-
*/
|
|
104
|
-
name?: IMultilingualString;
|
|
105
|
-
/**
|
|
106
|
-
* 場所名称(カナ)
|
|
107
|
-
*/
|
|
108
|
-
kanaName?: string;
|
|
109
|
-
alternateName?: IMultilingualString;
|
|
110
|
-
description?: IMultilingualString;
|
|
111
|
-
address?: IMultilingualString;
|
|
112
|
-
};
|
|
113
|
-
organizer?: IOrganizer;
|
|
114
|
-
/**
|
|
115
|
-
* 作品タイトル名(カナ)
|
|
116
|
-
*/
|
|
117
|
-
kanaName: string;
|
|
118
|
-
/**
|
|
119
|
-
* イベント名称
|
|
120
|
-
*/
|
|
121
|
-
name: IMultilingualString;
|
|
122
|
-
/**
|
|
123
|
-
* 公演終了予定日
|
|
124
|
-
* ISO 8601 date format
|
|
125
|
-
*/
|
|
126
|
-
endDate?: Date;
|
|
127
|
-
/**
|
|
128
|
-
* 公演開始予定日
|
|
129
|
-
* ISO 8601 date format
|
|
130
|
-
*/
|
|
131
|
-
startDate?: Date;
|
|
132
|
-
/**
|
|
133
|
-
* 販売情報
|
|
134
|
-
*/
|
|
135
|
-
offers?: IOffer;
|
|
136
|
-
/**
|
|
137
|
-
* その他COA情報
|
|
138
|
-
* @deprecated 基本的にCinemaSunshineの互換性維持目的であり、そのうち廃止予定
|
|
139
|
-
*/
|
|
140
|
-
coaInfo?: ICOAInfo;
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* 上映イベントインターフェース
|
|
144
|
-
* 劇場作品に相当
|
|
145
|
-
*/
|
|
146
|
-
export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
147
|
-
/**
|
|
148
|
-
* ソート条件インターフェース
|
|
149
|
-
*/
|
|
150
|
-
export declare type ISortOrder = EventFactory.ISortOrder;
|
|
151
|
-
/**
|
|
152
|
-
* 上映イベントの検索条件インターフェース
|
|
153
|
-
*/
|
|
154
|
-
export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.ScreeningEventSeries> {
|
|
155
|
-
sort?: ISortOrder;
|
|
156
|
-
workPerformed?: {
|
|
157
|
-
/**
|
|
158
|
-
* イベントで上演される作品識別子リスト
|
|
159
|
-
*/
|
|
160
|
-
identifiers?: string[];
|
|
161
|
-
};
|
|
162
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import IMultilingualString from '../multilingualString';
|
|
2
|
-
import { IOffer as IBaseOffer } from '../offer';
|
|
3
|
-
import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecification/unitPriceSpecification';
|
|
4
|
-
import { IProject } from '../project';
|
|
5
|
-
import { IPropertyValue } from '../propertyValue';
|
|
6
|
-
import SortType from '../sortType';
|
|
7
|
-
export interface IPriceSpecification extends IUnitPriceSpecification {
|
|
8
|
-
}
|
|
9
|
-
export interface IItemOffered {
|
|
10
|
-
typeOf: 'Product';
|
|
11
|
-
name?: IMultilingualString;
|
|
12
|
-
description?: IMultilingualString;
|
|
13
|
-
additionalProperty?: IPropertyValue<string>[];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* プロダクトオファーインターフェース
|
|
17
|
-
*/
|
|
18
|
-
export interface IOffer extends IBaseOffer {
|
|
19
|
-
project: IProject;
|
|
20
|
-
identifier: string;
|
|
21
|
-
/**
|
|
22
|
-
* 単価仕様
|
|
23
|
-
*/
|
|
24
|
-
priceSpecification?: IPriceSpecification;
|
|
25
|
-
itemOffered: IItemOffered;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* ソート条件インターフェース
|
|
29
|
-
*/
|
|
30
|
-
export interface ISortOrder {
|
|
31
|
-
'priceSpecification.price'?: SortType;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* 価格仕様検索条件インターフェース
|
|
35
|
-
*/
|
|
36
|
-
export interface IPriceSpecificationSearchConditions {
|
|
37
|
-
minPrice?: number;
|
|
38
|
-
maxPrice?: number;
|
|
39
|
-
referenceQuantity?: {
|
|
40
|
-
value?: number;
|
|
41
|
-
};
|
|
42
|
-
accounting?: {
|
|
43
|
-
minAccountsReceivable?: number;
|
|
44
|
-
maxAccountsReceivable?: number;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* 検索条件インターフェース
|
|
49
|
-
*/
|
|
50
|
-
export interface ISearchConditions {
|
|
51
|
-
limit?: number;
|
|
52
|
-
page?: number;
|
|
53
|
-
sort?: ISortOrder;
|
|
54
|
-
project?: {
|
|
55
|
-
ids?: string[];
|
|
56
|
-
};
|
|
57
|
-
id?: string;
|
|
58
|
-
ids?: string[];
|
|
59
|
-
identifier?: string;
|
|
60
|
-
identifiers?: string[];
|
|
61
|
-
name?: string;
|
|
62
|
-
priceSpecification?: IPriceSpecificationSearchConditions;
|
|
63
|
-
category?: {
|
|
64
|
-
ids?: string[];
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import IMultilingualString from './multilingualString';
|
|
2
|
-
import OfferType from './offerType';
|
|
3
|
-
import { IProject } from './project';
|
|
4
|
-
import { IPropertyValue } from './propertyValue';
|
|
5
|
-
import { IServiceType } from './serviceType';
|
|
6
|
-
import SortType from './sortType';
|
|
7
|
-
import { IThing } from './thing';
|
|
8
|
-
export interface IItemOffered {
|
|
9
|
-
typeOf: string;
|
|
10
|
-
serviceType?: IServiceType;
|
|
11
|
-
}
|
|
12
|
-
export interface IItemListElement {
|
|
13
|
-
typeOf: OfferType;
|
|
14
|
-
id: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* オファーカタログインターフェース
|
|
18
|
-
*/
|
|
19
|
-
export interface IOfferCatalog extends IThing {
|
|
20
|
-
project: IProject;
|
|
21
|
-
id?: string;
|
|
22
|
-
identifier: string;
|
|
23
|
-
name: IMultilingualString;
|
|
24
|
-
itemListElement: IItemListElement[];
|
|
25
|
-
itemOffered: IItemOffered;
|
|
26
|
-
additionalProperty?: IPropertyValue<string>[];
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* ソート条件インターフェース
|
|
30
|
-
*/
|
|
31
|
-
export interface ISortOrder {
|
|
32
|
-
identifier?: SortType;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* オファーカタログ検索条件インターフェース
|
|
36
|
-
*/
|
|
37
|
-
export interface ISearchConditions {
|
|
38
|
-
limit?: number;
|
|
39
|
-
page?: number;
|
|
40
|
-
sort?: ISortOrder;
|
|
41
|
-
project?: {
|
|
42
|
-
id?: {
|
|
43
|
-
$eq?: string;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
id?: string;
|
|
47
|
-
identifier?: string | {
|
|
48
|
-
$eq?: string;
|
|
49
|
-
};
|
|
50
|
-
name?: string;
|
|
51
|
-
itemListElement?: {
|
|
52
|
-
id?: {
|
|
53
|
-
$in?: string[];
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
itemOffered?: {
|
|
57
|
-
typeOf?: {
|
|
58
|
-
$eq?: string;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* 組織タイプ
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
var OrganizationType;
|
|
7
|
-
(function (OrganizationType) {
|
|
8
|
-
OrganizationType["Corporation"] = "Corporation";
|
|
9
|
-
OrganizationType["MovieTheater"] = "MovieTheater";
|
|
10
|
-
})(OrganizationType || (OrganizationType = {}));
|
|
11
|
-
exports.default = OrganizationType;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 決済方法タイプ
|
|
3
|
-
*/
|
|
4
|
-
export declare enum PaymentMethodType {
|
|
5
|
-
/**
|
|
6
|
-
* 現金
|
|
7
|
-
*/
|
|
8
|
-
Cash = "Cash",
|
|
9
|
-
/**
|
|
10
|
-
* 内部口座決済
|
|
11
|
-
*/
|
|
12
|
-
Account = "Account",
|
|
13
|
-
/**
|
|
14
|
-
* 電子マネー
|
|
15
|
-
*/
|
|
16
|
-
EMoney = "EMoney",
|
|
17
|
-
/**
|
|
18
|
-
* クレジットカード決済
|
|
19
|
-
*/
|
|
20
|
-
CreditCard = "CreditCard",
|
|
21
|
-
/**
|
|
22
|
-
* ムビチケ
|
|
23
|
-
*/
|
|
24
|
-
MovieTicket = "MovieTicket",
|
|
25
|
-
/**
|
|
26
|
-
* その他
|
|
27
|
-
*/
|
|
28
|
-
Others = "Others"
|
|
29
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
/**
|
|
4
|
-
* 決済方法タイプ
|
|
5
|
-
*/
|
|
6
|
-
var PaymentMethodType;
|
|
7
|
-
(function (PaymentMethodType) {
|
|
8
|
-
/**
|
|
9
|
-
* 現金
|
|
10
|
-
*/
|
|
11
|
-
PaymentMethodType["Cash"] = "Cash";
|
|
12
|
-
/**
|
|
13
|
-
* 内部口座決済
|
|
14
|
-
*/
|
|
15
|
-
PaymentMethodType["Account"] = "Account";
|
|
16
|
-
/**
|
|
17
|
-
* 電子マネー
|
|
18
|
-
*/
|
|
19
|
-
PaymentMethodType["EMoney"] = "EMoney";
|
|
20
|
-
/**
|
|
21
|
-
* クレジットカード決済
|
|
22
|
-
*/
|
|
23
|
-
PaymentMethodType["CreditCard"] = "CreditCard";
|
|
24
|
-
/**
|
|
25
|
-
* ムビチケ
|
|
26
|
-
*/
|
|
27
|
-
PaymentMethodType["MovieTicket"] = "MovieTicket";
|
|
28
|
-
/**
|
|
29
|
-
* その他
|
|
30
|
-
*/
|
|
31
|
-
PaymentMethodType["Others"] = "Others";
|
|
32
|
-
})(PaymentMethodType = exports.PaymentMethodType || (exports.PaymentMethodType = {}));
|