@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,21 @@
|
|
|
1
|
+
import * as ActionFactory from '../../../action';
|
|
2
|
+
import * as MoneyTransferActionFactory from '../moneyTransfer';
|
|
3
|
+
import * as ReturnActionFactory from '../return';
|
|
4
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
5
|
+
export type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
6
|
+
/**
|
|
7
|
+
* 返却対象は入金アクション
|
|
8
|
+
*/
|
|
9
|
+
export type IObject = MoneyTransferActionFactory.IAction;
|
|
10
|
+
export type IResult = any;
|
|
11
|
+
export interface IPotentialActions {
|
|
12
|
+
}
|
|
13
|
+
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
14
|
+
agent: IAgent;
|
|
15
|
+
recipient: IRecipient;
|
|
16
|
+
potentialActions?: IPotentialActions;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* 入金返却アクション
|
|
20
|
+
*/
|
|
21
|
+
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as ActionFactory from '../../../action';
|
|
2
|
+
import * as OrderFactory from '../../../order';
|
|
3
|
+
import { IAttributes as IReturnPaymentMethodActionAttributes } from '../../transfer/return/paymentMethod';
|
|
4
|
+
import * as ReturnActionFactory from '../return';
|
|
5
|
+
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
6
|
+
import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
|
|
7
|
+
import * as ReturnPointAwardActionFactory from './pointAward';
|
|
8
|
+
export type IAgent = OrderFactory.IParticipantAsReturner;
|
|
9
|
+
export type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
10
|
+
/**
|
|
11
|
+
* 返却対象は注文
|
|
12
|
+
*/
|
|
13
|
+
export type IObject = OrderFactory.ISimpleOrder & {
|
|
14
|
+
/**
|
|
15
|
+
* 返品日時
|
|
16
|
+
*/
|
|
17
|
+
dateReturned: Date;
|
|
18
|
+
};
|
|
19
|
+
export type IResult = any;
|
|
20
|
+
export interface IPotentialActions {
|
|
21
|
+
/**
|
|
22
|
+
* 決済返却アクション
|
|
23
|
+
* refundから移行(2022-08-10~)
|
|
24
|
+
*/
|
|
25
|
+
returnPaymentMethod: IReturnPaymentMethodActionAttributes[];
|
|
26
|
+
/**
|
|
27
|
+
* 入金返却アクション
|
|
28
|
+
*/
|
|
29
|
+
returnMoneyTransfer: ReturnMoneyTransferActionFactory.IAttributes[];
|
|
30
|
+
/**
|
|
31
|
+
* ポイントインセンティブ返却アクション
|
|
32
|
+
*/
|
|
33
|
+
returnPointAward: ReturnPointAwardActionFactory.IAttributes[];
|
|
34
|
+
/**
|
|
35
|
+
* Eメール送信アクション
|
|
36
|
+
*/
|
|
37
|
+
sendEmailMessage?: ISendEmailMessageActionAttributes[];
|
|
38
|
+
}
|
|
39
|
+
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
40
|
+
agent: IAgent;
|
|
41
|
+
recipient: IRecipient;
|
|
42
|
+
potentialActions?: IPotentialActions;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 返品アクション
|
|
46
|
+
*/
|
|
47
|
+
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as ActionFactory from '../../../action';
|
|
2
|
+
import { IReferencedInvoice, ISimpleOrder } from '../../../order';
|
|
3
|
+
import { IAttributes as ISendEmailMessageActionAttributes } from '../../transfer/send/message/email';
|
|
4
|
+
import * as ReturnActionFactory from '../return';
|
|
5
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
6
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
7
|
+
export type IObject = IReferencedInvoice;
|
|
8
|
+
export type IResult = any;
|
|
9
|
+
export interface IPotentialActions {
|
|
10
|
+
/**
|
|
11
|
+
* 返金処理完了を通知するEメール送信アクション
|
|
12
|
+
*/
|
|
13
|
+
sendEmailMessage?: ISendEmailMessageActionAttributes[];
|
|
14
|
+
}
|
|
15
|
+
export type IPurpose = ISimpleOrder;
|
|
16
|
+
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
17
|
+
agent: IAgent;
|
|
18
|
+
recipient: IRecipient;
|
|
19
|
+
purpose: IPurpose;
|
|
20
|
+
potentialActions?: IPotentialActions;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* 決済返却アクション
|
|
24
|
+
*/
|
|
25
|
+
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as ActionFactory from '../../../action';
|
|
2
|
+
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
3
|
+
import { ISimpleOrder } from '../../../order';
|
|
4
|
+
import * as ReturnActionFactory from '../return';
|
|
5
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
6
|
+
export type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
7
|
+
/**
|
|
8
|
+
* 入金取引識別子で指定する場合のオブジェクト
|
|
9
|
+
*/
|
|
10
|
+
export interface IObjectByTransactionIdentifier {
|
|
11
|
+
typeOf: AssetTransactionType.MoneyTransfer;
|
|
12
|
+
identifier: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 出金元番号で指定する場合のオブジェクト
|
|
16
|
+
*/
|
|
17
|
+
export interface IObjectByTransactionFromLocationIdentifier {
|
|
18
|
+
typeOf: AssetTransactionType.MoneyTransfer;
|
|
19
|
+
object: {
|
|
20
|
+
fromLocation: {
|
|
21
|
+
identifier: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export type IObject = IObjectByTransactionIdentifier | IObjectByTransactionFromLocationIdentifier;
|
|
26
|
+
export type IPurpose = ISimpleOrder;
|
|
27
|
+
export type IResult = any;
|
|
28
|
+
export interface IPotentialActions {
|
|
29
|
+
}
|
|
30
|
+
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
31
|
+
agent: IAgent;
|
|
32
|
+
recipient: IRecipient;
|
|
33
|
+
potentialActions?: IPotentialActions;
|
|
34
|
+
purpose: IPurpose;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* ポイント特典返却アクション
|
|
38
|
+
*/
|
|
39
|
+
export type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as COA from '@motionpicture/coa-service';
|
|
2
|
+
import * as ActionFactory from '../../../action';
|
|
3
|
+
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
4
|
+
import { ISimpleOrder } from '../../../order';
|
|
5
|
+
import { Identifier as WebAPIIdentifier, IService } from '../../../service/webAPI';
|
|
6
|
+
import * as ReturnActionFactory from '../return';
|
|
7
|
+
export type IAgent = ActionFactory.IParticipantAsProject;
|
|
8
|
+
export type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
9
|
+
export type IObject4COA = COA.factory.reserve.IStateReserveArgs & {
|
|
10
|
+
typeOf: 'COAReserveTransaction';
|
|
11
|
+
};
|
|
12
|
+
export interface IObject4Chevre {
|
|
13
|
+
typeOf: AssetTransactionType.Reserve;
|
|
14
|
+
transactionNumber: string;
|
|
15
|
+
}
|
|
16
|
+
export type IObject<T extends WebAPIIdentifier> = T extends WebAPIIdentifier.COA ? IObject4COA : IObject4Chevre;
|
|
17
|
+
export type IPurpose = ISimpleOrder;
|
|
18
|
+
export type IResult = any;
|
|
19
|
+
export type IInstrument<T extends WebAPIIdentifier> = IService<T>;
|
|
20
|
+
export interface IAttributes<T extends WebAPIIdentifier> extends ReturnActionFactory.IAttributes<IObject<T>, IResult> {
|
|
21
|
+
agent: IAgent;
|
|
22
|
+
instrument: IInstrument<T>;
|
|
23
|
+
purpose: IPurpose;
|
|
24
|
+
recipient: IRecipient;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 予約取引返却アクション
|
|
28
|
+
*/
|
|
29
|
+
export type IAction<T extends WebAPIIdentifier> = ReturnActionFactory.IAction<IAttributes<T>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as ActionFactory from '../../action';
|
|
2
|
+
import { ActionType } from '../../actionType';
|
|
3
|
+
export type IObject = any;
|
|
4
|
+
export type IResult = any;
|
|
5
|
+
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.ReturnAction, TObject, TResult> {
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 返却アクション
|
|
9
|
+
*/
|
|
10
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../../action';
|
|
2
|
+
import { ICreativeWork as IEmailMessage } from '../../../../creativeWork/message/email';
|
|
3
|
+
import { ISimpleOrder } from '../../../../order';
|
|
4
|
+
import * as SendActionFactory from '../../send';
|
|
5
|
+
export type IAgent = IParticipantAsProject;
|
|
6
|
+
export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
|
|
7
|
+
/**
|
|
8
|
+
* オブジェクト
|
|
9
|
+
* 「Eメール通知」を送信する
|
|
10
|
+
*/
|
|
11
|
+
export type IObject = IEmailMessage;
|
|
12
|
+
export type IResult = any;
|
|
13
|
+
export type IPurpose = ISimpleOrder;
|
|
14
|
+
export interface IPotentialActions {
|
|
15
|
+
}
|
|
16
|
+
export interface IAttributes extends SendActionFactory.IAttributes<IObject, IResult> {
|
|
17
|
+
agent: IAgent;
|
|
18
|
+
purpose: IPurpose;
|
|
19
|
+
potentialActions?: IPotentialActions;
|
|
20
|
+
recipient: IRecipient;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Eメール送信アクション
|
|
24
|
+
*/
|
|
25
|
+
export type IAction = SendActionFactory.IAction<IAttributes>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../action';
|
|
2
|
+
import * as OrderFactory from '../../../order';
|
|
3
|
+
import * as OwnershipInfoFactory from '../../../ownershipInfo';
|
|
4
|
+
import { IAttributes as IMoneyTransferActionAttributes } from '../../interact/confirm/moneyTransfer';
|
|
5
|
+
import { IAttributes as IRegisterServiceAttributes } from '../../interact/confirm/registerService';
|
|
6
|
+
import * as SendActionFactory from '../send';
|
|
7
|
+
import { IAttributes as ISendEmailMessageActionAttributes } from './message/email';
|
|
8
|
+
export type IAgent = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
|
|
9
|
+
export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsCustomer;
|
|
10
|
+
export type IObject = OrderFactory.ISimpleOrder;
|
|
11
|
+
/**
|
|
12
|
+
* 注文配送結果としての所有権
|
|
13
|
+
*/
|
|
14
|
+
export type IResult = OwnershipInfoFactory.IOwnershipInfo<OwnershipInfoFactory.IGood>[];
|
|
15
|
+
export interface IPotentialActions {
|
|
16
|
+
/**
|
|
17
|
+
* 通貨転送アクション
|
|
18
|
+
*/
|
|
19
|
+
moneyTransfer?: IMoneyTransferActionAttributes[];
|
|
20
|
+
/**
|
|
21
|
+
* サービス登録アクション
|
|
22
|
+
*/
|
|
23
|
+
registerService?: IRegisterServiceAttributes[];
|
|
24
|
+
/**
|
|
25
|
+
* Eメール送信アクション
|
|
26
|
+
*/
|
|
27
|
+
sendEmailMessage?: ISendEmailMessageActionAttributes[];
|
|
28
|
+
}
|
|
29
|
+
export interface IAttributes extends SendActionFactory.IAttributes<IObject, IResult> {
|
|
30
|
+
agent: IAgent;
|
|
31
|
+
recipient: IRecipient;
|
|
32
|
+
potentialActions?: IPotentialActions;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* 注文配送アクション
|
|
36
|
+
*/
|
|
37
|
+
export type IAction = SendActionFactory.IAction<IAttributes>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as ActionFactory from '../../action';
|
|
2
|
+
import { ActionType } from '../../actionType';
|
|
3
|
+
export type IAgent = ActionFactory.IParticipant;
|
|
4
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
5
|
+
export type IObject = any;
|
|
6
|
+
export type IResult = any;
|
|
7
|
+
export type IPotentialActions = any;
|
|
8
|
+
export type IPurpose = any;
|
|
9
|
+
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.SendAction, TObject, TResult> {
|
|
10
|
+
agent: IAgent;
|
|
11
|
+
recipient: ActionFactory.IParticipant;
|
|
12
|
+
potentialActions?: IPotentialActions;
|
|
13
|
+
purpose?: IPurpose;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* 送信(配送)アクションインターフェース
|
|
17
|
+
*/
|
|
18
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IPerson } from '../../../person';
|
|
2
|
+
import * as DeleteActionFactory from '../delete';
|
|
3
|
+
export type IObject = Pick<IPerson, 'id' | 'typeOf'> & {
|
|
4
|
+
/**
|
|
5
|
+
* 新ユーザープールへ移行するかどうか
|
|
6
|
+
*/
|
|
7
|
+
migrate?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* 移行会員通知先
|
|
10
|
+
*/
|
|
11
|
+
migratePersonRecipientUrl?: string;
|
|
12
|
+
/**
|
|
13
|
+
* ユーザープールから物理削除するかどうか
|
|
14
|
+
*/
|
|
15
|
+
physically?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type IResult = any;
|
|
18
|
+
export interface IAttributes extends Omit<DeleteActionFactory.IAttributes<IObject, IResult>, 'potentialActions'> {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* 会員削除アクション
|
|
22
|
+
*/
|
|
23
|
+
export type IAction = DeleteActionFactory.IAction<IAttributes>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as ActionFactory from '../../action';
|
|
2
|
+
import { ActionType } from '../../actionType';
|
|
3
|
+
export type IAgent = ActionFactory.IParticipant;
|
|
4
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
5
|
+
export type IObject = any;
|
|
6
|
+
export type IResult = any;
|
|
7
|
+
export interface IPotentialActions {
|
|
8
|
+
}
|
|
9
|
+
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.DeleteAction, TObject, TResult> {
|
|
10
|
+
potentialActions?: IPotentialActions;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 削除アクションインターフェース
|
|
14
|
+
*/
|
|
15
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
package/lib/action.d.ts
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { ActionStatusType } from './actionStatusType';
|
|
2
|
+
import { ActionType } from './actionType';
|
|
3
|
+
import { IExtendId } from './autoGenerated';
|
|
4
|
+
import { CreativeWorkType } from './creativeWorkType';
|
|
5
|
+
import { OrganizationType } from './organizationType';
|
|
6
|
+
import { IPersonAttributes } from './person';
|
|
7
|
+
import { IProject } from './project';
|
|
8
|
+
import { SortType } from './sortType';
|
|
9
|
+
export interface IParticipantOptionalAttributes {
|
|
10
|
+
name?: string;
|
|
11
|
+
url?: string;
|
|
12
|
+
}
|
|
13
|
+
export type IParticipantAsWebApplication = IParticipantOptionalAttributes & {
|
|
14
|
+
typeOf: CreativeWorkType.WebApplication;
|
|
15
|
+
id: string;
|
|
16
|
+
};
|
|
17
|
+
export type IParticipantAsPerson = IParticipantOptionalAttributes & Pick<IPersonAttributes, 'id' | 'typeOf'>;
|
|
18
|
+
export type IParticipantAsSeller = IParticipantOptionalAttributes & {
|
|
19
|
+
typeOf: OrganizationType.Corporation;
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
export type IParticipantAsProject = IParticipantOptionalAttributes & {
|
|
23
|
+
typeOf: OrganizationType.Project;
|
|
24
|
+
id: string;
|
|
25
|
+
};
|
|
26
|
+
export type IParticipantAsCustomer = IParticipantOptionalAttributes & {
|
|
27
|
+
typeOf: OrganizationType.Organization;
|
|
28
|
+
id: string;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* アクションへの関係者
|
|
32
|
+
*/
|
|
33
|
+
export type IParticipant = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsSeller | IParticipantAsProject | IParticipantAsCustomer;
|
|
34
|
+
/**
|
|
35
|
+
* アクション目的
|
|
36
|
+
*/
|
|
37
|
+
export interface IPurpose {
|
|
38
|
+
typeOf: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* 追加属性
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* アクション属性
|
|
45
|
+
*/
|
|
46
|
+
export interface IAttributes<T extends ActionType, TObject, TResult> {
|
|
47
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
48
|
+
agent: IParticipant;
|
|
49
|
+
description?: string;
|
|
50
|
+
error?: any;
|
|
51
|
+
/**
|
|
52
|
+
* The location of, for example, where an event is happening, where an organization is located, or where an action takes place.
|
|
53
|
+
*/
|
|
54
|
+
location?: any;
|
|
55
|
+
instrument?: any;
|
|
56
|
+
object: TObject;
|
|
57
|
+
potentialActions?: any;
|
|
58
|
+
purpose?: IPurpose;
|
|
59
|
+
recipient?: IParticipant;
|
|
60
|
+
result?: TResult;
|
|
61
|
+
/**
|
|
62
|
+
* アクションタイプ
|
|
63
|
+
*/
|
|
64
|
+
typeOf: T;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* アクション動的属性
|
|
68
|
+
* リポジトリに保管時にセット、あるいは変更される
|
|
69
|
+
*/
|
|
70
|
+
export interface IDynamicAttributes {
|
|
71
|
+
actionStatus: ActionStatusType;
|
|
72
|
+
startDate: Date;
|
|
73
|
+
endDate?: Date;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* アクション
|
|
77
|
+
* {@link https://schema.org/Action}
|
|
78
|
+
*/
|
|
79
|
+
export type IAction<TAttributes extends IAttributes<ActionType, any, any>> = IExtendId<TAttributes & IDynamicAttributes>;
|
|
80
|
+
/**
|
|
81
|
+
* ソート条件
|
|
82
|
+
*/
|
|
83
|
+
export interface ISortOrder {
|
|
84
|
+
startDate?: SortType;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* 検索条件
|
|
88
|
+
*/
|
|
89
|
+
export interface ISearchConditions {
|
|
90
|
+
limit?: number;
|
|
91
|
+
page?: number;
|
|
92
|
+
sort?: ISortOrder;
|
|
93
|
+
project?: {
|
|
94
|
+
id?: {
|
|
95
|
+
$eq?: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
typeOf?: ActionType | {
|
|
99
|
+
$eq?: ActionType;
|
|
100
|
+
};
|
|
101
|
+
actionStatus?: {
|
|
102
|
+
$in?: ActionStatusType[];
|
|
103
|
+
};
|
|
104
|
+
actionStatusTypes?: ActionStatusType[];
|
|
105
|
+
agent?: {
|
|
106
|
+
typeOf?: {
|
|
107
|
+
$in?: string[];
|
|
108
|
+
};
|
|
109
|
+
id?: {
|
|
110
|
+
$in?: string[];
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
location?: {
|
|
114
|
+
id?: {
|
|
115
|
+
$eq?: string;
|
|
116
|
+
};
|
|
117
|
+
identifier?: {
|
|
118
|
+
$eq?: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
object?: {
|
|
122
|
+
id?: {
|
|
123
|
+
$eq?: string;
|
|
124
|
+
$in?: string[];
|
|
125
|
+
};
|
|
126
|
+
movieTickets?: {
|
|
127
|
+
identifier?: {
|
|
128
|
+
$eq?: string;
|
|
129
|
+
};
|
|
130
|
+
serviceOutput?: {
|
|
131
|
+
reservationFor?: {
|
|
132
|
+
id?: {
|
|
133
|
+
$eq?: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
object?: {
|
|
139
|
+
paymentMethodId?: {
|
|
140
|
+
$eq?: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
orderNumber?: {
|
|
144
|
+
$in?: string[];
|
|
145
|
+
};
|
|
146
|
+
reservationFor?: {
|
|
147
|
+
id?: {
|
|
148
|
+
$eq?: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
reservationNumber?: {
|
|
152
|
+
$eq?: string;
|
|
153
|
+
$in?: string[];
|
|
154
|
+
};
|
|
155
|
+
paymentMethod?: {
|
|
156
|
+
accountId?: {
|
|
157
|
+
$eq?: string;
|
|
158
|
+
};
|
|
159
|
+
paymentMethodId?: {
|
|
160
|
+
$eq?: string;
|
|
161
|
+
$in?: string[];
|
|
162
|
+
};
|
|
163
|
+
typeOf?: {
|
|
164
|
+
$eq?: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
paymentMethodId?: {
|
|
168
|
+
$eq?: string;
|
|
169
|
+
};
|
|
170
|
+
event?: {
|
|
171
|
+
id?: {
|
|
172
|
+
$in?: string[];
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
acceptedOffer?: {
|
|
176
|
+
itemOffered?: {
|
|
177
|
+
serviceOutput?: {
|
|
178
|
+
reservedTicket?: {
|
|
179
|
+
ticketedSeat?: {
|
|
180
|
+
seatNumber?: {
|
|
181
|
+
$in?: string[];
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
typeOf?: {
|
|
189
|
+
$eq?: string;
|
|
190
|
+
$in?: string[];
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
startFrom?: Date;
|
|
194
|
+
startThrough?: Date;
|
|
195
|
+
purpose?: {
|
|
196
|
+
typeOf?: {
|
|
197
|
+
$in?: string[];
|
|
198
|
+
};
|
|
199
|
+
id?: {
|
|
200
|
+
$in?: string[];
|
|
201
|
+
};
|
|
202
|
+
orderNumber?: {
|
|
203
|
+
$in?: string[];
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
result?: {
|
|
207
|
+
typeOf?: {
|
|
208
|
+
$in?: string[];
|
|
209
|
+
};
|
|
210
|
+
id?: {
|
|
211
|
+
$in?: string[];
|
|
212
|
+
};
|
|
213
|
+
orderNumber?: {
|
|
214
|
+
$in?: string[];
|
|
215
|
+
};
|
|
216
|
+
code?: {
|
|
217
|
+
$in?: string[];
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
fromLocation?: {
|
|
221
|
+
typeOf?: {
|
|
222
|
+
$in?: string[];
|
|
223
|
+
};
|
|
224
|
+
accountNumber?: {
|
|
225
|
+
$in?: string[];
|
|
226
|
+
};
|
|
227
|
+
accountType?: {
|
|
228
|
+
$in?: string[];
|
|
229
|
+
};
|
|
230
|
+
};
|
|
231
|
+
toLocation?: {
|
|
232
|
+
typeOf?: {
|
|
233
|
+
$in?: string[];
|
|
234
|
+
};
|
|
235
|
+
accountNumber?: {
|
|
236
|
+
$in?: string[];
|
|
237
|
+
};
|
|
238
|
+
accountType?: {
|
|
239
|
+
$in?: string[];
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* アクションステータス
|
|
3
3
|
*/
|
|
4
|
-
declare enum ActionStatusType {
|
|
4
|
+
export declare enum ActionStatusType {
|
|
5
5
|
ActiveActionStatus = "ActiveActionStatus",
|
|
6
6
|
CompletedActionStatus = "CompletedActionStatus",
|
|
7
7
|
FailedActionStatus = "FailedActionStatus",
|
|
8
8
|
PotentialActionStatus = "PotentialActionStatus",
|
|
9
9
|
CanceledActionStatus = "CanceledActionStatus"
|
|
10
10
|
}
|
|
11
|
-
export default ActionStatusType;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionStatusType = void 0;
|
|
3
4
|
/**
|
|
4
5
|
* アクションステータス
|
|
5
6
|
*/
|
|
@@ -10,5 +11,4 @@ var ActionStatusType;
|
|
|
10
11
|
ActionStatusType["FailedActionStatus"] = "FailedActionStatus";
|
|
11
12
|
ActionStatusType["PotentialActionStatus"] = "PotentialActionStatus";
|
|
12
13
|
ActionStatusType["CanceledActionStatus"] = "CanceledActionStatus";
|
|
13
|
-
})(ActionStatusType || (ActionStatusType = {}));
|
|
14
|
-
exports.default = ActionStatusType;
|
|
14
|
+
})(ActionStatusType = exports.ActionStatusType || (exports.ActionStatusType = {}));
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* アクションタイプ
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ActionType {
|
|
5
|
+
AuthorizeAction = "AuthorizeAction",
|
|
6
|
+
CancelAction = "CancelAction",
|
|
7
|
+
CheckAction = "CheckAction",
|
|
8
|
+
ConfirmAction = "ConfirmAction",
|
|
9
|
+
CreateAction = "CreateAction",
|
|
10
|
+
DeleteAction = "DeleteAction",
|
|
11
|
+
GiveAction = "GiveAction",
|
|
12
|
+
InformAction = "InformAction",
|
|
13
|
+
MoneyTransfer = "MoneyTransfer",
|
|
14
|
+
OrderAction = "OrderAction",
|
|
15
|
+
PayAction = "PayAction",
|
|
16
|
+
RefundAction = "RefundAction",
|
|
17
|
+
RegisterAction = "RegisterAction",
|
|
18
|
+
ReplaceAction = "ReplaceAction",
|
|
19
|
+
ReserveAction = "ReserveAction",
|
|
20
|
+
ReturnAction = "ReturnAction",
|
|
21
|
+
SendAction = "SendAction",
|
|
22
|
+
UnRegisterAction = "UnRegisterAction",
|
|
23
|
+
UpdateAction = "UpdateAction",
|
|
24
|
+
UseAction = "UseAction"
|
|
25
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ActionType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* アクションタイプ
|
|
6
|
+
*/
|
|
7
|
+
var ActionType;
|
|
8
|
+
(function (ActionType) {
|
|
9
|
+
ActionType["AuthorizeAction"] = "AuthorizeAction";
|
|
10
|
+
ActionType["CancelAction"] = "CancelAction";
|
|
11
|
+
ActionType["CheckAction"] = "CheckAction";
|
|
12
|
+
ActionType["ConfirmAction"] = "ConfirmAction";
|
|
13
|
+
ActionType["CreateAction"] = "CreateAction";
|
|
14
|
+
ActionType["DeleteAction"] = "DeleteAction";
|
|
15
|
+
ActionType["GiveAction"] = "GiveAction";
|
|
16
|
+
ActionType["InformAction"] = "InformAction";
|
|
17
|
+
ActionType["MoneyTransfer"] = "MoneyTransfer";
|
|
18
|
+
ActionType["OrderAction"] = "OrderAction";
|
|
19
|
+
ActionType["PayAction"] = "PayAction";
|
|
20
|
+
// PrintAction = 'PrintAction',
|
|
21
|
+
ActionType["RefundAction"] = "RefundAction";
|
|
22
|
+
ActionType["RegisterAction"] = "RegisterAction";
|
|
23
|
+
ActionType["ReplaceAction"] = "ReplaceAction";
|
|
24
|
+
ActionType["ReserveAction"] = "ReserveAction";
|
|
25
|
+
ActionType["ReturnAction"] = "ReturnAction";
|
|
26
|
+
ActionType["SendAction"] = "SendAction";
|
|
27
|
+
ActionType["UnRegisterAction"] = "UnRegisterAction";
|
|
28
|
+
ActionType["UpdateAction"] = "UpdateAction";
|
|
29
|
+
ActionType["UseAction"] = "UseAction";
|
|
30
|
+
})(ActionType = exports.ActionType || (exports.ActionType = {}));
|