@cinerino/sdk 14.0.0-alpha.1 → 14.0.0-alpha.10
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 -2
- package/lib/abstract/auth/authClient.js +10 -60
- package/lib/abstract/chevre/categoryCode.d.ts +1 -1
- package/lib/abstract/chevre/categoryCode.js +16 -84
- package/lib/abstract/chevre/creativeWork.d.ts +1 -1
- package/lib/abstract/chevre/creativeWork.js +16 -84
- package/lib/abstract/chevre/emailMessage.d.ts +1 -1
- package/lib/abstract/chevre/emailMessage.js +16 -84
- package/lib/abstract/chevre/event/factory.d.ts +1 -1
- package/lib/abstract/chevre/event.d.ts +1 -1
- package/lib/abstract/chevre/event.js +102 -270
- package/lib/abstract/chevre/eventOffer.d.ts +1 -1
- package/lib/abstract/chevre/eventOffer.js +13 -76
- package/lib/abstract/chevre/eventSeries.d.ts +1 -1
- package/lib/abstract/chevre/eventSeries.js +12 -75
- package/lib/abstract/chevre/note.d.ts +1 -1
- package/lib/abstract/chevre/note.js +14 -77
- package/lib/abstract/chevre/paymentService.d.ts +1 -1
- package/lib/abstract/chevre/paymentService.js +14 -78
- package/lib/abstract/chevre/place/hasPOS.d.ts +1 -1
- package/lib/abstract/chevre/place/hasPOS.js +13 -99
- package/lib/abstract/chevre/place.d.ts +1 -1
- package/lib/abstract/chevre/place.js +82 -232
- package/lib/abstract/chevre/product.d.ts +1 -1
- package/lib/abstract/chevre/product.js +33 -123
- package/lib/abstract/chevre/productOffer.d.ts +1 -1
- package/lib/abstract/chevre/productOffer.js +13 -76
- package/lib/abstract/chevre/seatOffer.d.ts +1 -1
- package/lib/abstract/chevre/seatOffer.js +15 -79
- package/lib/abstract/chevre/seller/factory.d.ts +1 -1
- package/lib/abstract/chevre/seller.d.ts +1 -1
- package/lib/abstract/chevre/seller.js +42 -128
- package/lib/abstract/chevre/trip.d.ts +1 -1
- package/lib/abstract/chevre/trip.js +16 -84
- package/lib/abstract/chevre.d.ts +0 -9
- package/lib/abstract/chevre.js +110 -342
- package/lib/abstract/chevreAdmic/sync.js +24 -94
- package/lib/abstract/chevreAdmic.js +11 -69
- package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.d.ts +1 -1
- package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.js +11 -76
- package/lib/abstract/chevreAdmin/authorization.d.ts +1 -1
- package/lib/abstract/chevreAdmin/authorization.js +13 -76
- package/lib/abstract/chevreAdmin/customer.d.ts +1 -1
- package/lib/abstract/chevreAdmin/customer.js +13 -76
- package/lib/abstract/chevreAdmin/event.d.ts +1 -1
- package/lib/abstract/chevreAdmin/event.js +56 -162
- package/lib/abstract/chevreAdmin/eventOffer.d.ts +1 -1
- package/lib/abstract/chevreAdmin/eventOffer.js +41 -134
- package/lib/abstract/chevreAdmin/eventSeries.d.ts +1 -1
- package/lib/abstract/chevreAdmin/eventSeries.js +30 -104
- package/lib/abstract/chevreAdmin/me.d.ts +1 -1
- package/lib/abstract/chevreAdmin/me.js +25 -104
- package/lib/abstract/chevreAdmin/member.d.ts +1 -1
- package/lib/abstract/chevreAdmin/member.js +14 -100
- package/lib/abstract/chevreAdmin/movie.d.ts +1 -1
- package/lib/abstract/chevreAdmin/movie.js +21 -93
- package/lib/abstract/chevreAdmin/movieTheater.d.ts +1 -1
- package/lib/abstract/chevreAdmin/movieTheater.js +56 -162
- package/lib/abstract/chevreAdmin/note.d.ts +1 -1
- package/lib/abstract/chevreAdmin/note.js +32 -117
- package/lib/abstract/chevreAdmin/noteAboutOrder.d.ts +1 -1
- package/lib/abstract/chevreAdmin/noteAboutOrder.js +29 -112
- package/lib/abstract/chevreAdmin/offer.d.ts +1 -1
- package/lib/abstract/chevreAdmin/offer.js +24 -98
- package/lib/abstract/chevreAdmin/offerCatalog.d.ts +1 -1
- package/lib/abstract/chevreAdmin/offerCatalog.js +18 -85
- package/lib/abstract/chevreAdmin/offerCatalogItem.d.ts +1 -1
- package/lib/abstract/chevreAdmin/offerCatalogItem.js +25 -99
- package/lib/abstract/chevreAdmin/order.d.ts +1 -1
- package/lib/abstract/chevreAdmin/order.js +50 -161
- package/lib/abstract/chevreAdmin/paymentMethod.d.ts +1 -1
- package/lib/abstract/chevreAdmin/paymentMethod.js +15 -78
- package/lib/abstract/chevreAdmin/product.d.ts +1 -1
- package/lib/abstract/chevreAdmin/product.js +31 -110
- package/lib/abstract/chevreAdmin/productOffer.d.ts +1 -1
- package/lib/abstract/chevreAdmin/productOffer.js +41 -134
- package/lib/abstract/chevreAdmin/reservation.d.ts +1 -1
- package/lib/abstract/chevreAdmin/reservation.js +31 -125
- package/lib/abstract/chevreAdmin/room.d.ts +1 -1
- package/lib/abstract/chevreAdmin/room.js +25 -99
- package/lib/abstract/chevreAdmin/seat.d.ts +1 -1
- package/lib/abstract/chevreAdmin/seat.js +38 -129
- package/lib/abstract/chevreAdmin/seatSection.d.ts +1 -1
- package/lib/abstract/chevreAdmin/seatSection.js +25 -99
- package/lib/abstract/chevreAdmin/seller.d.ts +1 -1
- package/lib/abstract/chevreAdmin/seller.js +13 -76
- package/lib/abstract/chevreAdmin.d.ts +0 -9
- package/lib/abstract/chevreAdmin.js +174 -505
- package/lib/abstract/chevreAsset/order/factory.d.ts +1 -1
- package/lib/abstract/chevreAsset/order.js +77 -231
- package/lib/abstract/chevreAsset/permit.d.ts +1 -1
- package/lib/abstract/chevreAsset/permit.js +22 -92
- package/lib/abstract/chevreAsset/reservation/factory.d.ts +1 -1
- package/lib/abstract/chevreAsset/reservation.d.ts +1 -1
- package/lib/abstract/chevreAsset/reservation.js +23 -93
- package/lib/abstract/chevreAsset/token.js +3 -23
- package/lib/abstract/chevreAsset.d.ts +0 -20
- package/lib/abstract/chevreAsset.js +48 -171
- package/lib/abstract/chevreConsole/account.d.ts +1 -1
- package/lib/abstract/chevreConsole/account.js +32 -116
- package/lib/abstract/chevreConsole/accountTitle.d.ts +1 -1
- package/lib/abstract/chevreConsole/accountTitle.js +113 -303
- package/lib/abstract/chevreConsole/accountTransaction.d.ts +3 -3
- package/lib/abstract/chevreConsole/accountTransaction.js +16 -84
- package/lib/abstract/chevreConsole/accountingReport.d.ts +1 -1
- package/lib/abstract/chevreConsole/accountingReport.js +16 -84
- package/lib/abstract/chevreConsole/action.d.ts +1 -1
- package/lib/abstract/chevreConsole/action.js +33 -115
- package/lib/abstract/chevreConsole/additionalProperty.d.ts +1 -1
- package/lib/abstract/chevreConsole/additionalProperty.js +46 -146
- package/lib/abstract/chevreConsole/advanceBookingRequirement.d.ts +1 -1
- package/lib/abstract/chevreConsole/advanceBookingRequirement.js +36 -139
- package/lib/abstract/chevreConsole/aggregateOffer.d.ts +1 -1
- package/lib/abstract/chevreConsole/aggregateOffer.js +22 -99
- package/lib/abstract/chevreConsole/aggregateReservation.d.ts +1 -1
- package/lib/abstract/chevreConsole/aggregateReservation.js +12 -75
- package/lib/abstract/chevreConsole/aggregation.d.ts +1 -1
- package/lib/abstract/chevreConsole/aggregation.js +15 -86
- package/lib/abstract/chevreConsole/assetTransaction/moneyTransfer.d.ts +1 -1
- package/lib/abstract/chevreConsole/assetTransaction/moneyTransfer.js +33 -139
- package/lib/abstract/chevreConsole/assetTransaction/pay.d.ts +1 -1
- package/lib/abstract/chevreConsole/assetTransaction/pay.js +41 -165
- package/lib/abstract/chevreConsole/assetTransaction/registerService.d.ts +1 -1
- package/lib/abstract/chevreConsole/assetTransaction/registerService.js +33 -150
- package/lib/abstract/chevreConsole/assetTransaction/reserve.d.ts +1 -1
- package/lib/abstract/chevreConsole/assetTransaction/reserve.js +40 -143
- package/lib/abstract/chevreConsole/assetTransaction.d.ts +1 -1
- package/lib/abstract/chevreConsole/assetTransaction.js +16 -84
- package/lib/abstract/chevreConsole/authorization.d.ts +1 -1
- package/lib/abstract/chevreConsole/authorization.js +13 -76
- package/lib/abstract/chevreConsole/categoryCode.d.ts +1 -1
- package/lib/abstract/chevreConsole/categoryCode.js +39 -136
- package/lib/abstract/chevreConsole/comment.d.ts +1 -1
- package/lib/abstract/chevreConsole/comment.js +25 -100
- package/lib/abstract/chevreConsole/creativeWork.js +11 -76
- package/lib/abstract/chevreConsole/customer.d.ts +1 -1
- package/lib/abstract/chevreConsole/customer.js +26 -107
- package/lib/abstract/chevreConsole/customerType.d.ts +1 -1
- package/lib/abstract/chevreConsole/customerType.js +13 -76
- package/lib/abstract/chevreConsole/emailMessage.d.ts +1 -1
- package/lib/abstract/chevreConsole/emailMessage.js +47 -147
- package/lib/abstract/chevreConsole/event/factory.d.ts +1 -1
- package/lib/abstract/chevreConsole/event.d.ts +1 -1
- package/lib/abstract/chevreConsole/event.js +59 -183
- package/lib/abstract/chevreConsole/eventSeries.js +20 -115
- package/lib/abstract/chevreConsole/hasMerchantReturnPolicy.d.ts +1 -1
- package/lib/abstract/chevreConsole/hasMerchantReturnPolicy.js +11 -74
- package/lib/abstract/chevreConsole/iam.d.ts +1 -1
- package/lib/abstract/chevreConsole/iam.js +116 -301
- package/lib/abstract/chevreConsole/identity.d.ts +1 -1
- package/lib/abstract/chevreConsole/identity.js +36 -139
- package/lib/abstract/chevreConsole/identityProvider.d.ts +1 -1
- package/lib/abstract/chevreConsole/identityProvider.js +36 -139
- package/lib/abstract/chevreConsole/issuer.d.ts +1 -1
- package/lib/abstract/chevreConsole/issuer.js +44 -152
- package/lib/abstract/chevreConsole/me.d.ts +1 -1
- package/lib/abstract/chevreConsole/me.js +26 -109
- package/lib/abstract/chevreConsole/member.d.ts +1 -1
- package/lib/abstract/chevreConsole/member.js +63 -210
- package/lib/abstract/chevreConsole/memberProgram.js +47 -156
- package/lib/abstract/chevreConsole/merchantReturnPolicy.d.ts +1 -1
- package/lib/abstract/chevreConsole/merchantReturnPolicy.js +45 -145
- package/lib/abstract/chevreConsole/message.d.ts +1 -1
- package/lib/abstract/chevreConsole/message.js +12 -75
- package/lib/abstract/chevreConsole/movieTicketType.d.ts +1 -1
- package/lib/abstract/chevreConsole/movieTicketType.js +36 -124
- package/lib/abstract/chevreConsole/offer.d.ts +1 -1
- package/lib/abstract/chevreConsole/offer.js +29 -108
- package/lib/abstract/chevreConsole/offerCatalog.d.ts +1 -1
- package/lib/abstract/chevreConsole/offerCatalog.js +35 -135
- package/lib/abstract/chevreConsole/offerCatalogItem.d.ts +1 -1
- package/lib/abstract/chevreConsole/offerCatalogItem.js +51 -167
- package/lib/abstract/chevreConsole/offerItemCondition.d.ts +1 -1
- package/lib/abstract/chevreConsole/offerItemCondition.js +37 -130
- package/lib/abstract/chevreConsole/order/factory.d.ts +1 -1
- package/lib/abstract/chevreConsole/order.d.ts +1 -1
- package/lib/abstract/chevreConsole/order.js +44 -143
- package/lib/abstract/chevreConsole/ownershipInfo.d.ts +1 -1
- package/lib/abstract/chevreConsole/ownershipInfo.js +16 -84
- package/lib/abstract/chevreConsole/paymentService.d.ts +1 -1
- package/lib/abstract/chevreConsole/paymentService.js +54 -168
- package/lib/abstract/chevreConsole/paymentServiceChannel.d.ts +1 -1
- package/lib/abstract/chevreConsole/paymentServiceChannel.js +36 -139
- package/lib/abstract/chevreConsole/pendingReservation.d.ts +1 -1
- package/lib/abstract/chevreConsole/pendingReservation.js +23 -94
- package/lib/abstract/chevreConsole/permission.js +22 -93
- package/lib/abstract/chevreConsole/permit.d.ts +1 -1
- package/lib/abstract/chevreConsole/permit.js +34 -116
- package/lib/abstract/chevreConsole/person.d.ts +1 -13
- package/lib/abstract/chevreConsole/person.js +67 -205
- package/lib/abstract/chevreConsole/place/hasPOS.d.ts +1 -1
- package/lib/abstract/chevreConsole/place/hasPOS.js +33 -146
- package/lib/abstract/chevreConsole/place.d.ts +1 -1
- package/lib/abstract/chevreConsole/place.js +83 -246
- package/lib/abstract/chevreConsole/priceSpecification.d.ts +1 -1
- package/lib/abstract/chevreConsole/priceSpecification.js +37 -130
- package/lib/abstract/chevreConsole/product.d.ts +1 -1
- package/lib/abstract/chevreConsole/product.js +47 -154
- package/lib/abstract/chevreConsole/productModel.d.ts +1 -1
- package/lib/abstract/chevreConsole/productModel.js +34 -122
- package/lib/abstract/chevreConsole/project.d.ts +1 -1
- package/lib/abstract/chevreConsole/project.js +38 -147
- package/lib/abstract/chevreConsole/projectMakesOffer.d.ts +1 -1
- package/lib/abstract/chevreConsole/projectMakesOffer.js +32 -122
- package/lib/abstract/chevreConsole/reservation/factory.d.ts +1 -1
- package/lib/abstract/chevreConsole/reservation.js +11 -76
- package/lib/abstract/chevreConsole/seller/factory.d.ts +1 -1
- package/lib/abstract/chevreConsole/seller.d.ts +1 -1
- package/lib/abstract/chevreConsole/seller.js +135 -358
- package/lib/abstract/chevreConsole/sellerMakesOffer.d.ts +1 -1
- package/lib/abstract/chevreConsole/sellerMakesOffer.js +26 -107
- package/lib/abstract/chevreConsole/sellerReturnPolicy.d.ts +1 -1
- package/lib/abstract/chevreConsole/sellerReturnPolicy.js +45 -156
- package/lib/abstract/chevreConsole/task.d.ts +1 -1
- package/lib/abstract/chevreConsole/task.js +29 -108
- package/lib/abstract/chevreConsole/ticket.d.ts +1 -1
- package/lib/abstract/chevreConsole/ticket.js +12 -75
- package/lib/abstract/chevreConsole/token.js +3 -23
- package/lib/abstract/chevreConsole/transaction/placeOrder.d.ts +2 -3
- package/lib/abstract/chevreConsole/transaction/placeOrder.js +28 -139
- package/lib/abstract/chevreConsole/transaction/returnOrder.d.ts +2 -3
- package/lib/abstract/chevreConsole/transaction/returnOrder.js +18 -110
- package/lib/abstract/chevreConsole/transactionNumber.js +13 -76
- package/lib/abstract/chevreConsole/trip.d.ts +1 -1
- package/lib/abstract/chevreConsole/trip.js +46 -146
- package/lib/abstract/chevreConsole/userPool.d.ts +1 -1
- package/lib/abstract/chevreConsole/userPool.js +32 -114
- package/lib/abstract/chevreConsole/webSite.d.ts +1 -1
- package/lib/abstract/chevreConsole/webSite.js +36 -128
- package/lib/abstract/chevreConsole.d.ts +0 -11
- package/lib/abstract/chevreConsole.js +479 -1286
- package/lib/abstract/chevrePay/payment/factory.d.ts +1 -1
- package/lib/abstract/chevrePay/payment.d.ts +1 -1
- package/lib/abstract/chevrePay/payment.js +300 -498
- package/lib/abstract/chevrePay.js +16 -77
- package/lib/abstract/chevreTxc/offer/factory.d.ts +1 -1
- package/lib/abstract/chevreTxc/offer.d.ts +1 -1
- package/lib/abstract/chevreTxc/offer.js +69 -195
- package/lib/abstract/chevreTxc.js +16 -77
- package/lib/abstract/chevreTxn/offer.d.ts +1 -1
- package/lib/abstract/chevreTxn/offer.js +57 -183
- package/lib/abstract/chevreTxn/transaction/placeOrder/factory.d.ts +1 -1
- package/lib/abstract/chevreTxn/transaction/placeOrder.d.ts +3 -3
- package/lib/abstract/chevreTxn/transaction/placeOrder.js +53 -197
- package/lib/abstract/chevreTxn/transaction/returnOrder/factory.d.ts +1 -1
- package/lib/abstract/chevreTxn/transaction/returnOrder.d.ts +3 -3
- package/lib/abstract/chevreTxn/transaction/returnOrder.js +38 -165
- package/lib/abstract/chevreTxn/transaction.d.ts +1 -11
- package/lib/abstract/chevreTxn/transaction.js +0 -10
- package/lib/abstract/chevreTxn.js +41 -112
- package/lib/abstract/cinerino/default.js +22 -72
- package/lib/abstract/cinerino/service/categoryCode.d.ts +1 -1
- package/lib/abstract/cinerino/service/categoryCode.js +18 -94
- package/lib/abstract/cinerino/service/emailMessage.d.ts +1 -1
- package/lib/abstract/cinerino/service/emailMessage.js +18 -94
- package/lib/abstract/cinerino/service/event.d.ts +1 -1
- package/lib/abstract/cinerino/service/event.js +165 -351
- package/lib/abstract/cinerino/service/place/hasPOS.d.ts +1 -1
- package/lib/abstract/cinerino/service/place/hasPOS.js +16 -110
- package/lib/abstract/cinerino/service/place.d.ts +1 -1
- package/lib/abstract/cinerino/service/place.js +31 -142
- package/lib/abstract/cinerino/service/seller.d.ts +1 -1
- package/lib/abstract/cinerino/service/seller.js +54 -165
- package/lib/abstract/cloud/admin/creativeWork.d.ts +1 -1
- package/lib/abstract/cloud/admin/creativeWork.js +12 -83
- package/lib/abstract/cloud/admin/customer.d.ts +1 -1
- package/lib/abstract/cloud/admin/customer.js +19 -80
- package/lib/abstract/cloud/admin/event.d.ts +1 -1
- package/lib/abstract/cloud/admin/event.js +66 -210
- package/lib/abstract/cloud/admin/eventOffer.js +24 -119
- package/lib/abstract/cloud/admin/eventSeries.d.ts +1 -1
- package/lib/abstract/cloud/admin/eventSeries.js +12 -94
- package/lib/abstract/cloud/admin/me.js +18 -106
- package/lib/abstract/cloud/admin/noteAboutOrder.d.ts +1 -1
- package/lib/abstract/cloud/admin/noteAboutOrder.js +33 -138
- package/lib/abstract/cloud/admin/offer.d.ts +1 -1
- package/lib/abstract/cloud/admin/offer.js +88 -186
- package/lib/abstract/cloud/admin/offerCatalog.d.ts +1 -1
- package/lib/abstract/cloud/admin/offerCatalog.js +20 -126
- package/lib/abstract/cloud/admin/offerCatalogItem.d.ts +1 -1
- package/lib/abstract/cloud/admin/offerCatalogItem.js +25 -117
- package/lib/abstract/cloud/admin/order.d.ts +1 -1
- package/lib/abstract/cloud/admin/order.js +108 -219
- package/lib/abstract/cloud/admin/paymentMethod.js +12 -80
- package/lib/abstract/cloud/admin/product.d.ts +1 -1
- package/lib/abstract/cloud/admin/product.js +25 -114
- package/lib/abstract/cloud/admin/productOffer.d.ts +1 -1
- package/lib/abstract/cloud/admin/productOffer.js +28 -126
- package/lib/abstract/cloud/admin/reservation.d.ts +1 -1
- package/lib/abstract/cloud/admin/reservation.js +91 -224
- package/lib/abstract/cloud/admin/seller.d.ts +1 -1
- package/lib/abstract/cloud/admin/seller.js +12 -79
- package/lib/abstract/cloud/admin.d.ts +0 -9
- package/lib/abstract/cloud/admin.js +118 -361
- package/lib/abstract/cloud/asset/delivery.js +23 -94
- package/lib/abstract/cloud/asset/order.js +180 -251
- package/lib/abstract/cloud/asset/reservation.d.ts +1 -1
- package/lib/abstract/cloud/asset/reservation.js +28 -113
- package/lib/abstract/cloud/asset/token.js +3 -23
- package/lib/abstract/cloud/asset.js +45 -124
- package/lib/abstract/cloud/pay/payment.d.ts +1 -1
- package/lib/abstract/cloud/pay/payment.js +387 -689
- package/lib/abstract/cloud/pay.js +18 -73
- package/lib/abstract/cloud/search/creativeWork.js +13 -76
- package/lib/abstract/cloud/search/eventOffer.js +15 -79
- package/lib/abstract/cloud/search/paymentService.js +14 -78
- package/lib/abstract/cloud/search/place.d.ts +1 -1
- package/lib/abstract/cloud/search/place.js +24 -96
- package/lib/abstract/cloud/search/product.d.ts +1 -1
- package/lib/abstract/cloud/search/product.js +34 -114
- package/lib/abstract/cloud/search/productOffer.js +15 -79
- package/lib/abstract/cloud/search/seatOffer.js +15 -79
- package/lib/abstract/cloud/search.d.ts +0 -12
- package/lib/abstract/cloud/search.js +69 -195
- package/lib/abstract/cloud/txc/transaction/forceAsync.d.ts +1 -1
- package/lib/abstract/cloud/txc/transaction/forceAsync.js +113 -206
- package/lib/abstract/cloud/txc/transaction/placeOrder.d.ts +1 -1
- package/lib/abstract/cloud/txc/transaction/placeOrder.js +146 -242
- package/lib/abstract/cloud/txc.js +17 -72
- package/lib/abstract/cloud/txn/offer.d.ts +1 -1
- package/lib/abstract/cloud/txn/offer.js +72 -172
- package/lib/abstract/cloud/txn/transaction/placeOrder.d.ts +1 -1
- package/lib/abstract/cloud/txn/transaction/placeOrder.js +145 -234
- package/lib/abstract/cloud/txn/transaction/returnOrder.d.ts +1 -1
- package/lib/abstract/cloud/txn/transaction/returnOrder.js +60 -141
- package/lib/abstract/cloud/txn.js +37 -108
- package/lib/abstract/factory.d.ts +1 -1
- package/lib/abstract/factory.js +3 -15
- package/lib/abstract/index.d.ts +1 -1
- package/lib/abstract/index.js +90 -348
- package/lib/abstract/pecorino/accountTransaction.d.ts +3 -3
- package/lib/abstract/pecorino/accountTransaction.js +45 -146
- package/lib/abstract/pecorino/permit.d.ts +1 -1
- package/lib/abstract/pecorino/permit.js +24 -102
- package/lib/abstract/pecorino.d.ts +1 -1
- package/lib/abstract/pecorino.js +8 -56
- package/lib/abstract/service.js +65 -114
- package/lib/abstract/transporters.d.ts +2 -2
- package/lib/abstract/transporters.js +67 -143
- package/lib/abstract/waiterAdmin/rule.d.ts +1 -1
- package/lib/abstract/waiterAdmin/rule.js +13 -76
- package/lib/abstract/waiterAdmin/ruleSet.d.ts +1 -1
- package/lib/abstract/waiterAdmin/ruleSet.js +20 -92
- package/lib/abstract/waiterAdmin.js +18 -87
- package/lib/auth/clientCredentialsClient.js +75 -155
- package/lib/auth/implicitGrantClient/error.d.ts +3 -3
- package/lib/auth/implicitGrantClient/error.js +5 -22
- package/lib/auth/implicitGrantClient/iframeHandler.js +35 -26
- package/lib/auth/implicitGrantClient/popupAuthenticationHandler.js +33 -72
- package/lib/auth/implicitGrantClient/popupHandler.js +35 -26
- package/lib/auth/implicitGrantClient/silentAuthenticationHandler.js +33 -72
- package/lib/auth/implicitGrantClient/silentLogoutHandler.js +33 -72
- package/lib/auth/implicitGrantClient.js +153 -281
- package/lib/auth/loginTicket.js +7 -6
- package/lib/auth/oAuth2client.js +310 -402
- package/lib/browser.js +2 -2
- package/lib/bundle.js +5 -42891
- package/lib/bundle.js.map +7 -0
- package/lib/index.js +19 -99
- package/package.json +12 -19
- package/example/browser/index.html +0 -288
- package/example/browser/lib/bundle.js +0 -34646
- package/example/browser/signIn.html +0 -18
- package/example/browser/signOut.html +0 -13
- package/example/playground/.gcloudignore +0 -17
- package/example/playground/app.js +0 -96
- package/example/playground/package.json +0 -26
- package/example/playground/public/index.html +0 -425
- package/example/playground/public/lib/bundle.js +0 -42899
- package/example/playground/public/signIn.html +0 -18
- package/example/playground/public/signOut.html +0 -15
- package/example/playground/test/app.test.js +0 -15
- package/example/src/auth/auth.ts +0 -71
- package/example/src/auth/authAsAdmin.ts +0 -71
- package/example/src/auth/authChild.ts +0 -64
- package/example/src/auth/clientCredentials.ts +0 -11
- package/example/src/chevre/admic/syncEventSeries.ts +0 -41
- package/example/src/chevre/admic/syncEvents.ts +0 -43
- package/example/src/chevre/admin/adminAcceptedPaymentMethods.ts +0 -128
- package/example/src/chevre/admin/adminCreateEventIfNotExistByIdentifierBySoftware.ts +0 -102
- package/example/src/chevre/admin/adminCreateNotesIfNotExistByIdentifier.ts +0 -67
- package/example/src/chevre/admin/adminEntranceGates.ts +0 -72
- package/example/src/chevre/admin/adminEventOffersByIdentifier.ts +0 -80
- package/example/src/chevre/admin/adminEventSeries.ts +0 -81
- package/example/src/chevre/admin/adminFindEvents.ts +0 -52
- package/example/src/chevre/admin/adminMovieTheaters.ts +0 -80
- package/example/src/chevre/admin/adminOfferCatalogs.ts +0 -71
- package/example/src/chevre/admin/adminProductOffersByIdentifier.ts +0 -85
- package/example/src/chevre/admin/adminRooms.ts +0 -51
- package/example/src/chevre/admin/adminSeatSections.ts +0 -49
- package/example/src/chevre/admin/deleteSeats.ts +0 -49
- package/example/src/chevre/admin/findMyProjects.ts +0 -59
- package/example/src/chevre/admin/findMySellers.ts +0 -32
- package/example/src/chevre/admin/findPaymentServices.ts +0 -44
- package/example/src/chevre/admin/findProductHasOfferCatalog.ts +0 -33
- package/example/src/chevre/admin/findProducts.ts +0 -47
- package/example/src/chevre/admin/findRooms.ts +0 -58
- package/example/src/chevre/admin/updateEventsSellerMakesOfferByIdentifier.ts +0 -79
- package/example/src/chevre/adminOffers.ts +0 -87
- package/example/src/chevre/adminProducts.ts +0 -47
- package/example/src/chevre/adminSearchMembers.ts +0 -30
- package/example/src/chevre/adminSearchOrderActions.ts +0 -31
- package/example/src/chevre/adminSearchOrders.ts +0 -32
- package/example/src/chevre/auth.ts +0 -68
- package/example/src/chevre/authorizeOrder.ts +0 -38
- package/example/src/chevre/console/adminEventSellerMakesOffer.ts +0 -107
- package/example/src/chevre/console/adminSellerMakesOffer.ts +0 -65
- package/example/src/chevre/default/findAcceptedPaymentMethods.ts +0 -35
- package/example/src/chevre/default/findCategoryCodes.ts +0 -40
- package/example/src/chevre/default/findEventSeatOffersBySection.ts +0 -38
- package/example/src/chevre/default/findMovieTheaters.ts +0 -43
- package/example/src/chevre/default/findProductOffers.ts +0 -42
- package/example/src/chevre/default/findPublicNotes.ts +0 -38
- package/example/src/chevre/default/findSeatOffersDeprecated.ts +0 -38
- package/example/src/chevre/default/findSeatsBySection.ts +0 -40
- package/example/src/chevre/default/findSectionsByRoom.ts +0 -38
- package/example/src/chevre/default/searchEvents.ts +0 -64
- package/example/src/chevre/default/searchSellers.ts +0 -42
- package/example/src/chevre/findOrderByConfirmationNumber.ts +0 -41
- package/example/src/chevre/findReservationByCode.ts +0 -36
- package/example/src/chevre/searchAcceptedOffersByConfirmationNumber.ts +0 -41
- package/example/src/chevre/searchEventOffers.ts +0 -39
- package/example/src/chevre/searchEventSeries.ts +0 -54
- package/example/src/chevre/searchProductModels.ts +0 -39
- package/example/src/chevre/searchScreeningRoomSections.ts +0 -34
- package/example/src/chevre/transaction/processPlaceOrderMembership.ts +0 -154
- package/example/src/chevre/transaction/processPlaceOrderUsingTicketIssuedThroughFaceToFace.ts +0 -194
- package/example/src/chevre/transaction/processReturnOrder.ts +0 -40
- package/example/src/cloud/admin/adminAcceptedPaymentMethods.ts +0 -67
- package/example/src/cloud/admin/adminCreateEventIfNotExistByIdentifierBySoftware.ts +0 -99
- package/example/src/cloud/admin/adminEventOffersByIdentifier.ts +0 -101
- package/example/src/cloud/admin/adminEventSeries.ts +0 -58
- package/example/src/cloud/admin/adminEventsByIdentifier.ts +0 -158
- package/example/src/cloud/admin/adminFindReservations.ts +0 -31
- package/example/src/cloud/admin/adminOfferCatalogs.ts +0 -50
- package/example/src/cloud/admin/adminProductOffersByIdentifier.ts +0 -77
- package/example/src/cloud/admin/findMyProjects.ts +0 -26
- package/example/src/cloud/admin/findMySellers.ts +0 -30
- package/example/src/cloud/adminCancelReservations.ts +0 -30
- package/example/src/cloud/adminCustomers.ts +0 -32
- package/example/src/cloud/adminMovies.ts +0 -38
- package/example/src/cloud/adminNotes.ts +0 -55
- package/example/src/cloud/adminOfferCatalogItems.ts +0 -66
- package/example/src/cloud/adminOffers.ts +0 -82
- package/example/src/cloud/adminProducts.ts +0 -48
- package/example/src/cloud/adminSearchSellers.ts +0 -31
- package/example/src/cloud/adminUseReservation.ts +0 -54
- package/example/src/cloud/findOrderByConfirmationNumber.ts +0 -28
- package/example/src/cloud/findReservationByCode.ts +0 -30
- package/example/src/cloud/search/findEventSeatOffersBySection.ts +0 -30
- package/example/src/cloud/search/findMovies.ts +0 -32
- package/example/src/cloud/search/findPaymentServices.ts +0 -28
- package/example/src/cloud/search/findProductOffers.ts +0 -28
- package/example/src/cloud/search/findProducts.ts +0 -29
- package/example/src/cloud/search/findSeatsBySection.ts +0 -32
- package/example/src/cloud/search/findSectionsByRoom.ts +0 -30
- package/example/src/cloud/searchReservationsByOrder.ts +0 -34
- package/example/src/cloud/transaction/authorizeCreditCardAsyncForcibly.ts +0 -102
- package/example/src/cloud/transaction/paymentAsyncForce.ts +0 -315
- package/example/src/cloud/transaction/placeOrderUsingAcceptedPaymentMethod.ts +0 -192
- package/example/src/cloud/transaction/placeOrderUsingAcceptedPaymentMethodMovieTicket.ts +0 -242
- package/example/src/cloud/transaction/placeOrderUsingEventOffer.ts +0 -332
- package/example/src/cloud/transaction/processPlaceOrder4ttts.ts +0 -265
- package/example/src/cloud/transaction/processPlaceOrderByCreditCard3DS.ts +0 -627
- package/example/src/cloud/transaction/processPlaceOrderCOAEventByCreditCard.ts +0 -278
- package/example/src/cloud/transaction/processPlaceOrderCOAEventByMovieTicket.ts +0 -270
- package/example/src/cloud/transaction/processPlaceOrderUsingMemberProgramTier.ts +0 -450
- package/example/src/cloud/transaction/processPlaceOrderUsingTicketIssuedThroughCreditCard.ts +0 -252
- package/example/src/cloud/transaction/processPlaceOrderUsingTicketIssuedThroughFaceToFace.ts +0 -179
- package/example/src/cloud/transaction/processReturnOrder.ts +0 -77
- package/example/src/cloud/transaction/test/lockTransactionTest.ts +0 -63
- package/example/src/cloud/transaction/test/rateLimitTest.ts +0 -73
- package/example/src/findEventById.ts +0 -35
- package/example/src/findMovieTheaters.ts +0 -37
- package/example/src/findSeatOffersDeprecated.ts +0 -26
- package/example/src/pecorino/findPermit.ts +0 -32
- package/example/src/searchAggregations.ts +0 -39
- package/example/src/searchEventOffers.ts +0 -96
- package/example/src/searchEventSeries.ts +0 -32
- package/example/src/searchEvents.ts +0 -39
- package/example/src/st/admin/getToken.ts +0 -60
- package/example/src/st/admin/preflight.ts +0 -27
- package/example/src/st/admin/searchSellers.ts +0 -37
- package/example/src/st/v1/processPlaceOrderByPOS.ts +0 -254
- package/example/src/st/v1/searchEventSeats.ts +0 -45
- package/example/src/st/v1/searchEventSeries.ts +0 -43
- package/example/src/st/v1/searchEvents.ts +0 -57
- package/example/src/st/v1/searchMovies.ts +0 -52
- package/example/src/st/v1/searchSellers.ts +0 -45
- package/example/src/st/v2/findEventSeatOffers.ts +0 -42
- package/example/src/st/v2/findEventSeries.ts +0 -44
- package/example/src/st/v2/findMovieTheaters.ts +0 -48
- package/example/src/st/v2/searchEvents.ts +0 -48
- package/example/src/st/v2/searchEventsByTokenGrant.ts +0 -51
- package/lib/abstract/chevre/acceptedPaymentMethod.d.ts +0 -23
- package/lib/abstract/chevre/acceptedPaymentMethod.js +0 -88
- package/lib/abstract/chevreAdmin/acceptedPaymentMethod.d.ts +0 -76
- package/lib/abstract/chevreAdmin/acceptedPaymentMethod.js +0 -128
- package/lib/abstract/chevreAsset/person/ownershipInfo.d.ts +0 -47
- package/lib/abstract/chevreAsset/person/ownershipInfo.js +0 -157
- package/lib/abstract/chevreAsset/person.d.ts +0 -33
- package/lib/abstract/chevreAsset/person.js +0 -175
- package/lib/abstract/chevreConsole/person/ownershipInfo.d.ts +0 -89
- package/lib/abstract/chevreConsole/person/ownershipInfo.js +0 -227
- package/lib/abstract/chevreConsole/transaction.d.ts +0 -7
- package/lib/abstract/chevreConsole/transaction.js +0 -12
- package/lib/abstract/cloud/admin/acceptedPaymentMethod.d.ts +0 -22
- package/lib/abstract/cloud/admin/acceptedPaymentMethod.js +0 -113
- package/lib/abstract/cloud/search/acceptedPaymentMethod.d.ts +0 -11
- package/lib/abstract/cloud/search/acceptedPaymentMethod.js +0 -89
package/README.md
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# Cinerino SDK
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@cinerino/sdk)
|
|
4
|
-
[](https://circleci.com/gh/cinerino/sdk)
|
|
5
|
-
[](https://coveralls.io/github/cinerino/sdk?branch=master)
|
|
6
4
|
[](https://snyk.io/test/github/cinerino/sdk?targetFile=package.json)
|
|
7
5
|
[](https://nodei.co/npm/@cinerino/sdk/)
|
|
8
6
|
|
|
@@ -1,73 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
13
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
3
|
exports.StubAuthClient = exports.AuthClient = void 0;
|
|
40
|
-
|
|
4
|
+
const transporters_1 = require("../transporters");
|
|
41
5
|
/**
|
|
42
6
|
* 抽象認証クライアント
|
|
43
7
|
*/
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
return AuthClient;
|
|
48
|
-
}());
|
|
8
|
+
class AuthClient {
|
|
9
|
+
}
|
|
49
10
|
exports.AuthClient = AuthClient;
|
|
50
11
|
/**
|
|
51
12
|
* テスト認証クライアント
|
|
52
13
|
*/
|
|
53
14
|
/* istanbul ignore next */
|
|
54
|
-
|
|
55
|
-
|
|
15
|
+
class StubAuthClient {
|
|
16
|
+
async fetch(url, options, expectedStatusCodes) {
|
|
17
|
+
return (new transporters_1.DefaultTransporter(expectedStatusCodes)).fetch(url, options);
|
|
18
|
+
}
|
|
19
|
+
async getAccessToken() {
|
|
20
|
+
return 'access_token';
|
|
56
21
|
}
|
|
57
|
-
|
|
58
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
59
|
-
return __generator(this, function (_a) {
|
|
60
|
-
return [2 /*return*/, (new transporters_1.DefaultTransporter(expectedStatusCodes)).fetch(url, options)];
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
StubAuthClient.prototype.getAccessToken = function () {
|
|
65
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
66
|
-
return __generator(this, function (_a) {
|
|
67
|
-
return [2 /*return*/, 'access_token'];
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
};
|
|
71
|
-
return StubAuthClient;
|
|
72
|
-
}());
|
|
22
|
+
}
|
|
73
23
|
exports.StubAuthClient = StubAuthClient;
|
|
@@ -1,95 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
28
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
3
|
exports.CategoryCodeService = void 0;
|
|
55
|
-
|
|
56
|
-
|
|
4
|
+
const http_status_1 = require("http-status");
|
|
5
|
+
const service_1 = require("../service");
|
|
57
6
|
/**
|
|
58
7
|
* 区分サービス
|
|
59
8
|
*/
|
|
60
|
-
|
|
61
|
-
__extends(CategoryCodeService, _super);
|
|
62
|
-
function CategoryCodeService() {
|
|
63
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
64
|
-
}
|
|
9
|
+
class CategoryCodeService extends service_1.Service {
|
|
65
10
|
/**
|
|
66
11
|
* 区分検索(決済カード区分を除く)
|
|
67
12
|
*/
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
var _a;
|
|
80
|
-
return __generator(this, function (_b) {
|
|
81
|
-
switch (_b.label) {
|
|
82
|
-
case 0:
|
|
83
|
-
_a = {};
|
|
84
|
-
return [4 /*yield*/, response.json()];
|
|
85
|
-
case 1: return [2 /*return*/, (_a.data = _b.sent(),
|
|
86
|
-
_a)];
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
}); })];
|
|
90
|
-
});
|
|
13
|
+
async search(params) {
|
|
14
|
+
return this.fetch({
|
|
15
|
+
uri: '/categoryCodes',
|
|
16
|
+
method: 'GET',
|
|
17
|
+
qs: params,
|
|
18
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
19
|
+
})
|
|
20
|
+
.then(async (response) => {
|
|
21
|
+
return {
|
|
22
|
+
data: await response.json()
|
|
23
|
+
};
|
|
91
24
|
});
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
}(service_1.Service));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
95
27
|
exports.CategoryCodeService = CategoryCodeService;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { factory } from '../factory';
|
|
2
2
|
import { Service } from '../service';
|
|
3
3
|
export type IMovieAsFindResult = Pick<factory.creativeWork.movie.ICreativeWork, 'additionalProperty' | 'alternativeHeadline' | 'contentRating' | 'datePublished' | 'distributor' | 'duration' | 'headline' | 'identifier' | 'name' | 'project' | 'thumbnailUrl' | 'typeOf'> & {
|
|
4
4
|
id: string;
|
|
@@ -1,92 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
28
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
3
|
exports.CreativeWorkService = void 0;
|
|
55
|
-
|
|
56
|
-
|
|
4
|
+
const http_status_1 = require("http-status");
|
|
5
|
+
const service_1 = require("../service");
|
|
57
6
|
/**
|
|
58
7
|
* コンテンツサービス
|
|
59
8
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
qs: params,
|
|
73
|
-
expectedStatusCodes: [http_status_1.OK]
|
|
74
|
-
})
|
|
75
|
-
.then(function (response) { return __awaiter(_this, void 0, void 0, function () {
|
|
76
|
-
var _a;
|
|
77
|
-
return __generator(this, function (_b) {
|
|
78
|
-
switch (_b.label) {
|
|
79
|
-
case 0:
|
|
80
|
-
_a = {};
|
|
81
|
-
return [4 /*yield*/, response.json()];
|
|
82
|
-
case 1: return [2 /*return*/, (_a.data = _b.sent(),
|
|
83
|
-
_a)];
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
}); })];
|
|
87
|
-
});
|
|
9
|
+
class CreativeWorkService extends service_1.Service {
|
|
10
|
+
async searchMovies(params) {
|
|
11
|
+
return this.fetch({
|
|
12
|
+
uri: '/creativeWorks/movie',
|
|
13
|
+
method: 'GET',
|
|
14
|
+
qs: params,
|
|
15
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
16
|
+
})
|
|
17
|
+
.then(async (response) => {
|
|
18
|
+
return {
|
|
19
|
+
data: await response.json()
|
|
20
|
+
};
|
|
88
21
|
});
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
}(service_1.Service));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
92
24
|
exports.CreativeWorkService = CreativeWorkService;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { factory } from '../factory';
|
|
2
2
|
import { ISearchResult, Service } from '../service';
|
|
3
3
|
export type IEmailMessage = Omit<factory.creativeWork.message.email.ICreativeWork, 'toRecipient'>;
|
|
4
4
|
export interface ISearchConditions {
|
|
@@ -1,95 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __extends = (this && this.__extends) || (function () {
|
|
3
|
-
var extendStatics = function (d, b) {
|
|
4
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
7
|
-
return extendStatics(d, b);
|
|
8
|
-
};
|
|
9
|
-
return function (d, b) {
|
|
10
|
-
if (typeof b !== "function" && b !== null)
|
|
11
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
12
|
-
extendStatics(d, b);
|
|
13
|
-
function __() { this.constructor = d; }
|
|
14
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15
|
-
};
|
|
16
|
-
})();
|
|
17
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
18
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
19
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
20
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
21
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
22
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
23
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
24
|
-
});
|
|
25
|
-
};
|
|
26
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
27
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
28
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
29
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
30
|
-
function step(op) {
|
|
31
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
32
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
33
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
34
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
35
|
-
switch (op[0]) {
|
|
36
|
-
case 0: case 1: t = op; break;
|
|
37
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
38
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
39
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
40
|
-
default:
|
|
41
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
42
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
43
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
44
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
45
|
-
if (t[2]) _.ops.pop();
|
|
46
|
-
_.trys.pop(); continue;
|
|
47
|
-
}
|
|
48
|
-
op = body.call(thisArg, _);
|
|
49
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
50
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
51
|
-
}
|
|
52
|
-
};
|
|
53
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
54
3
|
exports.EmailMessageService = void 0;
|
|
55
|
-
|
|
56
|
-
|
|
4
|
+
const http_status_1 = require("http-status");
|
|
5
|
+
const service_1 = require("../service");
|
|
57
6
|
/**
|
|
58
7
|
* Eメールメッセージサービス
|
|
59
8
|
*/
|
|
60
|
-
|
|
61
|
-
__extends(EmailMessageService, _super);
|
|
62
|
-
function EmailMessageService() {
|
|
63
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
64
|
-
}
|
|
9
|
+
class EmailMessageService extends service_1.Service {
|
|
65
10
|
/**
|
|
66
11
|
* 検索
|
|
67
12
|
*/
|
|
68
|
-
|
|
69
|
-
return
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
var _a;
|
|
80
|
-
return __generator(this, function (_b) {
|
|
81
|
-
switch (_b.label) {
|
|
82
|
-
case 0:
|
|
83
|
-
_a = {};
|
|
84
|
-
return [4 /*yield*/, response.json()];
|
|
85
|
-
case 1: return [2 /*return*/, (_a.data = _b.sent(),
|
|
86
|
-
_a)];
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
}); })];
|
|
90
|
-
});
|
|
13
|
+
async search(params) {
|
|
14
|
+
return this.fetch({
|
|
15
|
+
uri: '/emailMessages',
|
|
16
|
+
method: 'GET',
|
|
17
|
+
qs: params,
|
|
18
|
+
expectedStatusCodes: [http_status_1.OK]
|
|
19
|
+
})
|
|
20
|
+
.then(async (response) => {
|
|
21
|
+
return {
|
|
22
|
+
data: await response.json()
|
|
23
|
+
};
|
|
91
24
|
});
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
}(service_1.Service));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
95
27
|
exports.EmailMessageService = EmailMessageService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ISearchWithReservationForIdResult } from '../chevreConsole/aggregateReservation';
|
|
2
|
-
import
|
|
2
|
+
import { factory } from '../factory';
|
|
3
3
|
import { ISearchOfferCatalogItemAvailabilityResult, ISearchOfferCatalogItemResult, ISeatAsEventOffer } from './event/factory';
|
|
4
4
|
import { Service } from '../service';
|
|
5
5
|
type IKeyOfProjection = keyof factory.event.screeningEvent.IEvent;
|