@chevre/domain 23.1.0-alpha.3 → 23.1.0-alpha.30

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 (91) hide show
  1. package/example/src/chevre/acceptedPaymentMethodOffer/adminAcceptedPaymentMethodOffers.ts +68 -0
  2. package/example/src/chevre/actions/checkAcceptPayActions.ts +60 -0
  3. package/example/src/chevre/assetTransaction/checkPayTransactionsTicketToken.ts +67 -0
  4. package/example/src/chevre/assetTransaction/processReserve.ts +8 -3
  5. package/example/src/chevre/authorizeEventServiceOffer.ts +7 -5
  6. package/example/src/chevre/eventSeries/migrateEventSeriesUnacceptedPaymentMethod.ts +93 -0
  7. package/example/src/chevre/member/migrateMemberIdentifier.ts +99 -0
  8. package/example/src/chevre/project/unsetProjectSettings.ts +73 -0
  9. package/example/src/chevre/reIndex.ts +1 -2
  10. package/example/src/chevre/roles/{addAdminSellerEventIfNotExists.ts → addAdminSellerEventOfferIfNotExists.ts} +1 -1
  11. package/example/src/chevre/stockHolder/findSeatsBySection.ts +59 -0
  12. package/example/src/chevre/stockHolder/searchSeats.ts +2 -2
  13. package/lib/chevre/repo/acceptedPaymentMethod.d.ts +41 -0
  14. package/lib/chevre/repo/acceptedPaymentMethod.js +180 -0
  15. package/lib/chevre/repo/authorization.d.ts +3 -2
  16. package/lib/chevre/repo/authorization.js +13 -5
  17. package/lib/chevre/repo/event.d.ts +1 -35
  18. package/lib/chevre/repo/event.js +2 -102
  19. package/lib/chevre/repo/eventOffer.d.ts +1 -1
  20. package/lib/chevre/repo/eventOffer.js +16 -10
  21. package/lib/chevre/repo/member.d.ts +18 -1
  22. package/lib/chevre/repo/member.js +14 -8
  23. package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.d.ts +10 -0
  24. package/lib/chevre/repo/mongoose/schemas/acceptedPaymentMethod.js +97 -0
  25. package/lib/chevre/repo/mongoose/schemas/eventOffer.js +48 -35
  26. package/lib/chevre/repo/mongoose/schemas/member.js +10 -0
  27. package/lib/chevre/repo/place/seat.d.ts +24 -0
  28. package/lib/chevre/repo/place/seat.js +103 -21
  29. package/lib/chevre/repo/ticket.d.ts +7 -1
  30. package/lib/chevre/repo/ticket.js +14 -1
  31. package/lib/chevre/repository.d.ts +5 -0
  32. package/lib/chevre/repository.js +15 -2
  33. package/lib/chevre/service/assetTransaction/pay/factory.d.ts +1 -1
  34. package/lib/chevre/service/assetTransaction/pay/factory.js +8 -3
  35. package/lib/chevre/service/assetTransaction/pay/validateAcceptedPaymentMethodIfNeeded.d.ts +16 -0
  36. package/lib/chevre/service/assetTransaction/pay/validateAcceptedPaymentMethodIfNeeded.js +92 -0
  37. package/lib/chevre/service/assetTransaction/pay.d.ts +6 -1
  38. package/lib/chevre/service/assetTransaction/pay.js +6 -1
  39. package/lib/chevre/service/assetTransaction/reserve/start.d.ts +6 -0
  40. package/lib/chevre/service/assetTransaction/reserve/start.js +5 -1
  41. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest/fixExtendedEventOffer.d.ts +22 -0
  42. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest/fixExtendedEventOffer.js +63 -0
  43. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest/validateIssuedOfferIfExists.d.ts +7 -2
  44. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest/validateIssuedOfferIfExists.js +32 -32
  45. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest/validateMemberTierIfExists.d.ts +1 -1
  46. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest/validateMemberTierIfExists.js +10 -54
  47. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest/verifyTicketTokenAsNeeded.d.ts +23 -0
  48. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest/verifyTicketTokenAsNeeded.js +62 -0
  49. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest.d.ts +36 -1
  50. package/lib/chevre/service/assetTransaction/reserve/validateStartRequest.js +23 -27
  51. package/lib/chevre/service/offer/event/authorize/factory.d.ts +0 -3
  52. package/lib/chevre/service/offer/event/authorize/factory.js +4 -3
  53. package/lib/chevre/service/offer/event/authorize/processStartReserve4chevre/requestedProgramMembershipUsed2permit.js +43 -26
  54. package/lib/chevre/service/offer/event/authorize/processStartReserve4chevre.d.ts +4 -0
  55. package/lib/chevre/service/offer/event/authorize/processStartReserve4chevre.js +4 -4
  56. package/lib/chevre/service/offer/event/authorize.d.ts +3 -0
  57. package/lib/chevre/service/offer/event/authorize.js +10 -5
  58. package/lib/chevre/service/offer/event/issueEventOfferTicket.d.ts +48 -0
  59. package/lib/chevre/service/offer/event/issueEventOfferTicket.js +123 -0
  60. package/lib/chevre/service/offer/event.d.ts +2 -1
  61. package/lib/chevre/service/offer/event.js +3 -1
  62. package/lib/chevre/service/payment/any/authorize/fixTransactionNumber.d.ts +9 -0
  63. package/lib/chevre/service/payment/any/authorize/fixTransactionNumber.js +22 -11
  64. package/lib/chevre/service/payment/any/authorize/handlePrePublishedPaymentMethodIdOnAuthorizing.d.ts +19 -2
  65. package/lib/chevre/service/payment/any/authorize/handlePrePublishedPaymentMethodIdOnAuthorizing.js +87 -9
  66. package/lib/chevre/service/payment/any/factory.d.ts +20 -3
  67. package/lib/chevre/service/payment/any/factory.js +26 -6
  68. package/lib/chevre/service/payment/any/publishPaymentUrl/fixTransactionNumberOnPublishPaymentUrl.d.ts +4 -0
  69. package/lib/chevre/service/payment/any/publishPaymentUrl/fixTransactionNumberOnPublishPaymentUrl.js +15 -11
  70. package/lib/chevre/service/payment/any/verifyTicketTokenAsNeeded.d.ts +6 -3
  71. package/lib/chevre/service/payment/any/verifyTicketTokenAsNeeded.js +20 -28
  72. package/lib/chevre/service/payment/any.d.ts +5 -1
  73. package/lib/chevre/service/payment/any.js +22 -13
  74. package/lib/chevre/service/payment/factory.js +0 -5
  75. package/lib/chevre/service/payment/movieTicket/authorize.js +0 -5
  76. package/lib/chevre/service/task/authorizePayment.js +2 -0
  77. package/lib/chevre/service/task/publishPaymentUrl.js +4 -0
  78. package/lib/chevre/service/transaction/placeOrder/confirm/publishCode.js +1 -1
  79. package/lib/chevre/service/transaction/placeOrder/confirm/validation/factory.d.ts +9 -0
  80. package/lib/chevre/service/transaction/placeOrder/confirm/validation/factory.js +2 -0
  81. package/lib/chevre/service/transaction/placeOrder/confirm/validation/validateInvoiceReferencesOrder.d.ts +8 -0
  82. package/lib/chevre/service/transaction/placeOrder/confirm/validation/validateInvoiceReferencesOrder.js +45 -0
  83. package/lib/chevre/service/transaction/placeOrder/confirm/validation/validatePrice.d.ts +3 -0
  84. package/lib/chevre/service/transaction/placeOrder/confirm/validation/validatePrice.js +38 -0
  85. package/lib/chevre/service/transaction/placeOrder/confirm/validation.d.ts +2 -8
  86. package/lib/chevre/service/transaction/placeOrder/confirm/validation.js +5 -35
  87. package/package.json +3 -3
  88. package/example/src/chevre/checkReplaceActions.ts +0 -65
  89. package/example/src/chevre/upsertManyEventsByAdditionalProperty.ts +0 -193
  90. package/lib/chevre/service/code.d.ts +0 -8
  91. package/lib/chevre/service/code.js +0 -7
@@ -1,8 +0,0 @@
1
- /**
2
- * 承認サービス
3
- * ひとまず不要なので廃止(2025-07-18~)
4
- */
5
- /**
6
- * コードをトークンに変換する
7
- */
8
- export {};
@@ -1,7 +0,0 @@
1
- "use strict";
2
- /**
3
- * 承認サービス
4
- * ひとまず不要なので廃止(2025-07-18~)
5
- */
6
- // import * as jwt from 'jsonwebtoken';
7
- Object.defineProperty(exports, "__esModule", { value: true });