@cinerino/sdk 14.0.0-alpha.8 → 14.0.0

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.
Files changed (371) hide show
  1. package/README.md +0 -3
  2. package/lib/abstract/auth/authClient.js +10 -60
  3. package/lib/abstract/chevre/categoryCode.d.ts +1 -1
  4. package/lib/abstract/chevre/categoryCode.js +16 -84
  5. package/lib/abstract/chevre/creativeWork.d.ts +1 -1
  6. package/lib/abstract/chevre/creativeWork.js +16 -84
  7. package/lib/abstract/chevre/emailMessage.d.ts +1 -1
  8. package/lib/abstract/chevre/emailMessage.js +16 -84
  9. package/lib/abstract/chevre/event/factory.d.ts +1 -1
  10. package/lib/abstract/chevre/event.d.ts +1 -1
  11. package/lib/abstract/chevre/event.js +102 -270
  12. package/lib/abstract/chevre/eventOffer.d.ts +1 -1
  13. package/lib/abstract/chevre/eventOffer.js +13 -76
  14. package/lib/abstract/chevre/eventSeries.d.ts +1 -1
  15. package/lib/abstract/chevre/eventSeries.js +12 -75
  16. package/lib/abstract/chevre/note.d.ts +1 -1
  17. package/lib/abstract/chevre/note.js +14 -77
  18. package/lib/abstract/chevre/paymentService.d.ts +1 -1
  19. package/lib/abstract/chevre/paymentService.js +14 -78
  20. package/lib/abstract/chevre/place/hasPOS.d.ts +1 -1
  21. package/lib/abstract/chevre/place/hasPOS.js +13 -99
  22. package/lib/abstract/chevre/place.d.ts +1 -1
  23. package/lib/abstract/chevre/place.js +82 -232
  24. package/lib/abstract/chevre/product.d.ts +1 -1
  25. package/lib/abstract/chevre/product.js +34 -124
  26. package/lib/abstract/chevre/productOffer.d.ts +1 -1
  27. package/lib/abstract/chevre/productOffer.js +13 -76
  28. package/lib/abstract/chevre/seatOffer.d.ts +1 -1
  29. package/lib/abstract/chevre/seatOffer.js +15 -79
  30. package/lib/abstract/chevre/seller/factory.d.ts +1 -1
  31. package/lib/abstract/chevre/seller.d.ts +1 -1
  32. package/lib/abstract/chevre/seller.js +42 -128
  33. package/lib/abstract/chevre/trip.d.ts +1 -1
  34. package/lib/abstract/chevre/trip.js +16 -84
  35. package/lib/abstract/chevre.js +127 -329
  36. package/lib/abstract/chevreAdmic/sync.js +24 -94
  37. package/lib/abstract/chevreAdmic.js +28 -76
  38. package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.d.ts +1 -1
  39. package/lib/abstract/chevreAdmin/assetTransaction/cancelReservation.js +11 -76
  40. package/lib/abstract/chevreAdmin/authorization.d.ts +1 -1
  41. package/lib/abstract/chevreAdmin/authorization.js +13 -76
  42. package/lib/abstract/chevreAdmin/customer.d.ts +1 -1
  43. package/lib/abstract/chevreAdmin/customer.js +13 -76
  44. package/lib/abstract/chevreAdmin/event.d.ts +1 -1
  45. package/lib/abstract/chevreAdmin/event.js +56 -162
  46. package/lib/abstract/chevreAdmin/eventOffer.d.ts +1 -1
  47. package/lib/abstract/chevreAdmin/eventOffer.js +41 -134
  48. package/lib/abstract/chevreAdmin/eventSeries.d.ts +1 -1
  49. package/lib/abstract/chevreAdmin/eventSeries.js +30 -104
  50. package/lib/abstract/chevreAdmin/me.d.ts +1 -1
  51. package/lib/abstract/chevreAdmin/me.js +25 -104
  52. package/lib/abstract/chevreAdmin/member.d.ts +1 -1
  53. package/lib/abstract/chevreAdmin/member.js +14 -100
  54. package/lib/abstract/chevreAdmin/movie.d.ts +1 -1
  55. package/lib/abstract/chevreAdmin/movie.js +21 -93
  56. package/lib/abstract/chevreAdmin/movieTheater.d.ts +1 -1
  57. package/lib/abstract/chevreAdmin/movieTheater.js +56 -162
  58. package/lib/abstract/chevreAdmin/note.d.ts +1 -1
  59. package/lib/abstract/chevreAdmin/note.js +32 -117
  60. package/lib/abstract/chevreAdmin/noteAboutOrder.d.ts +1 -1
  61. package/lib/abstract/chevreAdmin/noteAboutOrder.js +29 -112
  62. package/lib/abstract/chevreAdmin/offer.d.ts +1 -1
  63. package/lib/abstract/chevreAdmin/offer.js +24 -98
  64. package/lib/abstract/chevreAdmin/offerCatalog.d.ts +1 -1
  65. package/lib/abstract/chevreAdmin/offerCatalog.js +18 -85
  66. package/lib/abstract/chevreAdmin/offerCatalogItem.d.ts +1 -1
  67. package/lib/abstract/chevreAdmin/offerCatalogItem.js +25 -99
  68. package/lib/abstract/chevreAdmin/order.d.ts +1 -1
  69. package/lib/abstract/chevreAdmin/order.js +50 -161
  70. package/lib/abstract/chevreAdmin/paymentMethod.d.ts +1 -1
  71. package/lib/abstract/chevreAdmin/paymentMethod.js +15 -78
  72. package/lib/abstract/chevreAdmin/product.d.ts +1 -1
  73. package/lib/abstract/chevreAdmin/product.js +31 -110
  74. package/lib/abstract/chevreAdmin/productOffer.d.ts +1 -1
  75. package/lib/abstract/chevreAdmin/productOffer.js +41 -134
  76. package/lib/abstract/chevreAdmin/reservation.d.ts +1 -1
  77. package/lib/abstract/chevreAdmin/reservation.js +31 -125
  78. package/lib/abstract/chevreAdmin/room.d.ts +1 -1
  79. package/lib/abstract/chevreAdmin/room.js +25 -99
  80. package/lib/abstract/chevreAdmin/seat.d.ts +1 -1
  81. package/lib/abstract/chevreAdmin/seat.js +38 -129
  82. package/lib/abstract/chevreAdmin/seatSection.d.ts +1 -1
  83. package/lib/abstract/chevreAdmin/seatSection.js +25 -99
  84. package/lib/abstract/chevreAdmin/seller.d.ts +1 -1
  85. package/lib/abstract/chevreAdmin/seller.js +13 -76
  86. package/lib/abstract/chevreAdmin.js +191 -492
  87. package/lib/abstract/chevreAsset/order/factory.d.ts +1 -1
  88. package/lib/abstract/chevreAsset/order.js +77 -231
  89. package/lib/abstract/chevreAsset/permit.d.ts +1 -1
  90. package/lib/abstract/chevreAsset/permit.js +22 -92
  91. package/lib/abstract/chevreAsset/reservation/factory.d.ts +1 -1
  92. package/lib/abstract/chevreAsset/reservation.d.ts +1 -1
  93. package/lib/abstract/chevreAsset/reservation.js +23 -93
  94. package/lib/abstract/chevreAsset/token.js +4 -24
  95. package/lib/abstract/chevreAsset.js +65 -135
  96. package/lib/abstract/chevreConsole/account.d.ts +1 -1
  97. package/lib/abstract/chevreConsole/account.js +32 -116
  98. package/lib/abstract/chevreConsole/accountTitle.d.ts +1 -1
  99. package/lib/abstract/chevreConsole/accountTitle.js +113 -303
  100. package/lib/abstract/chevreConsole/accountTransaction.d.ts +3 -3
  101. package/lib/abstract/chevreConsole/accountTransaction.js +16 -84
  102. package/lib/abstract/chevreConsole/accountingReport.d.ts +1 -1
  103. package/lib/abstract/chevreConsole/accountingReport.js +16 -84
  104. package/lib/abstract/chevreConsole/action.d.ts +1 -1
  105. package/lib/abstract/chevreConsole/action.js +33 -115
  106. package/lib/abstract/chevreConsole/additionalProperty.d.ts +1 -1
  107. package/lib/abstract/chevreConsole/additionalProperty.js +46 -146
  108. package/lib/abstract/chevreConsole/advanceBookingRequirement.d.ts +1 -1
  109. package/lib/abstract/chevreConsole/advanceBookingRequirement.js +36 -139
  110. package/lib/abstract/chevreConsole/aggregateOffer.d.ts +1 -1
  111. package/lib/abstract/chevreConsole/aggregateOffer.js +22 -99
  112. package/lib/abstract/chevreConsole/aggregateReservation.d.ts +1 -1
  113. package/lib/abstract/chevreConsole/aggregateReservation.js +12 -75
  114. package/lib/abstract/chevreConsole/aggregation.d.ts +1 -1
  115. package/lib/abstract/chevreConsole/aggregation.js +15 -86
  116. package/lib/abstract/chevreConsole/assetTransaction/moneyTransfer.d.ts +1 -1
  117. package/lib/abstract/chevreConsole/assetTransaction/moneyTransfer.js +33 -139
  118. package/lib/abstract/chevreConsole/assetTransaction/pay.d.ts +1 -1
  119. package/lib/abstract/chevreConsole/assetTransaction/pay.js +44 -168
  120. package/lib/abstract/chevreConsole/assetTransaction/registerService.d.ts +1 -1
  121. package/lib/abstract/chevreConsole/assetTransaction/registerService.js +33 -150
  122. package/lib/abstract/chevreConsole/assetTransaction/reserve.d.ts +1 -1
  123. package/lib/abstract/chevreConsole/assetTransaction/reserve.js +40 -143
  124. package/lib/abstract/chevreConsole/assetTransaction.d.ts +1 -1
  125. package/lib/abstract/chevreConsole/assetTransaction.js +16 -84
  126. package/lib/abstract/chevreConsole/authorization.d.ts +1 -1
  127. package/lib/abstract/chevreConsole/authorization.js +13 -76
  128. package/lib/abstract/chevreConsole/categoryCode.d.ts +1 -1
  129. package/lib/abstract/chevreConsole/categoryCode.js +40 -137
  130. package/lib/abstract/chevreConsole/comment.d.ts +1 -1
  131. package/lib/abstract/chevreConsole/comment.js +25 -100
  132. package/lib/abstract/chevreConsole/creativeWork.js +15 -80
  133. package/lib/abstract/chevreConsole/customer.d.ts +1 -1
  134. package/lib/abstract/chevreConsole/customer.js +26 -107
  135. package/lib/abstract/chevreConsole/customerType.d.ts +1 -1
  136. package/lib/abstract/chevreConsole/customerType.js +13 -76
  137. package/lib/abstract/chevreConsole/emailMessage.d.ts +1 -1
  138. package/lib/abstract/chevreConsole/emailMessage.js +47 -147
  139. package/lib/abstract/chevreConsole/event/factory.d.ts +1 -1
  140. package/lib/abstract/chevreConsole/event.d.ts +1 -1
  141. package/lib/abstract/chevreConsole/event.js +60 -184
  142. package/lib/abstract/chevreConsole/eventSeries.js +23 -118
  143. package/lib/abstract/chevreConsole/hasMerchantReturnPolicy.d.ts +1 -1
  144. package/lib/abstract/chevreConsole/hasMerchantReturnPolicy.js +11 -74
  145. package/lib/abstract/chevreConsole/iam.d.ts +1 -1
  146. package/lib/abstract/chevreConsole/iam.js +116 -301
  147. package/lib/abstract/chevreConsole/identity.d.ts +1 -1
  148. package/lib/abstract/chevreConsole/identity.js +36 -139
  149. package/lib/abstract/chevreConsole/identityProvider.d.ts +1 -1
  150. package/lib/abstract/chevreConsole/identityProvider.js +36 -139
  151. package/lib/abstract/chevreConsole/issuer.d.ts +1 -1
  152. package/lib/abstract/chevreConsole/issuer.js +44 -152
  153. package/lib/abstract/chevreConsole/me.d.ts +1 -1
  154. package/lib/abstract/chevreConsole/me.js +26 -109
  155. package/lib/abstract/chevreConsole/member.d.ts +1 -1
  156. package/lib/abstract/chevreConsole/member.js +63 -210
  157. package/lib/abstract/chevreConsole/memberProgram.js +47 -156
  158. package/lib/abstract/chevreConsole/merchantReturnPolicy.d.ts +1 -1
  159. package/lib/abstract/chevreConsole/merchantReturnPolicy.js +45 -145
  160. package/lib/abstract/chevreConsole/message.d.ts +1 -1
  161. package/lib/abstract/chevreConsole/message.js +12 -75
  162. package/lib/abstract/chevreConsole/movieTicketType.d.ts +1 -1
  163. package/lib/abstract/chevreConsole/movieTicketType.js +36 -124
  164. package/lib/abstract/chevreConsole/offer.d.ts +1 -1
  165. package/lib/abstract/chevreConsole/offer.js +29 -108
  166. package/lib/abstract/chevreConsole/offerCatalog.d.ts +1 -1
  167. package/lib/abstract/chevreConsole/offerCatalog.js +38 -138
  168. package/lib/abstract/chevreConsole/offerCatalogItem.d.ts +1 -1
  169. package/lib/abstract/chevreConsole/offerCatalogItem.js +51 -167
  170. package/lib/abstract/chevreConsole/offerItemCondition.d.ts +1 -1
  171. package/lib/abstract/chevreConsole/offerItemCondition.js +38 -131
  172. package/lib/abstract/chevreConsole/order/factory.d.ts +1 -1
  173. package/lib/abstract/chevreConsole/order.d.ts +1 -1
  174. package/lib/abstract/chevreConsole/order.js +45 -144
  175. package/lib/abstract/chevreConsole/ownershipInfo.d.ts +1 -1
  176. package/lib/abstract/chevreConsole/ownershipInfo.js +16 -84
  177. package/lib/abstract/chevreConsole/paymentService.d.ts +1 -1
  178. package/lib/abstract/chevreConsole/paymentService.js +55 -169
  179. package/lib/abstract/chevreConsole/paymentServiceChannel.d.ts +1 -1
  180. package/lib/abstract/chevreConsole/paymentServiceChannel.js +36 -139
  181. package/lib/abstract/chevreConsole/pendingReservation.d.ts +1 -1
  182. package/lib/abstract/chevreConsole/pendingReservation.js +23 -94
  183. package/lib/abstract/chevreConsole/permission.js +22 -93
  184. package/lib/abstract/chevreConsole/permit.d.ts +1 -1
  185. package/lib/abstract/chevreConsole/permit.js +34 -116
  186. package/lib/abstract/chevreConsole/person.d.ts +1 -1
  187. package/lib/abstract/chevreConsole/person.js +67 -186
  188. package/lib/abstract/chevreConsole/place/hasPOS.d.ts +1 -1
  189. package/lib/abstract/chevreConsole/place/hasPOS.js +33 -146
  190. package/lib/abstract/chevreConsole/place.d.ts +1 -1
  191. package/lib/abstract/chevreConsole/place.js +97 -260
  192. package/lib/abstract/chevreConsole/priceSpecification.d.ts +1 -1
  193. package/lib/abstract/chevreConsole/priceSpecification.js +37 -130
  194. package/lib/abstract/chevreConsole/product.d.ts +1 -1
  195. package/lib/abstract/chevreConsole/product.js +48 -155
  196. package/lib/abstract/chevreConsole/productModel.d.ts +1 -1
  197. package/lib/abstract/chevreConsole/productModel.js +34 -122
  198. package/lib/abstract/chevreConsole/project.d.ts +1 -1
  199. package/lib/abstract/chevreConsole/project.js +38 -147
  200. package/lib/abstract/chevreConsole/projectMakesOffer.d.ts +1 -1
  201. package/lib/abstract/chevreConsole/projectMakesOffer.js +32 -122
  202. package/lib/abstract/chevreConsole/reservation/factory.d.ts +1 -1
  203. package/lib/abstract/chevreConsole/reservation.js +11 -76
  204. package/lib/abstract/chevreConsole/seller/factory.d.ts +1 -1
  205. package/lib/abstract/chevreConsole/seller.d.ts +1 -1
  206. package/lib/abstract/chevreConsole/seller.js +139 -362
  207. package/lib/abstract/chevreConsole/sellerMakesOffer.d.ts +1 -1
  208. package/lib/abstract/chevreConsole/sellerMakesOffer.js +26 -107
  209. package/lib/abstract/chevreConsole/sellerReturnPolicy.d.ts +1 -1
  210. package/lib/abstract/chevreConsole/sellerReturnPolicy.js +45 -156
  211. package/lib/abstract/chevreConsole/task.d.ts +1 -1
  212. package/lib/abstract/chevreConsole/task.js +29 -108
  213. package/lib/abstract/chevreConsole/ticket.d.ts +1 -1
  214. package/lib/abstract/chevreConsole/ticket.js +12 -75
  215. package/lib/abstract/chevreConsole/token.js +4 -24
  216. package/lib/abstract/chevreConsole/transaction/placeOrder.d.ts +2 -3
  217. package/lib/abstract/chevreConsole/transaction/placeOrder.js +28 -139
  218. package/lib/abstract/chevreConsole/transaction/returnOrder.d.ts +2 -3
  219. package/lib/abstract/chevreConsole/transaction/returnOrder.js +18 -110
  220. package/lib/abstract/chevreConsole/transactionNumber.js +13 -76
  221. package/lib/abstract/chevreConsole/trip.d.ts +1 -1
  222. package/lib/abstract/chevreConsole/trip.js +46 -146
  223. package/lib/abstract/chevreConsole/userPool.d.ts +1 -1
  224. package/lib/abstract/chevreConsole/userPool.js +32 -114
  225. package/lib/abstract/chevreConsole/webSite.d.ts +1 -1
  226. package/lib/abstract/chevreConsole/webSite.js +36 -128
  227. package/lib/abstract/chevreConsole.js +496 -1270
  228. package/lib/abstract/chevrePay/payment/factory.d.ts +1 -1
  229. package/lib/abstract/chevrePay/payment.d.ts +1 -1
  230. package/lib/abstract/chevrePay/payment.js +300 -498
  231. package/lib/abstract/chevrePay.js +33 -84
  232. package/lib/abstract/chevreTxc/offer/factory.d.ts +1 -1
  233. package/lib/abstract/chevreTxc/offer.d.ts +1 -1
  234. package/lib/abstract/chevreTxc/offer.js +69 -195
  235. package/lib/abstract/chevreTxc.js +33 -84
  236. package/lib/abstract/chevreTxn/offer.d.ts +1 -1
  237. package/lib/abstract/chevreTxn/offer.js +57 -183
  238. package/lib/abstract/chevreTxn/transaction/placeOrder/factory.d.ts +1 -1
  239. package/lib/abstract/chevreTxn/transaction/placeOrder.d.ts +3 -3
  240. package/lib/abstract/chevreTxn/transaction/placeOrder.js +53 -197
  241. package/lib/abstract/chevreTxn/transaction/returnOrder/factory.d.ts +1 -1
  242. package/lib/abstract/chevreTxn/transaction/returnOrder.d.ts +3 -3
  243. package/lib/abstract/chevreTxn/transaction/returnOrder.js +38 -165
  244. package/lib/abstract/chevreTxn/transaction.d.ts +1 -11
  245. package/lib/abstract/chevreTxn/transaction.js +0 -10
  246. package/lib/abstract/chevreTxn.js +58 -119
  247. package/lib/abstract/cinerino/default.d.ts +0 -12
  248. package/lib/abstract/cinerino/default.js +19 -103
  249. package/lib/abstract/cinerino/service/categoryCode.d.ts +1 -1
  250. package/lib/abstract/cinerino/service/categoryCode.js +18 -94
  251. package/lib/abstract/cinerino/service/emailMessage.d.ts +1 -1
  252. package/lib/abstract/cinerino/service/emailMessage.js +18 -94
  253. package/lib/abstract/cinerino/service/event.d.ts +1 -1
  254. package/lib/abstract/cinerino/service/event.js +165 -351
  255. package/lib/abstract/cinerino/service/place/hasPOS.d.ts +1 -1
  256. package/lib/abstract/cinerino/service/place/hasPOS.js +16 -110
  257. package/lib/abstract/cinerino/service/place.d.ts +1 -1
  258. package/lib/abstract/cinerino/service/place.js +31 -142
  259. package/lib/abstract/cinerino/service/seller.d.ts +1 -1
  260. package/lib/abstract/cinerino/service/seller.js +54 -165
  261. package/lib/abstract/cloud/admin/creativeWork.d.ts +1 -1
  262. package/lib/abstract/cloud/admin/creativeWork.js +12 -83
  263. package/lib/abstract/cloud/admin/customer.d.ts +1 -1
  264. package/lib/abstract/cloud/admin/customer.js +20 -81
  265. package/lib/abstract/cloud/admin/event.d.ts +1 -1
  266. package/lib/abstract/cloud/admin/event.js +66 -210
  267. package/lib/abstract/cloud/admin/eventOffer.js +24 -119
  268. package/lib/abstract/cloud/admin/eventSeries.d.ts +1 -1
  269. package/lib/abstract/cloud/admin/eventSeries.js +12 -94
  270. package/lib/abstract/cloud/admin/me.js +18 -106
  271. package/lib/abstract/cloud/admin/noteAboutOrder.d.ts +1 -1
  272. package/lib/abstract/cloud/admin/noteAboutOrder.js +33 -138
  273. package/lib/abstract/cloud/admin/offer.d.ts +1 -1
  274. package/lib/abstract/cloud/admin/offer.js +88 -186
  275. package/lib/abstract/cloud/admin/offerCatalog.d.ts +1 -1
  276. package/lib/abstract/cloud/admin/offerCatalog.js +20 -126
  277. package/lib/abstract/cloud/admin/offerCatalogItem.d.ts +1 -1
  278. package/lib/abstract/cloud/admin/offerCatalogItem.js +25 -117
  279. package/lib/abstract/cloud/admin/order.d.ts +1 -1
  280. package/lib/abstract/cloud/admin/order.js +108 -219
  281. package/lib/abstract/cloud/admin/paymentMethod.js +12 -80
  282. package/lib/abstract/cloud/admin/product.d.ts +1 -1
  283. package/lib/abstract/cloud/admin/product.js +25 -114
  284. package/lib/abstract/cloud/admin/productOffer.d.ts +1 -1
  285. package/lib/abstract/cloud/admin/productOffer.js +28 -126
  286. package/lib/abstract/cloud/admin/reservation.d.ts +41 -8
  287. package/lib/abstract/cloud/admin/reservation.js +89 -226
  288. package/lib/abstract/cloud/admin/seller.d.ts +1 -1
  289. package/lib/abstract/cloud/admin/seller.js +12 -79
  290. package/lib/abstract/cloud/admin.js +135 -348
  291. package/lib/abstract/cloud/asset/delivery.js +23 -94
  292. package/lib/abstract/cloud/asset/order.js +180 -251
  293. package/lib/abstract/cloud/asset/reservation.d.ts +1 -1
  294. package/lib/abstract/cloud/asset/reservation.js +28 -113
  295. package/lib/abstract/cloud/asset/token.js +3 -23
  296. package/lib/abstract/cloud/asset.d.ts +0 -4
  297. package/lib/abstract/cloud/asset.js +60 -134
  298. package/lib/abstract/cloud/pay/payment.d.ts +1 -1
  299. package/lib/abstract/cloud/pay/payment.js +387 -689
  300. package/lib/abstract/cloud/pay.d.ts +0 -4
  301. package/lib/abstract/cloud/pay.js +33 -83
  302. package/lib/abstract/cloud/search/creativeWork.js +13 -76
  303. package/lib/abstract/cloud/search/eventOffer.js +15 -79
  304. package/lib/abstract/cloud/search/paymentService.js +14 -78
  305. package/lib/abstract/cloud/search/place.d.ts +1 -1
  306. package/lib/abstract/cloud/search/place.js +24 -96
  307. package/lib/abstract/cloud/search/product.d.ts +1 -1
  308. package/lib/abstract/cloud/search/product.js +34 -114
  309. package/lib/abstract/cloud/search/productOffer.js +15 -79
  310. package/lib/abstract/cloud/search/seatOffer.js +15 -79
  311. package/lib/abstract/cloud/search.js +86 -179
  312. package/lib/abstract/cloud/txc/transaction/forceAsync.d.ts +1 -1
  313. package/lib/abstract/cloud/txc/transaction/forceAsync.js +113 -206
  314. package/lib/abstract/cloud/txc/transaction/placeOrder.d.ts +1 -1
  315. package/lib/abstract/cloud/txc/transaction/placeOrder.js +146 -242
  316. package/lib/abstract/cloud/txc.js +34 -79
  317. package/lib/abstract/cloud/txn/offer.d.ts +1 -1
  318. package/lib/abstract/cloud/txn/offer.js +72 -172
  319. package/lib/abstract/cloud/txn/transaction/placeOrder.d.ts +1 -1
  320. package/lib/abstract/cloud/txn/transaction/placeOrder.js +145 -234
  321. package/lib/abstract/cloud/txn/transaction/returnOrder.d.ts +1 -1
  322. package/lib/abstract/cloud/txn/transaction/returnOrder.js +60 -141
  323. package/lib/abstract/cloud/txn.d.ts +0 -4
  324. package/lib/abstract/cloud/txn.js +52 -118
  325. package/lib/abstract/factory.d.ts +1 -1
  326. package/lib/abstract/factory.js +3 -15
  327. package/lib/abstract/index.d.ts +1 -1
  328. package/lib/abstract/index.js +107 -355
  329. package/lib/abstract/pecorino/accountTransaction.d.ts +3 -3
  330. package/lib/abstract/pecorino/accountTransaction.js +45 -146
  331. package/lib/abstract/pecorino/permit.d.ts +1 -1
  332. package/lib/abstract/pecorino/permit.js +24 -102
  333. package/lib/abstract/pecorino.d.ts +1 -1
  334. package/lib/abstract/pecorino.js +8 -56
  335. package/lib/abstract/service.d.ts +0 -1
  336. package/lib/abstract/service.js +65 -137
  337. package/lib/abstract/transporters.d.ts +2 -2
  338. package/lib/abstract/transporters.js +67 -143
  339. package/lib/abstract/waiterAdmin/rule.d.ts +1 -1
  340. package/lib/abstract/waiterAdmin/rule.js +13 -76
  341. package/lib/abstract/waiterAdmin/ruleSet.d.ts +1 -1
  342. package/lib/abstract/waiterAdmin/ruleSet.js +20 -92
  343. package/lib/abstract/waiterAdmin.js +35 -94
  344. package/lib/auth/clientCredentialsClient.d.ts +2 -4
  345. package/lib/auth/clientCredentialsClient.js +77 -158
  346. package/lib/auth/implicitGrantClient/credentials.d.ts +1 -2
  347. package/lib/auth/implicitGrantClient/error.d.ts +3 -3
  348. package/lib/auth/implicitGrantClient/error.js +5 -22
  349. package/lib/auth/implicitGrantClient/iframeHandler.d.ts +1 -1
  350. package/lib/auth/implicitGrantClient/iframeHandler.js +37 -27
  351. package/lib/auth/implicitGrantClient/popupAuthenticationHandler.d.ts +1 -1
  352. package/lib/auth/implicitGrantClient/popupAuthenticationHandler.js +35 -99
  353. package/lib/auth/implicitGrantClient/popupHandler.d.ts +1 -1
  354. package/lib/auth/implicitGrantClient/popupHandler.js +37 -27
  355. package/lib/auth/implicitGrantClient/silentAuthenticationHandler.d.ts +1 -1
  356. package/lib/auth/implicitGrantClient/silentAuthenticationHandler.js +35 -99
  357. package/lib/auth/implicitGrantClient/silentLogoutHandler.d.ts +1 -1
  358. package/lib/auth/implicitGrantClient/silentLogoutHandler.js +35 -99
  359. package/lib/auth/implicitGrantClient.d.ts +2 -2
  360. package/lib/auth/implicitGrantClient.js +153 -304
  361. package/lib/auth/loginTicket.js +7 -6
  362. package/lib/auth/oAuth2client.d.ts +2 -2
  363. package/lib/auth/oAuth2client.js +314 -390
  364. package/lib/browser.js +2 -2
  365. package/lib/bundle.js +6 -41699
  366. package/lib/bundle.js.map +7 -0
  367. package/lib/index.d.ts +2 -2
  368. package/lib/index.js +36 -106
  369. package/package.json +18 -21
  370. package/lib/abstract/chevreConsole/transaction.d.ts +0 -7
  371. package/lib/abstract/chevreConsole/transaction.js +0 -12
