@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,51 @@
|
|
|
1
|
+
import { IMultilingualString } from '../multilingualString';
|
|
2
|
+
import { IPlace as IBusStop } from '../place/busStop';
|
|
3
|
+
import { IProject } from '../project';
|
|
4
|
+
import { ITrip as IBaseTrip } from '../trip';
|
|
5
|
+
import { TripType } from '../tripType';
|
|
6
|
+
export type IArrivalBusStop = Pick<IBusStop, 'typeOf' | 'branchCode' | 'name'>;
|
|
7
|
+
export type IDepartureBusStop = Pick<IBusStop, 'typeOf' | 'branchCode' | 'name'>;
|
|
8
|
+
export interface ITrip extends Pick<IBaseTrip, 'id' | 'name' | 'offers'> {
|
|
9
|
+
arrivalBusStop: IArrivalBusStop;
|
|
10
|
+
departureBusStop: IDepartureBusStop;
|
|
11
|
+
identifier: string;
|
|
12
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
13
|
+
typeOf: TripType.BusTrip;
|
|
14
|
+
}
|
|
15
|
+
export interface ITripWithDetails extends Pick<ITrip, 'id' | 'name' | 'arrivalBusStop' | 'departureBusStop' | 'identifier' | 'typeOf'> {
|
|
16
|
+
arrivalTime: Date;
|
|
17
|
+
busName: IMultilingualString;
|
|
18
|
+
busNumber: string;
|
|
19
|
+
departureTime: Date;
|
|
20
|
+
}
|
|
21
|
+
export type ISortOrder = any;
|
|
22
|
+
export interface ISearchConditions {
|
|
23
|
+
limit?: number;
|
|
24
|
+
page?: number;
|
|
25
|
+
sort?: ISortOrder;
|
|
26
|
+
project?: {
|
|
27
|
+
id?: {
|
|
28
|
+
$eq?: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
id?: {
|
|
32
|
+
$in?: string[];
|
|
33
|
+
};
|
|
34
|
+
identifier?: {
|
|
35
|
+
$eq?: string;
|
|
36
|
+
};
|
|
37
|
+
name?: {
|
|
38
|
+
$regex?: string;
|
|
39
|
+
};
|
|
40
|
+
typeOf: TripType;
|
|
41
|
+
additionalProperty?: {
|
|
42
|
+
$elemMatch?: {
|
|
43
|
+
name?: {
|
|
44
|
+
/**
|
|
45
|
+
* 一致する名称の追加特性がひとつでも存在する
|
|
46
|
+
*/
|
|
47
|
+
$eq?: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
package/lib/trip.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IThing } from './thing';
|
|
2
|
+
import { TripType } from './tripType';
|
|
3
|
+
/**
|
|
4
|
+
* トリップ
|
|
5
|
+
* {@link https://schema.org/Trip}
|
|
6
|
+
*/
|
|
7
|
+
export interface ITrip extends Pick<IThing, 'name'> {
|
|
8
|
+
arrivalTime: Date;
|
|
9
|
+
departureTime: Date;
|
|
10
|
+
id?: string;
|
|
11
|
+
offers?: any;
|
|
12
|
+
typeOf: TripType;
|
|
13
|
+
}
|
package/lib/trip.js
ADDED
package/lib/tripType.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TripType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* トリップタイプ
|
|
6
|
+
*/
|
|
7
|
+
var TripType;
|
|
8
|
+
(function (TripType) {
|
|
9
|
+
TripType["BusTrip"] = "BusTrip";
|
|
10
|
+
TripType["Trip"] = "Trip";
|
|
11
|
+
})(TripType = exports.TripType || (exports.TripType = {}));
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ICustomerRemorseReturnFees, ICustomerRemorseReturnFeesMovieTicket, IMerchantReturnPolicy } from '../merchantReturnPolicy';
|
|
2
|
+
import { IMultilingualString } from '../multilingualString';
|
|
3
|
+
import { IProject } from '../project';
|
|
4
|
+
import { IPropertyValue } from '../propertyValue';
|
|
5
|
+
import { SortType } from '../sortType';
|
|
6
|
+
export type IOfferMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'customerRemorseReturnFees' | 'customerRemorseReturnFeesMovieTicket'> & {
|
|
7
|
+
customerRemorseReturnFees: ICustomerRemorseReturnFees;
|
|
8
|
+
customerRemorseReturnFeesMovieTicket: ICustomerRemorseReturnFeesMovieTicket;
|
|
9
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
10
|
+
additionalProperty?: IPropertyValue<string>[];
|
|
11
|
+
id?: string;
|
|
12
|
+
identifier: string;
|
|
13
|
+
name?: IMultilingualString;
|
|
14
|
+
};
|
|
15
|
+
export interface IOfferMerchantReturnPolicySortOrder {
|
|
16
|
+
identifier?: SortType;
|
|
17
|
+
}
|
|
18
|
+
export interface IOfferMerchantReturnPolicySearchConditions {
|
|
19
|
+
limit?: number;
|
|
20
|
+
page?: number;
|
|
21
|
+
sort?: IOfferMerchantReturnPolicySortOrder;
|
|
22
|
+
project?: {
|
|
23
|
+
id?: {
|
|
24
|
+
$eq?: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
id?: {
|
|
28
|
+
$eq?: string;
|
|
29
|
+
$in?: string[];
|
|
30
|
+
};
|
|
31
|
+
identifier?: {
|
|
32
|
+
$eq?: string;
|
|
33
|
+
$in?: string[];
|
|
34
|
+
$regex?: string;
|
|
35
|
+
};
|
|
36
|
+
name?: {
|
|
37
|
+
$regex?: string;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { IPointAward } from './action/transfer/moneyTransfer';
|
|
2
|
+
import { ItemAvailability } from './itemAvailability';
|
|
3
|
+
import { IAddOn, IName, IOffer } from './offer';
|
|
4
|
+
import { OfferType } from './offerType';
|
|
5
|
+
import { IAmount as IPermitAmount, IDepositAmount, IPaymentAmount } from './permit';
|
|
6
|
+
import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
7
|
+
import { IProduct, ProductType } from './product';
|
|
8
|
+
import { IQuantitativeValue } from './quantitativeValue';
|
|
9
|
+
import { SortType } from './sortType';
|
|
10
|
+
import { UnitCode } from './unitCode';
|
|
11
|
+
import { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder } from './unitPriceOffer/merchantReturnPolicy';
|
|
12
|
+
export type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'> & {
|
|
13
|
+
id: string;
|
|
14
|
+
identifier: string;
|
|
15
|
+
})[];
|
|
16
|
+
export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder };
|
|
17
|
+
/**
|
|
18
|
+
* 単価オファーの提供アイテム
|
|
19
|
+
*/
|
|
20
|
+
export interface IItemOffered {
|
|
21
|
+
typeOf: ProductType;
|
|
22
|
+
serviceOutput?: {
|
|
23
|
+
/**
|
|
24
|
+
* ペイメントカード初期金額
|
|
25
|
+
*/
|
|
26
|
+
amount?: IPermitAmount;
|
|
27
|
+
/**
|
|
28
|
+
* ペイメントカード入金設定
|
|
29
|
+
*/
|
|
30
|
+
depositAmount?: IDepositAmount;
|
|
31
|
+
/**
|
|
32
|
+
* ペイメントカード決済設定
|
|
33
|
+
*/
|
|
34
|
+
paymentAmount?: IPaymentAmount;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* 特典
|
|
38
|
+
*/
|
|
39
|
+
pointAward?: Pick<IPointAward, 'amount' | 'description' | 'typeOf'>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* 単価オファーの価格仕様
|
|
43
|
+
*/
|
|
44
|
+
export type IUnitPriceOfferPriceSpecification = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
45
|
+
export type IAddOnItemOffered = Pick<IProduct, 'typeOf' | 'id' | 'name'>;
|
|
46
|
+
export interface IAddOn4unitPriceOffer extends Pick<IAddOn, 'typeOf' | 'priceCurrency'> {
|
|
47
|
+
itemOffered: IAddOnItemOffered;
|
|
48
|
+
}
|
|
49
|
+
export interface ISettings {
|
|
50
|
+
ignoreCategoryCodeChargeSpec?: boolean;
|
|
51
|
+
}
|
|
52
|
+
export interface IAdvanceBookingRequirement extends Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'minValue' | 'unitCode' | 'description'> {
|
|
53
|
+
}
|
|
54
|
+
export type IAvailability = ItemAvailability.InStock | ItemAvailability.OutOfStock;
|
|
55
|
+
/**
|
|
56
|
+
* 単価オファー
|
|
57
|
+
*/
|
|
58
|
+
export interface IUnitPriceOffer extends Pick<IOffer, 'acceptedPaymentMethod' | 'project' | 'typeOf' | 'priceCurrency' | 'id' | 'identifier' | 'name' | 'description' | 'alternateName' | 'availability' | 'availableAtOrFrom' | 'itemOffered' | 'priceSpecification' | 'additionalProperty' | 'color' | 'category' | 'eligibleSeatingType' | 'eligibleMembershipType' | 'eligibleMonetaryAmount' | 'eligibleSubReservation' | 'validFrom' | 'validThrough' | 'validRateLimit'> {
|
|
59
|
+
/**
|
|
60
|
+
* The amount of time that is required between accepting the offer and the actual usage of the resource or service.
|
|
61
|
+
* 事前予約要件(興行オファー承認日時とイベント開始日時の差)
|
|
62
|
+
*/
|
|
63
|
+
advanceBookingRequirement?: IAdvanceBookingRequirement;
|
|
64
|
+
availability: IAvailability;
|
|
65
|
+
/**
|
|
66
|
+
* コード
|
|
67
|
+
*/
|
|
68
|
+
identifier: string;
|
|
69
|
+
name: IName;
|
|
70
|
+
/**
|
|
71
|
+
* 単価仕様
|
|
72
|
+
*/
|
|
73
|
+
priceSpecification: IUnitPriceOfferPriceSpecification;
|
|
74
|
+
itemOffered?: IItemOffered;
|
|
75
|
+
addOn?: IAddOn4unitPriceOffer[];
|
|
76
|
+
typeOf: OfferType.Offer;
|
|
77
|
+
hasMerchantReturnPolicy?: IHasMerchantReturnPolicy;
|
|
78
|
+
settings?: ISettings;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* ソート条件
|
|
82
|
+
*/
|
|
83
|
+
export interface ISortOrder {
|
|
84
|
+
identifier?: SortType;
|
|
85
|
+
'priceSpecification.price'?: SortType;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* 価格仕様検索条件
|
|
89
|
+
*/
|
|
90
|
+
export interface IPriceSpecificationSearchConditions {
|
|
91
|
+
appliesToMovieTicket?: {
|
|
92
|
+
/**
|
|
93
|
+
* 適用決済カード区分
|
|
94
|
+
*/
|
|
95
|
+
serviceType?: {
|
|
96
|
+
/**
|
|
97
|
+
* 適用決済カード区分が存在するかどうか
|
|
98
|
+
*/
|
|
99
|
+
$exists?: boolean;
|
|
100
|
+
$eq?: string;
|
|
101
|
+
};
|
|
102
|
+
serviceOutput?: {
|
|
103
|
+
/**
|
|
104
|
+
* 適用決済方法タイプ
|
|
105
|
+
*/
|
|
106
|
+
typeOf?: {
|
|
107
|
+
$eq?: string;
|
|
108
|
+
$nin?: string[];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
price?: {
|
|
113
|
+
$gte?: number;
|
|
114
|
+
$lte?: number;
|
|
115
|
+
};
|
|
116
|
+
referenceQuantity?: {
|
|
117
|
+
value?: {
|
|
118
|
+
$eq?: number;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
accounting?: {
|
|
122
|
+
accountsReceivable?: {
|
|
123
|
+
$gte?: number;
|
|
124
|
+
$lte?: number;
|
|
125
|
+
};
|
|
126
|
+
operatingRevenue?: {
|
|
127
|
+
codeValue?: {
|
|
128
|
+
$eq?: string;
|
|
129
|
+
$in?: string[];
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* 検索条件
|
|
136
|
+
*/
|
|
137
|
+
export interface ISearchConditions {
|
|
138
|
+
limit?: number;
|
|
139
|
+
page?: number;
|
|
140
|
+
sort?: ISortOrder;
|
|
141
|
+
addOn?: {
|
|
142
|
+
itemOffered?: {
|
|
143
|
+
/**
|
|
144
|
+
* アドオンプロダクトID
|
|
145
|
+
*/
|
|
146
|
+
id?: {
|
|
147
|
+
$eq?: string;
|
|
148
|
+
$in?: string[];
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
availability?: {
|
|
153
|
+
$eq?: IAvailability;
|
|
154
|
+
};
|
|
155
|
+
availableAtOrFrom?: {
|
|
156
|
+
id?: {
|
|
157
|
+
$eq?: string;
|
|
158
|
+
$in?: string[];
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
project?: {
|
|
162
|
+
id?: {
|
|
163
|
+
$eq?: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
eligibleMembershipType?: {
|
|
167
|
+
/**
|
|
168
|
+
* 適用メンバーシップ区分
|
|
169
|
+
*/
|
|
170
|
+
codeValue?: {
|
|
171
|
+
$eq?: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
eligibleMonetaryAmount?: {
|
|
175
|
+
/**
|
|
176
|
+
* 適用通貨区分
|
|
177
|
+
*/
|
|
178
|
+
currency?: {
|
|
179
|
+
$eq?: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
eligibleSeatingType?: {
|
|
183
|
+
/**
|
|
184
|
+
* 適用座席区分
|
|
185
|
+
*/
|
|
186
|
+
codeValue?: {
|
|
187
|
+
$eq?: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
hasMerchantReturnPolicy?: {
|
|
191
|
+
id?: {
|
|
192
|
+
$eq?: string;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
id?: {
|
|
196
|
+
$eq?: string;
|
|
197
|
+
$in?: string[];
|
|
198
|
+
};
|
|
199
|
+
identifier?: {
|
|
200
|
+
$eq?: string;
|
|
201
|
+
$in?: string[];
|
|
202
|
+
$regex?: string;
|
|
203
|
+
};
|
|
204
|
+
name?: {
|
|
205
|
+
$regex?: string;
|
|
206
|
+
};
|
|
207
|
+
priceSpecification?: IPriceSpecificationSearchConditions;
|
|
208
|
+
category?: {
|
|
209
|
+
codeValue?: {
|
|
210
|
+
$in?: string[];
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
itemOffered?: {
|
|
214
|
+
typeOf?: {
|
|
215
|
+
$eq?: string;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
additionalProperty?: {
|
|
219
|
+
$all?: {
|
|
220
|
+
$elemMatch: {
|
|
221
|
+
name?: {
|
|
222
|
+
$eq?: string;
|
|
223
|
+
};
|
|
224
|
+
value?: {
|
|
225
|
+
$in?: string[];
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
}[];
|
|
229
|
+
$elemMatch?: {
|
|
230
|
+
name?: {
|
|
231
|
+
/**
|
|
232
|
+
* 一致する名称の追加特性がひとつでも存在する
|
|
233
|
+
*/
|
|
234
|
+
$eq?: string;
|
|
235
|
+
};
|
|
236
|
+
value?: {
|
|
237
|
+
$eq?: string;
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* 有効期間設定がない、あるいは、有効期間内
|
|
243
|
+
*/
|
|
244
|
+
onlyValid?: boolean;
|
|
245
|
+
parentOffer?: {
|
|
246
|
+
/**
|
|
247
|
+
* 集計オファーID
|
|
248
|
+
*/
|
|
249
|
+
id?: {
|
|
250
|
+
$in?: string[];
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
includedInDataCatalog?: {
|
|
254
|
+
/**
|
|
255
|
+
* 記載カタログID
|
|
256
|
+
*/
|
|
257
|
+
id?: {
|
|
258
|
+
$in?: string[];
|
|
259
|
+
};
|
|
260
|
+
};
|
|
261
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chevre/factory",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.343.0-alpha.2",
|
|
4
4
|
"description": "Chevre Factory Library for Javascript",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -39,27 +39,28 @@
|
|
|
39
39
|
"email": "yamazaki@motionpicture.jp"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
|
-
"license": "
|
|
42
|
+
"license": "UNLICENSED",
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/mocha": "^5.2.7",
|
|
45
45
|
"@types/node": "^8.10.51",
|
|
46
|
-
"@types/
|
|
47
|
-
"@types/
|
|
46
|
+
"@types/request": "^2.48.5",
|
|
47
|
+
"@types/request-promise-native": "^1.0.17",
|
|
48
48
|
"coveralls": "^3.0.5",
|
|
49
|
-
"http-signature": "^1.2.0",
|
|
50
49
|
"mocha": "^5.2.0",
|
|
51
|
-
"nyc": "
|
|
52
|
-
"power-assert": "^1.6.1",
|
|
50
|
+
"nyc": "12.0.2",
|
|
53
51
|
"rimraf": "^2.6.3",
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"tslint": "
|
|
57
|
-
"
|
|
58
|
-
"typescript": "^3.8.3"
|
|
52
|
+
"ts-node": "10.9.1",
|
|
53
|
+
"tslint": "6.1.3",
|
|
54
|
+
"tslint-microsoft-contrib": "6.2.0",
|
|
55
|
+
"typescript": "5.0.4"
|
|
59
56
|
},
|
|
60
57
|
"dependencies": {
|
|
61
|
-
"@
|
|
62
|
-
"
|
|
58
|
+
"@aws-sdk/client-cognito-identity-provider": "3.438.0",
|
|
59
|
+
"@motionpicture/coa-service": "9.2.0",
|
|
60
|
+
"@motionpicture/gmo-service": "^5.0.0",
|
|
61
|
+
"@surfrock/sdk": "1.1.0",
|
|
62
|
+
"@waiter/factory": "2.2.0-alpha.2",
|
|
63
|
+
"setprototypeof": "1.2.0"
|
|
63
64
|
},
|
|
64
65
|
"repository": {
|
|
65
66
|
"type": "git",
|
package/CHANGELOG.md
DELETED
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
6
|
-
|
|
7
|
-
## Unreleased
|
|
8
|
-
|
|
9
|
-
### Added
|
|
10
|
-
|
|
11
|
-
### Changed
|
|
12
|
-
|
|
13
|
-
### Deprecated
|
|
14
|
-
|
|
15
|
-
### Removed
|
|
16
|
-
|
|
17
|
-
### Fixed
|
|
18
|
-
|
|
19
|
-
### Security
|
|
20
|
-
|
|
21
|
-
## v3.1.0 - 2020-03-09
|
|
22
|
-
|
|
23
|
-
### Changed
|
|
24
|
-
|
|
25
|
-
- オファー検索条件拡張
|
|
26
|
-
|
|
27
|
-
## v3.0.1 - 2020-03-08
|
|
28
|
-
|
|
29
|
-
### Changed
|
|
30
|
-
|
|
31
|
-
- 作品インターフェース汎用性拡張
|
|
32
|
-
|
|
33
|
-
## v3.0.0 - 2020-03-04
|
|
34
|
-
|
|
35
|
-
### Added
|
|
36
|
-
|
|
37
|
-
- メンバーシップインターフェースを追加
|
|
38
|
-
- メンバーシップ登録アクションインターフェースを追加
|
|
39
|
-
- メンバーシップ登録解除アクションインターフェースを追加
|
|
40
|
-
- メンバーシップ登録取引インターフェースを追加
|
|
41
|
-
- カテゴリーコードインターフェースを追加
|
|
42
|
-
- カテゴリーコードチャージ仕様インターフェースを追加
|
|
43
|
-
- オファーカテゴリータイプを追加
|
|
44
|
-
- イベントに集計属性を追加
|
|
45
|
-
- オファーカタログインターフェースを追加
|
|
46
|
-
|
|
47
|
-
### Changed
|
|
48
|
-
|
|
49
|
-
- サービスタイプをカテゴリーコードに統合
|
|
50
|
-
- 配給区分をカテゴリーコードに統合
|
|
51
|
-
- 座席に対するオファーインターフェースを拡張
|
|
52
|
-
- 予約の価格仕様インターフェースを拡張
|
|
53
|
-
- 単価仕様に適用アドオンを拡張
|
|
54
|
-
- オファー適用条件拡張
|
|
55
|
-
- イベントのacceptedOfferを拡張
|
|
56
|
-
- 予約インターフェースにsubReservationを追加
|
|
57
|
-
- オファーに適用サブ予約条件を追加
|
|
58
|
-
- オファーにレート制限を追加
|
|
59
|
-
- 自由席許可属性を場所インターフェースに追加
|
|
60
|
-
|
|
61
|
-
## v2.5.0 - 2020-01-26
|
|
62
|
-
|
|
63
|
-
### Changed
|
|
64
|
-
|
|
65
|
-
- 作品検索条件拡張
|
|
66
|
-
- 券種検索条件拡張
|
|
67
|
-
- 券種グループ検索条件拡張
|
|
68
|
-
- 勘定科目検索条件拡張
|
|
69
|
-
|
|
70
|
-
## v2.4.1 - 2019-11-26
|
|
71
|
-
|
|
72
|
-
### Changed
|
|
73
|
-
|
|
74
|
-
- update typescript
|
|
75
|
-
|
|
76
|
-
## v2.4.0 - 2019-11-19
|
|
77
|
-
|
|
78
|
-
### Added
|
|
79
|
-
|
|
80
|
-
- 予約検索条件を拡張
|
|
81
|
-
|
|
82
|
-
## v2.3.0 - 2019-10-27
|
|
83
|
-
|
|
84
|
-
### Added
|
|
85
|
-
|
|
86
|
-
- 予約取消取引に予約ステータス変更時イベントを追加
|
|
87
|
-
|
|
88
|
-
## v2.2.0 - 2019-10-27
|
|
89
|
-
|
|
90
|
-
### Added
|
|
91
|
-
|
|
92
|
-
- プロジェクト設定インターフェースを追加
|
|
93
|
-
|
|
94
|
-
## v2.1.0 - 2019-10-24
|
|
95
|
-
|
|
96
|
-
### Added
|
|
97
|
-
|
|
98
|
-
- 予約取引に予約ステータス変更時イベントを追加
|
|
99
|
-
|
|
100
|
-
## v2.0.0 - 2019-09-20
|
|
101
|
-
|
|
102
|
-
### Added
|
|
103
|
-
|
|
104
|
-
- 予約パッケージインターフェースを追加
|
|
105
|
-
|
|
106
|
-
### Changed
|
|
107
|
-
|
|
108
|
-
- 予約取引の予約番号発行プロセスと仮予約プロセスを分離
|
|
109
|
-
- 予約インターフェースの汎用性拡張
|
|
110
|
-
|
|
111
|
-
## v1.1.0 - 2019-09-03
|
|
112
|
-
|
|
113
|
-
### Added
|
|
114
|
-
|
|
115
|
-
- 予約確定アクションのポストアクションに予約通知アクションを追加
|
|
116
|
-
- 予約取消アクションのポストアクションに予約通知アクションを追加
|
|
117
|
-
- ウェブフックタスクを追加
|
|
118
|
-
|
|
119
|
-
## v1.0.0 - 2019-07-28
|
|
120
|
-
|
|
121
|
-
### Added
|
|
122
|
-
|
|
123
|
-
- Release
|
|
124
|
-
|
|
125
|
-
Initial release
|
|
126
|
-
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as ActionFactory from '../../action';
|
|
2
|
-
import ActionType from '../../actionType';
|
|
3
|
-
import { IReservation as IEventReservation } from '../../reservation/event';
|
|
4
|
-
import TransactionType from '../../transactionType';
|
|
5
|
-
import { IAttributes as IInformActionAttributes } from '../interact/inform';
|
|
6
|
-
/**
|
|
7
|
-
* 予約キャンセル対象インターフェース
|
|
8
|
-
*/
|
|
9
|
-
export declare type IObject = IEventReservation;
|
|
10
|
-
/**
|
|
11
|
-
* 予約キャンセル結果インターフェース
|
|
12
|
-
*/
|
|
13
|
-
export declare type IResult = any;
|
|
14
|
-
/**
|
|
15
|
-
* 予約キャンセル目的インターフェース
|
|
16
|
-
*/
|
|
17
|
-
export interface IPurpose {
|
|
18
|
-
/**
|
|
19
|
-
* 取引タイプ
|
|
20
|
-
*/
|
|
21
|
-
typeOf: TransactionType;
|
|
22
|
-
/**
|
|
23
|
-
* 取引ID
|
|
24
|
-
*/
|
|
25
|
-
id: string;
|
|
26
|
-
}
|
|
27
|
-
export declare type IInformReservation = IInformActionAttributes<IObject, any>;
|
|
28
|
-
export interface IPotentialActions {
|
|
29
|
-
/**
|
|
30
|
-
* 予約通知アクション
|
|
31
|
-
*/
|
|
32
|
-
informReservation?: IInformReservation[];
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* アクション属性インターフェース
|
|
36
|
-
*/
|
|
37
|
-
export interface IAttributes extends ActionFactory.IAttributes<ActionType.CancelAction, IObject, IResult> {
|
|
38
|
-
potentialActions?: IPotentialActions;
|
|
39
|
-
purpose: IPurpose;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* 予約キャンセルアクションインターフェース
|
|
43
|
-
*/
|
|
44
|
-
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as ActionFactory from '../../action';
|
|
2
|
-
import ActionType from '../../actionType';
|
|
3
|
-
export declare type IAgent = ActionFactory.IParticipant;
|
|
4
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
|
-
export declare type IObject = any;
|
|
6
|
-
export declare type IResult = any;
|
|
7
|
-
export declare type IPurpose = any;
|
|
8
|
-
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.UseAction, TObject, TResult> {
|
|
9
|
-
agent: IAgent;
|
|
10
|
-
purpose?: IPurpose;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* 使用アクションインターフェース
|
|
14
|
-
*/
|
|
15
|
-
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as ActionFactory from '../../action';
|
|
2
|
-
import ActionType from '../../actionType';
|
|
3
|
-
export declare type IAgent = ActionFactory.IParticipant;
|
|
4
|
-
export declare type IRecipient = ActionFactory.IParticipant;
|
|
5
|
-
export declare type IObject = any;
|
|
6
|
-
export declare type IPurpose = any;
|
|
7
|
-
export declare type IResult = any;
|
|
8
|
-
export interface IPotentialActions {
|
|
9
|
-
}
|
|
10
|
-
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.InformAction, TObject, TResult> {
|
|
11
|
-
agent: IAgent;
|
|
12
|
-
recipient: IRecipient;
|
|
13
|
-
potentialActions?: IPotentialActions;
|
|
14
|
-
purpose?: IPurpose;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* 通知アクションインターフェース
|
|
18
|
-
*/
|
|
19
|
-
export declare type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|