@chevre/domain 27.1.0-alpha.0 → 27.1.0-alpha.1

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.
@@ -60,11 +60,7 @@ function onReservationConfirmed(confirmedReservations, reserveAction) {
60
60
  }
61
61
  }
62
62
  const subReservations4inform = confirmedReservations.map((r) => {
63
- const {
64
- // additionalProperty: _additionalProperty,
65
- // price: _price,
66
- // programMembershipUsed: _programMembershipUsed,
67
- additionalTicketText, id, modifiedTime, reservedTicket, subReservation, typeOf } = r;
63
+ const { additionalTicketText, id, modifiedTime, reservedTicket, subReservation, typeOf } = r;
68
64
  const { ticketType: _ticketType, ...reservedTicketWithNoTicketType } = reservedTicket;
69
65
  const reservedTicket4inform = reservedTicketWithNoTicketType;
70
66
  return {
@@ -79,15 +75,14 @@ function onReservationConfirmed(confirmedReservations, reserveAction) {
79
75
  // ...(!minimizeReservation && programMembershipUsed !== undefined) ? { programMembershipUsed } : undefined, // discontinue(2026-08-01~)
80
76
  };
81
77
  });
82
- // if (typeof issuedThrough.id !== 'string') {
83
- // // COA予約では予約アクションを想定していないので、興行idは必ず存在するはず
84
- // throw new factory.errors.Internal('reservation.issuedThrough.id must be string');
85
- // }
86
78
  const informObject = {
87
79
  bookingTime,
88
80
  project,
89
81
  provider, // subReservationから移行(2024-03-20~)
90
- reservationFor,
82
+ reservationFor: {
83
+ id: reservationFor.id,
84
+ typeOf: reservationFor.typeOf
85
+ },
91
86
  reservationNumber,
92
87
  reservationStatus: factory_1.factory.reservationStatusType.ReservationConfirmed,
93
88
  subReservation: subReservations4inform,
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "dependencies": {
12
12
  "@aws-sdk/client-cognito-identity-provider": "3.1090.0",
13
13
  "@aws-sdk/credential-providers": "3.1090.0",
14
- "@chevre/factory": "10.4.0",
14
+ "@chevre/factory": "10.5.0-alpha.0",
15
15
  "@motionpicture/coa-service": "10.0.0",
16
16
  "@motionpicture/gmo-service": "6.1.0-alpha.0",
17
17
  "@sendgrid/client": "8.1.4",
@@ -88,5 +88,5 @@
88
88
  "postversion": "git push origin --tags",
89
89
  "prepublishOnly": "npm run clean && npm run build"
90
90
  },
91
- "version": "27.1.0-alpha.0"
91
+ "version": "27.1.0-alpha.1"
92
92
  }