@@ -15,58 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
- return new (P || (P = Promise))(function (resolve, reject) {
28
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31
- step((generator = generator.apply(thisArg, _arguments || [])).next());
32
- });
33
- };
34
- var __generator = (this && this.__generator) || function (thisArg, body) {
35
- 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);
36
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
37
- function verb(n) { return function (v) { return step([n, v]); }; }
38
- function step(op) {
39
- if (f) throw new TypeError("Generator is already executing.");
40
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
41
- 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;
42
- if (y = 0, t) op = [op[0] & 2, t.value];
43
- switch (op[0]) {
44
- case 0: case 1: t = op; break;
45
- case 4: _.label++; return { value: op[1], done: false };
46
- case 5: _.label++; y = op[1]; op = [0]; continue;
47
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
48
- default:
49
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
50
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
51
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
52
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
53
- if (t[2]) _.ops.pop();
54
- _.trys.pop(); continue;
55
- }
56
- op = body.call(thisArg, _);
57
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
58
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
59
- }
60
- };
61
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
62
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
63
- if (ar || !(i in from)) {
64
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
65
- ar[i] = from[i];
66
- }
67
- }
68
- return to.concat(ar || Array.prototype.slice.call(from));
69
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
70
35
  Object.defineProperty(exports, "__esModule", { value: true });
