@chevre/domain 20.4.0-alpha.35 → 20.4.0-alpha.36

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.
@@ -3,7 +3,7 @@ import * as factory from '../../../factory';
3
3
  export declare function createSeatInfoSyncIn(params: {
4
4
  paymentMethodType: string;
5
5
  paymentMethodId: string;
6
- movieTickets: factory.paymentMethod.paymentCard.movieTicket.IMovieTicket[];
6
+ movieTickets: factory.action.trade.pay.IMovieTicket[];
7
7
  event: factory.event.screeningEvent.IEvent;
8
8
  purpose: factory.action.trade.pay.IPurpose;
9
9
  seller: factory.seller.ISeller;
@@ -6,11 +6,10 @@ import { MongoRepository as ProjectRepo } from '../../repo/project';
6
6
  import { MongoRepository as SellerRepo } from '../../repo/seller';
7
7
  import { MongoRepository as TaskRepo } from '../../repo/task';
8
8
  import * as factory from '../../factory';
9
- declare type IMovieTicket = factory.paymentMethod.paymentCard.movieTicket.IMovieTicket;
10
9
  interface ICheckResult {
11
10
  purchaseNumberAuthIn: factory.action.check.paymentMethod.movieTicket.IPurchaseNumberAuthIn;
12
11
  purchaseNumberAuthResult: factory.action.check.paymentMethod.movieTicket.IPurchaseNumberAuthResult;
13
- movieTickets: IMovieTicket[];
12
+ movieTickets: factory.action.check.paymentMethod.movieTicket.IMovieTicket[];
14
13
  }
15
14
  interface ICheckOperationRepos {
16
15
  action: ActionRepo;
@@ -48,7 +47,7 @@ declare function checkMovieTicket(params: factory.action.check.paymentMethod.mov
48
47
  * MovieTicket認証
49
48
  */
50
49
  declare function checkByIdentifier(params: {
51
- movieTickets: IMovieTicket[];
50
+ movieTickets: factory.action.check.paymentMethod.movieTicket.IMovieTicket[];
52
51
  seller: factory.seller.ISeller;
53
52
  screeningEvent: IMinimizedIndividualEvent<factory.eventType.ScreeningEvent>;
54
53
  paymentServiceId: string;
@@ -195,7 +195,7 @@ function purchaseNumberAuthResult2movieTickets(params) {
195
195
  // tslint:disable-next-line:prefer-array-literal
196
196
  [...Array(Number(ykknInfo.ykknKnshbtsmiNum))].forEach(() => {
197
197
  movieTickets.push({
198
- project: { typeOf: factory.organizationType.Project, id: params.screeningEvent.project.id },
198
+ // project: { typeOf: factory.organizationType.Project, id: params.screeningEvent.project.id },
199
199
  typeOf: paymentMethodType,
200
200
  identifier: knyknrNoInfo.knyknrNo,
201
201
  accessCode: knyknrNoInfo.pinCd,
@@ -207,16 +207,16 @@ function purchaseNumberAuthResult2movieTickets(params) {
207
207
  reservationFor: {
208
208
  typeOf: params.screeningEvent.typeOf,
209
209
  id: params.screeningEvent.id
210
- },
211
- reservedTicket: {
212
- ticketedSeat: {
213
- typeOf: factory.placeType.Seat,
214
- // seatingType: 'Default', // 情報空でよし
215
- seatNumber: '',
216
- seatRow: '',
217
- seatSection: '' // 情報空でよし
218
- }
219
210
  }
211
+ // reservedTicket: {
212
+ // ticketedSeat: {
213
+ // typeOf: factory.placeType.Seat,
214
+ // // seatingType: 'Default', // 情報空でよし
215
+ // seatNumber: '', // 情報空でよし
216
+ // seatRow: '', // 情報空でよし
217
+ // seatSection: '' // 情報空でよし
218
+ // }
219
+ // }
220
220
  }
221
221
  });
222
222
  });
@@ -226,7 +226,9 @@ function purchaseNumberAuthResult2movieTickets(params) {
226
226
  knyknrNoInfoOut.mkknInfo.forEach((mkknInfo) => {
227
227
  // tslint:disable-next-line:prefer-array-literal
228
228
  [...Array(Number(mkknInfo.mkknKnshbtsmiNum))].forEach(() => {
229
- movieTickets.push(Object.assign({ project: { typeOf: factory.organizationType.Project, id: params.screeningEvent.project.id }, typeOf: paymentMethodType, identifier: knyknrNoInfo.knyknrNo, accessCode: knyknrNoInfo.pinCd, category: {
229
+ movieTickets.push(Object.assign({
230
+ // project: { typeOf: factory.organizationType.Project, id: params.screeningEvent.project.id },
231
+ typeOf: paymentMethodType, identifier: knyknrNoInfo.knyknrNo, accessCode: knyknrNoInfo.pinCd, category: {
230
232
  codeValue: movieTicketCategoryCode // 追加(2023-02-08~)
231
233
  }, amount: {
232
234
  typeOf: 'MonetaryAmount',
@@ -237,16 +239,16 @@ function purchaseNumberAuthResult2movieTickets(params) {
237
239
  reservationFor: {
238
240
  typeOf: params.screeningEvent.typeOf,
239
241
  id: params.screeningEvent.id
240
- },
241
- reservedTicket: {
242
- ticketedSeat: {
243
- typeOf: factory.placeType.Seat,
244
- // seatingType: 'Default', // 情報空でよし
245
- seatNumber: '',
246
- seatRow: '',
247
- seatSection: '' // 情報空でよし
248
- }
249
242
  }
243
+ // reservedTicket: {
244
+ // ticketedSeat: {
245
+ // typeOf: factory.placeType.Seat,
246
+ // // seatingType: 'Default', // 情報空でよし
247
+ // seatNumber: '', // 情報空でよし
248
+ // seatRow: '', // 情報空でよし
249
+ // seatSection: '' // 情報空でよし
250
+ // }
251
+ // }
250
252
  } }, {
251
253
  validThrough: moment(`${mkknInfo.yykDt}+09:00`, 'YYYY/MM/DD HH:mm:ssZ')
252
254
  .toDate()
package/package.json CHANGED
@@ -9,8 +9,8 @@
9
9
  }
10
10
  ],
11
11
  "dependencies": {
12
- "@chevre/factory": "4.293.0-alpha.0",
13
- "@cinerino/sdk": "3.143.0",
12
+ "@chevre/factory": "4.293.0-alpha.1",
13
+ "@cinerino/sdk": "3.144.0-alpha.1",
14
14
  "@motionpicture/coa-service": "9.2.0",
15
15
  "@motionpicture/gmo-service": "5.2.0",
16
16
  "@sendgrid/mail": "6.4.0",
@@ -120,5 +120,5 @@
120
120
  "postversion": "git push origin --tags",
121
121
  "prepublishOnly": "npm run clean && npm run build && npm test && npm run doc"
122
122
  },
123
- "version": "20.4.0-alpha.35"
123
+ "version": "20.4.0-alpha.36"
124
124
  }