71
36
  exports.transporters = exports.factory = void 0;
72
37
  exports.loadChevre = loadChevre;
@@ -86,374 +51,161 @@ exports.loadCloudPay = loadCloudPay;
86
51
  exports.loadCloudTxc = loadCloudTxc;
87
52
  exports.loadCloudTxn = loadCloudTxn;
88
53
  exports.loadWaiterAdmin = loadWaiterAdmin;
89
- var factory = __importStar(require("./factory"));
90
- exports.factory = factory;
91
- var transporters = __importStar(require("./transporters"));
54
+ const factory_1 = require("./factory");
55
+ Object.defineProperty(exports, "factory", { enumerable: true, get: function () { return factory_1.factory; } });
56
+ const transporters = __importStar(require("./transporters"));
92
57
  exports.transporters = transporters;
93
- var chevre;
58
+ let chevre;
94
59
  /* istanbul ignore next */
95
- function loadChevre() {
96
- var params = [];
97
- for (var _i = 0; _i < arguments.length; _i++) {
98
- params[_i] = arguments[_i];
60
+ async function loadChevre(...params) {
61
+ if (chevre === undefined) {
62
+ chevre = (await Promise.resolve().then(() => __importStar(require('./chevre.js')))).Chevre;
99
63
  }
100
- return __awaiter(this, void 0, void 0, function () {
101
- return __generator(this, function (_a) {
102
- switch (_a.label) {
103
- case 0:
104
- if (!(chevre === undefined)) return [3 /*break*/, 2];
105
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./chevre')); })];
106
- case 1:
107
- chevre = (_a.sent()).Chevre;
108
- _a.label = 2;
109
- case 2: return [2 /*return*/, new (chevre.bind.apply(chevre, __spreadArray([void 0], params, false)))()];
110
- }
111
- });
112
- });
64
+ return new chevre(...params);
113
65
  }
114
- var chevreAsset;
66
+ let chevreAsset;
115
67
  /* istanbul ignore next */
116
- function loadChevreAsset() {
117
- var params = [];
118
- for (var _i = 0; _i < arguments.length; _i++) {
119
- params[_i] = arguments[_i];
68
+ async function loadChevreAsset(...params) {
69
+ if (chevreAsset === undefined) {
70
+ chevreAsset = (await Promise.resolve().then(() => __importStar(require('./chevreAsset.js')))).ChevreAsset;
120
71
  }
121
- return __awaiter(this, void 0, void 0, function () {
122
- return __generator(this, function (_a) {
123
- switch (_a.label) {
124
- case 0:
125
- if (!(chevreAsset === undefined)) return [3 /*break*/, 2];
126
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./chevreAsset')); })];
127
- case 1:
128
- chevreAsset = (_a.sent()).ChevreAsset;
129
- _a.label = 2;
130
- case 2: return [2 /*return*/, new (chevreAsset.bind.apply(chevreAsset, __spreadArray([void 0], params, false)))()];
131
- }
132
- });
133
- });
72
+ return new chevreAsset(...params);
134
73
  }
135
- var chevreAdmic;
74
+ let chevreAdmic;
136
75
  /* istanbul ignore next */
137
- function loadChevreAdmic() {
138
- var params = [];
139
- for (var _i = 0; _i < arguments.length; _i++) {
140
- params[_i] = arguments[_i];
76
+ async function loadChevreAdmic(...params) {
77
+ if (chevreAdmic === undefined) {
78
+ chevreAdmic = (await Promise.resolve().then(() => __importStar(require('./chevreAdmic.js')))).ChevreAdmic;
141
79
  }
142
- return __awaiter(this, void 0, void 0, function () {
143
- return __generator(this, function (_a) {
144
- switch (_a.label) {
145
- case 0:
146
- if (!(chevreAdmic === undefined)) return [3 /*break*/, 2];
147
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./chevreAdmic')); })];
148
- case 1:
149
- chevreAdmic = (_a.sent()).ChevreAdmic;
150
- _a.label = 2;
151
- case 2: return [2 /*return*/, new (chevreAdmic.bind.apply(chevreAdmic, __spreadArray([void 0], params, false)))()];
152
- }
153
- });
154
- });
80
+ return new chevreAdmic(...params);
155
81
  }
156
- var chevreAdmin;
82
+ let chevreAdmin;
157
83
  /* istanbul ignore next */
158
- function loadChevreAdmin() {
159
- var params = [];
160
- for (var _i = 0; _i < arguments.length; _i++) {
161
- params[_i] = arguments[_i];
84
+ async function loadChevreAdmin(...params) {
85
+ if (chevreAdmin === undefined) {
86
+ chevreAdmin = (await Promise.resolve().then(() => __importStar(require('./chevreAdmin.js')))).ChevreAdmin;
162
87
  }
163
- return __awaiter(this, void 0, void 0, function () {
164
- return __generator(this, function (_a) {
165
- switch (_a.label) {
166
- case 0:
167
- if (!(chevreAdmin === undefined)) return [3 /*break*/, 2];
168
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./chevreAdmin')); })];
169
- case 1:
170
- chevreAdmin = (_a.sent()).ChevreAdmin;
171
- _a.label = 2;
172
- case 2: return [2 /*return*/, new (chevreAdmin.bind.apply(chevreAdmin, __spreadArray([void 0], params, false)))()];
173
- }
174
- });
175
- });
88
+ return new chevreAdmin(...params);
176
89
  }
177
- var chevreConsole;
90
+ let chevreConsole;
178
91
  /* istanbul ignore next */
179
- function loadChevreConsole() {
180
- var params = [];
181
- for (var _i = 0; _i < arguments.length; _i++) {
182
- params[_i] = arguments[_i];
92
+ async function loadChevreConsole(...params) {
93
+ if (chevreConsole === undefined) {
94
+ chevreConsole = (await Promise.resolve().then(() => __importStar(require('./chevreConsole.js')))).ChevreConsole;
183
95
  }
184
- return __awaiter(this, void 0, void 0, function () {
185
- return __generator(this, function (_a) {
186
- switch (_a.label) {
187
- case 0:
188
- if (!(chevreConsole === undefined)) return [3 /*break*/, 2];
189
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./chevreConsole')); })];
190
- case 1:
191
- chevreConsole = (_a.sent()).ChevreConsole;
192
- _a.label = 2;
193
- case 2: return [2 /*return*/, new (chevreConsole.bind.apply(chevreConsole, __spreadArray([void 0], params, false)))()];
194
- }
195
- });
196
- });
96
+ return new chevreConsole(...params);
197
97
  }
198
- var chevrePay;
98
+ let chevrePay;
199
99
  /* istanbul ignore next */
200
- function loadChevrePay() {
201
- var params = [];
202
- for (var _i = 0; _i < arguments.length; _i++) {
203
- params[_i] = arguments[_i];
100
+ async function loadChevrePay(...params) {
101
+ if (chevrePay === undefined) {
102
+ chevrePay = (await Promise.resolve().then(() => __importStar(require('./chevrePay.js')))).ChevrePay;
204
103
  }
205
- return __awaiter(this, void 0, void 0, function () {
206
- return __generator(this, function (_a) {
207
- switch (_a.label) {
208
- case 0:
209
- if (!(chevrePay === undefined)) return [3 /*break*/, 2];
210
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./chevrePay')); })];
211
- case 1:
212
- chevrePay = (_a.sent()).ChevrePay;
213
- _a.label = 2;
214
- case 2: return [2 /*return*/, new (chevrePay.bind.apply(chevrePay, __spreadArray([void 0], params, false)))()];
215
- }
216
- });
217
- });
104
+ return new chevrePay(...params);
218
105
  }
219
- var chevreTxn;
106
+ let chevreTxn;
220
107
  /* istanbul ignore next */
221
- function loadChevreTxn() {
222
- var params = [];
223
- for (var _i = 0; _i < arguments.length; _i++) {
224
- params[_i] = arguments[_i];
108
+ async function loadChevreTxn(...params) {
109
+ if (chevreTxn === undefined) {
110
+ chevreTxn = (await Promise.resolve().then(() => __importStar(require('./chevreTxn.js')))).ChevreTxn;
225
111
  }
226
- return __awaiter(this, void 0, void 0, function () {
227
- return __generator(this, function (_a) {
228
- switch (_a.label) {
229
- case 0:
230
- if (!(chevreTxn === undefined)) return [3 /*break*/, 2];
231
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./chevreTxn')); })];
232
- case 1:
233
- chevreTxn = (_a.sent()).ChevreTxn;
234
- _a.label = 2;
235
- case 2: return [2 /*return*/, new (chevreTxn.bind.apply(chevreTxn, __spreadArray([void 0], params, false)))()];
236
- }
237
- });
238
- });
112
+ return new chevreTxn(...params);
239
113
  }
240
- var chevreTxc;
114
+ let chevreTxc;
241
115
  /* istanbul ignore next */
242
- function loadChevreTxc() {
243
- var params = [];
244
- for (var _i = 0; _i < arguments.length; _i++) {
245
- params[_i] = arguments[_i];
116
+ async function loadChevreTxc(...params) {
117
+ if (chevreTxc === undefined) {
118
+ chevreTxc = (await Promise.resolve().then(() => __importStar(require('./chevreTxc.js')))).ChevreTxc;
246
119
  }
247
- return __awaiter(this, void 0, void 0, function () {
248
- return __generator(this, function (_a) {
249
- switch (_a.label) {
250
- case 0:
251
- if (!(chevreTxc === undefined)) return [3 /*break*/, 2];
252
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./chevreTxc')); })];
253
- case 1:
254
- chevreTxc = (_a.sent()).ChevreTxc;
255
- _a.label = 2;
256
- case 2: return [2 /*return*/, new (chevreTxc.bind.apply(chevreTxc, __spreadArray([void 0], params, false)))()];
257
- }
258
- });
259
- });
120
+ return new chevreTxc(...params);
260
121
  }
261
- var pecorino;
122
+ let pecorino;
262
123
  /* istanbul ignore next */
263
- function loadPecorino() {
264
- return __awaiter(this, void 0, void 0, function () {
265
- return __generator(this, function (_a) {
266
- switch (_a.label) {
267
- case 0:
268
- if (!(pecorino === undefined)) return [3 /*break*/, 2];
269
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./pecorino')); })];
270
- case 1:
271
- pecorino = _a.sent();
272
- _a.label = 2;
273
- case 2: return [2 /*return*/, pecorino];
274
- }
275
- });
276
- });
124
+ async function loadPecorino() {
125
+ if (pecorino === undefined) {
126
+ pecorino = await Promise.resolve().then(() => __importStar(require('./pecorino.js')));
127
+ }
128
+ return pecorino;
277
129
  }
278
- var service;
130
+ let service;
279
131
  /* istanbul ignore next */
280
- function loadService() {
281
- return __awaiter(this, void 0, void 0, function () {
282
- return __generator(this, function (_a) {
283
- switch (_a.label) {
284
- case 0:
285
- if (!(service === undefined)) return [3 /*break*/, 2];
286
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./cinerino/default')); })];
287
- case 1:
288
- service = (_a.sent()).service;
289
- _a.label = 2;
290
- case 2: return [2 /*return*/, service];
291
- }
292
- });
293
- });
132
+ async function loadService() {
133
+ if (service === undefined) {
134
+ service = (await Promise.resolve().then(() => __importStar(require('./cinerino/default.js')))).service;
135
+ }
136
+ return service;
294
137
  }
295
- var cloudAdmin;
138
+ let cloudAdmin;
296
139
  /* istanbul ignore next */
297
140
  /**
298
141
  * 管理サービス群を読み込む
299
142
  */
300
- function loadCloudAdmin() {
301
- var params = [];
302
- for (var _i = 0; _i < arguments.length; _i++) {
303
- params[_i] = arguments[_i];
143
+ async function loadCloudAdmin(...params) {
144
+ if (cloudAdmin === undefined) {
145
+ cloudAdmin = (await Promise.resolve().then(() => __importStar(require('./cloud/admin.js')))).CloudAdmin;
304
146
  }
305
- return __awaiter(this, void 0, void 0, function () {
306
- return __generator(this, function (_a) {
307
- switch (_a.label) {
308
- case 0:
309
- if (!(cloudAdmin === undefined)) return [3 /*break*/, 2];
310
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./cloud/admin')); })];
311
- case 1:
312
- cloudAdmin = (_a.sent()).CloudAdmin;
313
- _a.label = 2;
314
- case 2: return [2 /*return*/, new (cloudAdmin.bind.apply(cloudAdmin, __spreadArray([void 0], params, false)))()];
315
- }
316
- });
317
- });
147
+ return new cloudAdmin(...params);
318
148
  }
319
- var cloudAsset;
149
+ let cloudAsset;
320
150
  /* istanbul ignore next */
321
151
  /**
322
152
  * 資産サービス群を読み込む
323
153
  */
324
- function loadCloudAsset() {
325
- var params = [];
326
- for (var _i = 0; _i < arguments.length; _i++) {
327
- params[_i] = arguments[_i];
154
+ async function loadCloudAsset(...params) {
155
+ if (cloudAsset === undefined) {
156
+ cloudAsset = (await Promise.resolve().then(() => __importStar(require('./cloud/asset.js')))).CloudAsset;
328
157
  }
329
- return __awaiter(this, void 0, void 0, function () {
330
- return __generator(this, function (_a) {
331
- switch (_a.label) {
332
- case 0:
333
- if (!(cloudAsset === undefined)) return [3 /*break*/, 2];
334
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./cloud/asset')); })];
335
- case 1:
336
- cloudAsset = (_a.sent()).CloudAsset;
337
- _a.label = 2;
338
- case 2: return [2 /*return*/, new (cloudAsset.bind.apply(cloudAsset, __spreadArray([void 0], params, false)))()];
339
- }
340
- });
341
- });
158
+ return new cloudAsset(...params);
342
159
  }
343
- var cloudSearch;
160
+ let cloudSearch;
344
161
  /* istanbul ignore next */
345
162
  /**
346
163
  * publicリソース検索サービス群を読み込む
347
164
  */
348
- function loadCloudSearch() {
349
- var params = [];
350
- for (var _i = 0; _i < arguments.length; _i++) {
351
- params[_i] = arguments[_i];
165
+ async function loadCloudSearch(...params) {
166
+ if (cloudSearch === undefined) {
167
+ cloudSearch = (await Promise.resolve().then(() => __importStar(require('./cloud/search.js')))).CloudSearch;
352
168
  }
353
- return __awaiter(this, void 0, void 0, function () {
354
- return __generator(this, function (_a) {
355
- switch (_a.label) {
356
- case 0:
357
- if (!(cloudSearch === undefined)) return [3 /*break*/, 2];
358
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./cloud/search')); })];
359
- case 1:
360
- cloudSearch = (_a.sent()).CloudSearch;
361
- _a.label = 2;
362
- case 2: return [2 /*return*/, new (cloudSearch.bind.apply(cloudSearch, __spreadArray([void 0], params, false)))()];
363
- }
364
- });
365
- });
169
+ return new cloudSearch(...params);
366
170
  }
367
- var cloudPay;
171
+ let cloudPay;
368
172
  /* istanbul ignore next */
369
173
  /**
370
174
  * 決済サービス群を読み込む
371
175
  */
372
- function loadCloudPay() {
373
- var params = [];
374
- for (var _i = 0; _i < arguments.length; _i++) {
375
- params[_i] = arguments[_i];
176
+ async function loadCloudPay(...params) {
177
+ if (cloudPay === undefined) {
178
+ cloudPay = (await Promise.resolve().then(() => __importStar(require('./cloud/pay.js')))).CloudPay;
376
179
  }
377
- return __awaiter(this, void 0, void 0, function () {
378
- return __generator(this, function (_a) {
379
- switch (_a.label) {
380
- case 0:
381
- if (!(cloudPay === undefined)) return [3 /*break*/, 2];
382
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./cloud/pay')); })];
383
- case 1:
384
- cloudPay = (_a.sent()).CloudPay;
385
- _a.label = 2;
386
- case 2: return [2 /*return*/, new (cloudPay.bind.apply(cloudPay, __spreadArray([void 0], params, false)))()];
387
- }
388
- });
389
- });
180
+ return new cloudPay(...params);
390
181
  }
391
- var cloudTxc;
182
+ let cloudTxc;
392
183
  /* istanbul ignore next */
393
184
  /**
394
185
  * 取引(COA)サービス群を読み込む
395
186
  */
396
- function loadCloudTxc() {
397
- var params = [];
398
- for (var _i = 0; _i < arguments.length; _i++) {
399
- params[_i] = arguments[_i];
187
+ async function loadCloudTxc(...params) {
188
+ if (cloudTxc === undefined) {
189
+ cloudTxc = (await Promise.resolve().then(() => __importStar(require('./cloud/txc.js')))).CloudTxc;
400
190
  }
401
- return __awaiter(this, void 0, void 0, function () {
402
- return __generator(this, function (_a) {
403
- switch (_a.label) {
404
- case 0:
405
- if (!(cloudTxc === undefined)) return [3 /*break*/, 2];
406
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./cloud/txc')); })];
407
- case 1:
408
- cloudTxc = (_a.sent()).CloudTxc;
409
- _a.label = 2;
410
- case 2: return [2 /*return*/, new (cloudTxc.bind.apply(cloudTxc, __spreadArray([void 0], params, false)))()];
411
- }
412
- });
413
- });
191
+ return new cloudTxc(...params);
414
192
  }
415
- var cloudTxn;
193
+ let cloudTxn;
416
194
  /* istanbul ignore next */
417
195
  /**
418
196
  * 取引サービス群を読み込む
419
197
  */
420
- function loadCloudTxn() {
421
- var params = [];
422
- for (var _i = 0; _i < arguments.length; _i++) {
423
- params[_i] = arguments[_i];
198
+ async function loadCloudTxn(...params) {
199
+ if (cloudTxn === undefined) {
200
+ cloudTxn = (await Promise.resolve().then(() => __importStar(require('./cloud/txn.js')))).CloudTxn;
424
201
  }
425
- return __awaiter(this, void 0, void 0, function () {
426
- return __generator(this, function (_a) {
427
- switch (_a.label) {
428
- case 0:
429
- if (!(cloudTxn === undefined)) return [3 /*break*/, 2];
430
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./cloud/txn')); })];
431
- case 1:
432
- cloudTxn = (_a.sent()).CloudTxn;
433
- _a.label = 2;
434
- case 2: return [2 /*return*/, new (cloudTxn.bind.apply(cloudTxn, __spreadArray([void 0], params, false)))()];
435
- }
436
- });
437
- });
202
+ return new cloudTxn(...params);
438
203
  }
439
- var waiterAdmin;
204
+ let waiterAdmin;
440
205
  /* istanbul ignore next */
441
- function loadWaiterAdmin() {
442
- var params = [];
443
- for (var _i = 0; _i < arguments.length; _i++) {
444
- params[_i] = arguments[_i];
206
+ async function loadWaiterAdmin(...params) {
207
+ if (waiterAdmin === undefined) {
208
+ waiterAdmin = (await Promise.resolve().then(() => __importStar(require('./waiterAdmin.js')))).WaiterAdmin;
445
209
  }
446
- return __awaiter(this, void 0, void 0, function () {
447
- return __generator(this, function (_a) {
448
- switch (_a.label) {
449
- case 0:
450
- if (!(waiterAdmin === undefined)) return [3 /*break*/, 2];
451
- return [4 /*yield*/, Promise.resolve().then(function () { return __importStar(require('./waiterAdmin')); })];
452
- case 1:
453
- waiterAdmin = (_a.sent()).WaiterAdmin;
454
- _a.label = 2;
455
- case 2: return [2 /*return*/, new (waiterAdmin.bind.apply(waiterAdmin, __spreadArray([void 0], params, false)))()];
456
- }
457
- });
458
- });
210
+ return new waiterAdmin(...params);
459
211
  }
@@ -1,4 +1,4 @@
1
- import * as factory from '@chevre/factory';
1
+ import { ChevreFactory } from '@chevre/factory';
2
2
  import { IOptions, ISearchResult, Service } from '../service';
3
3
  /**
4
4
  * 口座取引サービス
@@ -8,11 +8,11 @@ export declare class AccountTransactionService extends Service<IOptions> {
8
8
  /**
9
9
  * 取引検索
10
10
  */
11
- search(params: factory.account.transaction.ISearchConditions): Promise<ISearchResult<Pick<factory.account.transaction.ITransaction<factory.account.transactionType>, 'id' | 'status' | 'transactionNumber' | 'agent' | 'endDate' | 'expires' | 'object' | 'project' | 'recipient' | 'startDate' | 'typeOf'>[]>>;
11
+ search(params: ChevreFactory.account.transaction.ISearchConditions): Promise<ISearchResult<Pick<ChevreFactory.account.transaction.ITransaction<ChevreFactory.account.transactionType>, 'id' | 'status' | 'transactionNumber' | 'agent' | 'endDate' | 'expires' | 'object' | 'project' | 'recipient' | 'startDate' | 'typeOf'>[]>>;
12
12
  /**
13
13
  * 取引開始
14
14
  */
15
- start<T extends factory.account.transactionType>(params: factory.account.transaction.IStartParamsWithoutDetail<T>): Promise<Pick<factory.account.transaction.ITransaction<T>, 'id' | 'transactionNumber' | 'typeOf'>>;
15
+ start<T extends ChevreFactory.account.transactionType>(params: ChevreFactory.account.transaction.IStartParamsWithoutDetail<T>): Promise<Pick<ChevreFactory.account.transaction.ITransaction<T>, 'id' | 'transactionNumber' | 'typeOf'>>;
16
16
  /**
17
17
  * 取引確定(同期的)
18
18
  */