@chevre/domain 24.0.0-alpha.72 → 24.0.0-alpha.74

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 (94) hide show
  1. package/lib/chevre/credentials.js +3 -26
  2. package/lib/chevre/errorHandler.js +48 -71
  3. package/lib/chevre/eventEmitter.js +17 -7
  4. package/lib/chevre/factory.d.ts +1 -2
  5. package/lib/chevre/factory.js +2 -26
  6. package/lib/chevre/index.js +18 -22
  7. package/lib/chevre/repo/action.d.ts +2 -2
  8. package/lib/chevre/repo/aggregateOffer.js +3 -26
  9. package/lib/chevre/repo/assetTransaction.d.ts +20 -20
  10. package/lib/chevre/repo/comment.d.ts +2 -2
  11. package/lib/chevre/repo/creativeWork.d.ts +3 -3
  12. package/lib/chevre/repo/event.d.ts +5 -5
  13. package/lib/chevre/repo/event.js +17 -7
  14. package/lib/chevre/repo/eventSeries.js +1 -24
  15. package/lib/chevre/repo/factory/reservation/createMongoConditions.d.ts +1 -1
  16. package/lib/chevre/repo/identity.d.ts +4 -4
  17. package/lib/chevre/repo/merchantReturnPolicy.d.ts +4 -4
  18. package/lib/chevre/repo/note.d.ts +1 -1
  19. package/lib/chevre/repo/noteAboutOrder.d.ts +1 -1
  20. package/lib/chevre/repo/offerCatalog.js +3 -26
  21. package/lib/chevre/repo/paymentService.d.ts +1 -1
  22. package/lib/chevre/repo/place/busStop.d.ts +1 -1
  23. package/lib/chevre/repo/place/movieTheater.d.ts +3 -3
  24. package/lib/chevre/repo/place/screeningRoom.d.ts +4 -4
  25. package/lib/chevre/repo/priceSpecification.d.ts +8 -8
  26. package/lib/chevre/repo/reservation.d.ts +2 -2
  27. package/lib/chevre/repo/role.d.ts +9 -9
  28. package/lib/chevre/repo/task.d.ts +1 -1
  29. package/lib/chevre/repo/transaction/placeOrder.d.ts +1 -1
  30. package/lib/chevre/repo/transaction/returnOrder.d.ts +1 -1
  31. package/lib/chevre/repo/transaction.d.ts +31 -31
  32. package/lib/chevre/repository.js +103 -126
  33. package/lib/chevre/service/accountTransaction.js +17 -7
  34. package/lib/chevre/service/aggregation.js +17 -7
  35. package/lib/chevre/service/assetTransaction/cancelReservation/start.d.ts +2 -2
  36. package/lib/chevre/service/assetTransaction/moneyTransfer.js +17 -7
  37. package/lib/chevre/service/assetTransaction/pay/check.js +17 -7
  38. package/lib/chevre/service/assetTransaction/pay/publishPaymentUrl.js +17 -7
  39. package/lib/chevre/service/assetTransaction/pay/searchGMOTrade.js +17 -7
  40. package/lib/chevre/service/assetTransaction/pay/start/processAuthorizeAccount.js +17 -7
  41. package/lib/chevre/service/assetTransaction/pay/start/processAuthorizeCreditCard.js +17 -7
  42. package/lib/chevre/service/assetTransaction/pay/start/processAuthorizeMovieTicket.js +17 -7
  43. package/lib/chevre/service/assetTransaction/registerService.js +17 -7
  44. package/lib/chevre/service/assetTransaction/reserve/start/createSubReservations.js +17 -7
  45. package/lib/chevre/service/assetTransaction/reserve/start.js +17 -7
  46. package/lib/chevre/service/assetTransaction.js +17 -7
  47. package/lib/chevre/service/delivery.js +17 -7
  48. package/lib/chevre/service/moneyTransfer.js +17 -7
  49. package/lib/chevre/service/notification/notifyByEmail.d.ts +1 -1
  50. package/lib/chevre/service/notification/notifyByEmail.js +1 -1
  51. package/lib/chevre/service/notification/sendEmailMessage.js +1 -1
  52. package/lib/chevre/service/notification/triggerWebhook.js +22 -12
  53. package/lib/chevre/service/offer/event/authorize/processStartReserve4chevre.js +17 -7
  54. package/lib/chevre/service/offer/eventServiceByCOA/acceptOffer/authorize.js +2 -2
  55. package/lib/chevre/service/offer/product.js +17 -7
  56. package/lib/chevre/service/offer.js +17 -7
  57. package/lib/chevre/service/order/confirmPayTransaction.js +17 -7
  58. package/lib/chevre/service/order/onOrderStatusChanged/onOrderCancelled/factory.d.ts +1 -1
  59. package/lib/chevre/service/order/onOrderStatusChanged/onOrderDeliveredPartially/factory.d.ts +1 -1
  60. package/lib/chevre/service/order/onOrderStatusChanged/onOrderReturned/factory.d.ts +1 -1
  61. package/lib/chevre/service/payment/any/authorize.js +17 -7
  62. package/lib/chevre/service/payment/any/processVoidPayTransaction.js +17 -7
  63. package/lib/chevre/service/payment/any/publishPaymentUrl.js +17 -7
  64. package/lib/chevre/service/payment/creditCard/authorize/handleAuthorizeError.js +1 -1
  65. package/lib/chevre/service/payment/movieTicket/payMovieTicket/processSeatInfoSync.js +1 -1
  66. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSync.js +4 -4
  67. package/lib/chevre/service/payment/movieTicket/refundMovieTicket/processSeatInfoSyncCancel.js +1 -1
  68. package/lib/chevre/service/payment/paymentCard.js +17 -7
  69. package/lib/chevre/service/permit.js +17 -7
  70. package/lib/chevre/service/reserve/factory.d.ts +1 -1
  71. package/lib/chevre/service/reserveCOA/cancelReservation.js +1 -1
  72. package/lib/chevre/service/task/aggregateScreeningEvent.js +17 -7
  73. package/lib/chevre/service/task/deletePerson.js +2 -25
  74. package/lib/chevre/service/task/deleteTransaction.js +17 -7
  75. package/lib/chevre/service/task/givePointAward.js +17 -7
  76. package/lib/chevre/service/task/importEventCapacitiesFromCOA.js +17 -7
  77. package/lib/chevre/service/task/importEventsFromCOA.js +17 -7
  78. package/lib/chevre/service/task/importOffersFromCOA.js +17 -7
  79. package/lib/chevre/service/task/moneyTransfer.js +17 -7
  80. package/lib/chevre/service/task/payment/invalidatePaymentUrlByTask.js +17 -7
  81. package/lib/chevre/service/task/payment/payByTask.js +17 -7
  82. package/lib/chevre/service/task/payment/refundByTask.js +17 -7
  83. package/lib/chevre/service/task/payment/voidPaymentByTask.js +17 -7
  84. package/lib/chevre/service/task/returnPayTransaction.js +17 -7
  85. package/lib/chevre/service/task/returnPointAward.js +17 -7
  86. package/lib/chevre/service/task/returnReserveTransaction.js +17 -7
  87. package/lib/chevre/service/task.js +2 -25
  88. package/lib/chevre/service/taskHandler.js +3 -26
  89. package/lib/chevre/service/transaction/returnOrder/preStart/getReturnPolicyByProject.js +5 -5
  90. package/lib/chevre/service/transaction/returnOrder.d.ts +1 -1
  91. package/lib/chevre/service/transaction.js +17 -7
  92. package/lib/chevre/service.js +33 -23
  93. package/lib/index.js +17 -7
  94. package/package.json +10 -13
@@ -30,7 +30,7 @@ type AvailableAssetTransactionType = factory.assetTransactionType.CancelReservat
30
30
  export declare class AssetTransactionRepo {
31
31
  private readonly transactionModel;
32
32
  constructor(connection: Connection);
33
- static CREATE_MONGO_CONDITIONS(params: factory.assetTransaction.ISearchConditions<factory.assetTransactionType>): FilterQuery<import("@chevre/factory/lib/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/assetTransaction/reserve").ITransaction>[];
33
+ static CREATE_MONGO_CONDITIONS(params: factory.assetTransaction.ISearchConditions<factory.assetTransactionType>): FilterQuery<import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/reserve").ITransaction>[];
34
34
  /**
35
35
  * 取引を開始する
36
36
  */
@@ -124,7 +124,7 @@ export declare class AssetTransactionRepo {
124
124
  $in: factory.transactionStatusType[];
125
125
  };
126
126
  limit: number;
127
- }): Promise<Pick<import("@chevre/factory/lib/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/assetTransaction/reserve").ITransaction, "id" | "typeOf" | "status">[]>;
127
+ }): Promise<Pick<import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/pay").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/refund").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/registerService").ITransaction | import("@chevre/factory/lib/chevre/assetTransaction/reserve").ITransaction, "id" | "typeOf" | "status">[]>;
128
128
  /**
129
129
  * set task status exported by transaction id
130
130
  * IDでタスクをエクスポート済に変更する
@@ -219,7 +219,7 @@ export declare class AssetTransactionRepo {
219
219
  object: {
220
220
  reservationNumber: string;
221
221
  };
222
- }): Promise<(import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
222
+ }): Promise<(import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").IAttributes & {
223
223
  id: string;
224
224
  } & {
225
225
  seller?: any;
@@ -227,7 +227,7 @@ export declare class AssetTransactionRepo {
227
227
  _id: import("mongoose").Types.ObjectId;
228
228
  } & {
229
229
  __v: number;
230
- }) | (import("@chevre/factory/lib/assetTransaction/moneyTransfer").IAttributes & {
230
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").IAttributes & {
231
231
  id: string;
232
232
  } & {
233
233
  seller?: any;
@@ -235,7 +235,7 @@ export declare class AssetTransactionRepo {
235
235
  _id: import("mongoose").Types.ObjectId;
236
236
  } & {
237
237
  __v: number;
238
- }) | (import("@chevre/factory/lib/assetTransaction/pay").IAttributes & {
238
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/pay").IAttributes & {
239
239
  id: string;
240
240
  } & {
241
241
  seller?: any;
@@ -243,7 +243,7 @@ export declare class AssetTransactionRepo {
243
243
  _id: import("mongoose").Types.ObjectId;
244
244
  } & {
245
245
  __v: number;
246
- }) | (import("@chevre/factory/lib/assetTransaction/refund").IAttributes & {
246
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/refund").IAttributes & {
247
247
  id: string;
248
248
  } & {
249
249
  seller?: any;
@@ -251,7 +251,7 @@ export declare class AssetTransactionRepo {
251
251
  _id: import("mongoose").Types.ObjectId;
252
252
  } & {
253
253
  __v: number;
254
- }) | (import("@chevre/factory/lib/assetTransaction/registerService").IAttributes & {
254
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/registerService").IAttributes & {
255
255
  id: string;
256
256
  } & {
257
257
  seller?: any;
@@ -259,7 +259,7 @@ export declare class AssetTransactionRepo {
259
259
  _id: import("mongoose").Types.ObjectId;
260
260
  } & {
261
261
  __v: number;
262
- }) | (import("@chevre/factory/lib/assetTransaction/reserve").IAttributes & {
262
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/reserve").IAttributes & {
263
263
  id: string;
264
264
  } & {
265
265
  seller?: any;
@@ -285,7 +285,7 @@ export declare class AssetTransactionRepo {
285
285
  findByIdAndDelete(params: {
286
286
  id: string;
287
287
  }): Promise<void>;
288
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
288
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").IAttributes & {
289
289
  id: string;
290
290
  } & {
291
291
  seller?: any;
@@ -293,7 +293,7 @@ export declare class AssetTransactionRepo {
293
293
  _id: import("mongoose").Types.ObjectId;
294
294
  } & {
295
295
  __v: number;
296
- }) | (import("@chevre/factory/lib/assetTransaction/moneyTransfer").IAttributes & {
296
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").IAttributes & {
297
297
  id: string;
298
298
  } & {
299
299
  seller?: any;
@@ -301,7 +301,7 @@ export declare class AssetTransactionRepo {
301
301
  _id: import("mongoose").Types.ObjectId;
302
302
  } & {
303
303
  __v: number;
304
- }) | (import("@chevre/factory/lib/assetTransaction/pay").IAttributes & {
304
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/pay").IAttributes & {
305
305
  id: string;
306
306
  } & {
307
307
  seller?: any;
@@ -309,7 +309,7 @@ export declare class AssetTransactionRepo {
309
309
  _id: import("mongoose").Types.ObjectId;
310
310
  } & {
311
311
  __v: number;
312
- }) | (import("@chevre/factory/lib/assetTransaction/refund").IAttributes & {
312
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/refund").IAttributes & {
313
313
  id: string;
314
314
  } & {
315
315
  seller?: any;
@@ -317,7 +317,7 @@ export declare class AssetTransactionRepo {
317
317
  _id: import("mongoose").Types.ObjectId;
318
318
  } & {
319
319
  __v: number;
320
- }) | (import("@chevre/factory/lib/assetTransaction/registerService").IAttributes & {
320
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/registerService").IAttributes & {
321
321
  id: string;
322
322
  } & {
323
323
  seller?: any;
@@ -325,7 +325,7 @@ export declare class AssetTransactionRepo {
325
325
  _id: import("mongoose").Types.ObjectId;
326
326
  } & {
327
327
  __v: number;
328
- }) | (import("@chevre/factory/lib/assetTransaction/reserve").IAttributes & {
328
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/reserve").IAttributes & {
329
329
  id: string;
330
330
  } & {
331
331
  seller?: any;
@@ -333,7 +333,7 @@ export declare class AssetTransactionRepo {
333
333
  _id: import("mongoose").Types.ObjectId;
334
334
  } & {
335
335
  __v: number;
336
- })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((import("@chevre/factory/lib/assetTransaction/cancelReservation").IAttributes & {
336
+ })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((import("@chevre/factory/lib/chevre/assetTransaction/cancelReservation").IAttributes & {
337
337
  id: string;
338
338
  } & {
339
339
  seller?: any;
@@ -341,7 +341,7 @@ export declare class AssetTransactionRepo {
341
341
  _id: import("mongoose").Types.ObjectId;
342
342
  } & {
343
343
  __v: number;
344
- }) | (import("@chevre/factory/lib/assetTransaction/moneyTransfer").IAttributes & {
344
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/moneyTransfer").IAttributes & {
345
345
  id: string;
346
346
  } & {
347
347
  seller?: any;
@@ -349,7 +349,7 @@ export declare class AssetTransactionRepo {
349
349
  _id: import("mongoose").Types.ObjectId;
350
350
  } & {
351
351
  __v: number;
352
- }) | (import("@chevre/factory/lib/assetTransaction/pay").IAttributes & {
352
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/pay").IAttributes & {
353
353
  id: string;
354
354
  } & {
355
355
  seller?: any;
@@ -357,7 +357,7 @@ export declare class AssetTransactionRepo {
357
357
  _id: import("mongoose").Types.ObjectId;
358
358
  } & {
359
359
  __v: number;
360
- }) | (import("@chevre/factory/lib/assetTransaction/refund").IAttributes & {
360
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/refund").IAttributes & {
361
361
  id: string;
362
362
  } & {
363
363
  seller?: any;
@@ -365,7 +365,7 @@ export declare class AssetTransactionRepo {
365
365
  _id: import("mongoose").Types.ObjectId;
366
366
  } & {
367
367
  __v: number;
368
- }) | (import("@chevre/factory/lib/assetTransaction/registerService").IAttributes & {
368
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/registerService").IAttributes & {
369
369
  id: string;
370
370
  } & {
371
371
  seller?: any;
@@ -373,7 +373,7 @@ export declare class AssetTransactionRepo {
373
373
  _id: import("mongoose").Types.ObjectId;
374
374
  } & {
375
375
  __v: number;
376
- }) | (import("@chevre/factory/lib/assetTransaction/reserve").IAttributes & {
376
+ }) | (import("@chevre/factory/lib/chevre/assetTransaction/reserve").IAttributes & {
377
377
  id: string;
378
378
  } & {
379
379
  seller?: any;
@@ -30,11 +30,11 @@ export declare class CommentRepo {
30
30
  deleteById(params: {
31
31
  id: string;
32
32
  }): Promise<void>;
33
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/creativeWork/comment").IComment & {
33
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/chevre/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/chevre/creativeWork/comment").IComment & {
34
34
  _id: import("mongoose").Types.ObjectId;
35
35
  } & {
36
36
  __v: number;
37
- }, import("mongoose").QueryOptions<import("@chevre/factory/lib/creativeWork/comment").IComment>, (import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/creativeWork/comment").IComment & {
37
+ }, import("mongoose").QueryOptions<import("@chevre/factory/lib/chevre/creativeWork/comment").IComment>, (import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/chevre/creativeWork/comment").IComment, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/chevre/creativeWork/comment").IComment & {
38
38
  _id: import("mongoose").Types.ObjectId;
39
39
  } & {
40
40
  __v: number;
@@ -9,7 +9,7 @@ type IKeyOfProjection = keyof factory.creativeWork.movie.ICreativeWork;
9
9
  export declare class CreativeWorkRepo {
10
10
  private readonly creativeWorkModel;
11
11
  constructor(connection: Connection);
12
- static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.movie.ISearchConditions): FilterQuery<import("@chevre/factory/lib/creativeWork/movie").ICreativeWork>[];
12
+ static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.movie.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/creativeWork/movie").ICreativeWork>[];
13
13
  /**
14
14
  * コンテンツを保管する
15
15
  */
@@ -49,13 +49,13 @@ export declare class CreativeWorkRepo {
49
49
  id: string;
50
50
  };
51
51
  }): Promise<void>;
52
- getCursor(conditions: FilterQuery<factory.creativeWork.movie.ICreativeWork>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/creativeWork/movie").ICreativeWork, "id"> & {
52
+ getCursor(conditions: FilterQuery<factory.creativeWork.movie.ICreativeWork>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/creativeWork/movie").ICreativeWork, "id"> & {
53
53
  description?: string;
54
54
  } & {
55
55
  _id: Types.ObjectId;
56
56
  } & {
57
57
  __v: number;
58
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/creativeWork/movie").ICreativeWork, "id"> & {
58
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/creativeWork/movie").ICreativeWork, "id"> & {
59
59
  description?: string;
60
60
  } & {
61
61
  _id: Types.ObjectId;
@@ -288,23 +288,23 @@ export declare class EventRepo {
288
288
  validationErrors: import("mongoose").Error[];
289
289
  } | undefined;
290
290
  }>;
291
- getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
291
+ getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
292
292
  _id: string;
293
293
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
294
- }, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
294
+ }, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
295
295
  _id: string;
296
296
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
297
297
  } & Required<{
298
298
  _id: string;
299
299
  }> & {
300
300
  __v: number;
301
- }, import("mongoose").QueryOptions<import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
301
+ }, import("mongoose").QueryOptions<import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
302
302
  _id: string;
303
303
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
304
- }>, (import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
304
+ }>, (import("mongoose").Document<unknown, Record<string, never>, import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
305
305
  _id: string;
306
306
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
307
- }, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/event/screeningEvent").IAttributes & {
307
+ }, import("./mongoose/virtuals").IVirtuals, {}> & import("@chevre/factory/lib/chevre/event/screeningEvent").IAttributes & {
308
308
  _id: string;
309
309
  aggregateOffer?: factory.event.screeningEvent.IAggregateOffer;
310
310
  } & Required<{
@@ -15,13 +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
- };
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
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.EventRepo = void 0;
27
37
  const mongoose_1 = require("mongoose");
@@ -1,27 +1,4 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.EventSeriesRepo = void 0;
27
4
  const factory_1 = require("../factory");
@@ -302,7 +279,7 @@ class EventSeriesRepo {
302
279
  */
303
280
  async upsertByVersion(params, options) {
304
281
  const { upsert } = options;
305
- const { default: uniqid } = await Promise.resolve().then(() => __importStar(require('uniqid')));
282
+ const { default: uniqid } = await import('uniqid');
306
283
  const bulkWriteOps = [];
307
284
  const queryFilters = [];
308
285
  if (Array.isArray(params)) {
@@ -1,3 +1,3 @@
1
1
  import type { FilterQuery } from 'mongoose';
2
2
  import { factory } from '../../../factory';
3
- export declare function CREATE_MONGO_CONDITIONS(params: factory.reservation.eventReservation.ISearchConditions): FilterQuery<import("@chevre/factory/lib/reservation/event").IReservation>[];
3
+ export declare function CREATE_MONGO_CONDITIONS(params: factory.reservation.eventReservation.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/reservation/event").IReservation>[];
@@ -36,19 +36,19 @@ export declare class IdentityRepo {
36
36
  id: string;
37
37
  };
38
38
  }): Promise<void>;
39
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/creativeWork/certification/softwareApplication").ICertification, "id"> & {
39
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/chevre/creativeWork/certification/softwareApplication").ICertification, "id"> & {
40
40
  _id: import("mongoose").Types.ObjectId;
41
41
  } & {
42
42
  __v: number;
43
- }) | (Omit<import("@chevre/factory/lib/creativeWork/certification/webApplication").ICertification, "id"> & {
43
+ }) | (Omit<import("@chevre/factory/lib/chevre/creativeWork/certification/webApplication").ICertification, "id"> & {
44
44
  _id: import("mongoose").Types.ObjectId;
45
45
  } & {
46
46
  __v: number;
47
- })), QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/creativeWork/certification/softwareApplication").ICertification, "id"> & {
47
+ })), QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & ((Omit<import("@chevre/factory/lib/chevre/creativeWork/certification/softwareApplication").ICertification, "id"> & {
48
48
  _id: import("mongoose").Types.ObjectId;
49
49
  } & {
50
50
  __v: number;
51
- }) | (Omit<import("@chevre/factory/lib/creativeWork/certification/webApplication").ICertification, "id"> & {
51
+ }) | (Omit<import("@chevre/factory/lib/chevre/creativeWork/certification/webApplication").ICertification, "id"> & {
52
52
  _id: import("mongoose").Types.ObjectId;
53
53
  } & {
54
54
  __v: number;
@@ -24,10 +24,10 @@ export declare class MerchantReturnPolicyRepo {
24
24
  customerRemorseReturnFees: factory.merchantReturnPolicy.ICustomerRemorseReturnFees;
25
25
  customerRemorseReturnFeesMovieTicket: factory.merchantReturnPolicy.ICustomerRemorseReturnFeesMovieTicket;
26
26
  project: Pick<factory.project.IProject, "id" | "typeOf">;
27
- additionalProperty?: import("@chevre/factory/lib/propertyValue").IPropertyValue<string>[];
27
+ additionalProperty?: import("@chevre/factory/lib/chevre/propertyValue").IPropertyValue<string>[];
28
28
  id?: string;
29
29
  identifier: string;
30
- name?: import("@chevre/factory/lib/multilingualString").IMultilingualString;
30
+ name?: import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString;
31
31
  } & {
32
32
  _id: import("mongoose").Types.ObjectId;
33
33
  } & {
@@ -36,10 +36,10 @@ export declare class MerchantReturnPolicyRepo {
36
36
  customerRemorseReturnFees: factory.merchantReturnPolicy.ICustomerRemorseReturnFees;
37
37
  customerRemorseReturnFeesMovieTicket: factory.merchantReturnPolicy.ICustomerRemorseReturnFeesMovieTicket;
38
38
  project: Pick<factory.project.IProject, "id" | "typeOf">;
39
- additionalProperty?: import("@chevre/factory/lib/propertyValue").IPropertyValue<string>[];
39
+ additionalProperty?: import("@chevre/factory/lib/chevre/propertyValue").IPropertyValue<string>[];
40
40
  id?: string;
41
41
  identifier: string;
42
- name?: import("@chevre/factory/lib/multilingualString").IMultilingualString;
42
+ name?: import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString;
43
43
  } & {
44
44
  _id: import("mongoose").Types.ObjectId;
45
45
  } & {
@@ -9,7 +9,7 @@ type IKeyOfProjection = keyof INoteDigitalDocument;
9
9
  export declare class NoteRepo {
10
10
  private readonly noteModel;
11
11
  constructor(connection: Connection);
12
- static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.noteDigitalDocument.ISearchConditions): FilterQuery<import("@chevre/factory/lib/creativeWork/noteDigitalDocument").INoteDigitalDocument>[];
12
+ static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.noteDigitalDocument.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/creativeWork/noteDigitalDocument").INoteDigitalDocument>[];
13
13
  findNotes(params: factory.creativeWork.noteDigitalDocument.ISearchConditions, inclusion: IKeyOfProjection[]): Promise<(INoteDigitalDocument & {
14
14
  id: string;
15
15
  })[]>;
@@ -9,7 +9,7 @@ type IKeyOfProjection = keyof INoteAboutOrder;
9
9
  export declare class NoteAboutOrderRepo {
10
10
  private readonly noteModel;
11
11
  constructor(connection: Connection);
12
- static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.noteDigitalDocument.ISearchConditions): FilterQuery<import("@chevre/factory/lib/creativeWork/noteDigitalDocument").INoteAboutOrder>[];
12
+ static CREATE_MONGO_CONDITIONS(params: factory.creativeWork.noteDigitalDocument.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/creativeWork/noteDigitalDocument").INoteAboutOrder>[];
13
13
  /**
14
14
  * 検索
15
15
  */
@@ -1,27 +1,4 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
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
2
  Object.defineProperty(exports, "__esModule", { value: true });
26
3
  exports.OfferCatalogRepo = void 0;
27
4
  const factory_1 = require("../factory");
@@ -151,7 +128,7 @@ class OfferCatalogRepo {
151
128
  let savedId;
152
129
  let doc;
153
130
  if (typeof params.id !== 'string' || params.id === '') {
154
- const { default: uniqid } = await Promise.resolve().then(() => __importStar(require('uniqid')));
131
+ const { default: uniqid } = await import('uniqid');
155
132
  const newId = uniqid();
156
133
  const { id, $unset, ...creatingDoc } = params; // eslint-disable-line @typescript-eslint/no-unused-vars
157
134
  doc = await this.offerCatalogModel.create({ ...creatingDoc, _id: newId });
@@ -176,7 +153,7 @@ class OfferCatalogRepo {
176
153
  * プロジェクトとコードから冪等保管
177
154
  */
178
155
  async saveByIdentifier(params) {
179
- const { default: uniqid } = await Promise.resolve().then(() => __importStar(require('uniqid')));
156
+ const { default: uniqid } = await import('uniqid');
180
157
  const newId = uniqid();
181
158
  const { id, identifier, itemOffered, project, typeOf, ...updateFields } = params; // eslint-disable-line @typescript-eslint/no-unused-vars
182
159
  const doc = await this.offerCatalogModel.findOneAndUpdate({
@@ -199,7 +176,7 @@ class OfferCatalogRepo {
199
176
  */
200
177
  async upsertManyByIdentifier(params, options) {
201
178
  const { itemListElementType, productType, update } = options;
202
- const { default: uniqid } = await Promise.resolve().then(() => __importStar(require('uniqid')));
179
+ const { default: uniqid } = await import('uniqid');
203
180
  const bulkWriteOps = [];
204
181
  const queryFilters = [];
205
182
  if (Array.isArray(params)) {
@@ -14,7 +14,7 @@ export declare class PaymentServiceRepo {
14
14
  private readonly paymentServiceModel;
15
15
  private readonly paymentServiceChannelModel;
16
16
  constructor(connection: Connection);
17
- static CREATE_MONGO_CONDITIONS(params: ISearchConditions4paymentService): FilterQuery<import("@chevre/factory/lib/service/paymentService").IService>[];
17
+ static CREATE_MONGO_CONDITIONS(params: ISearchConditions4paymentService): FilterQuery<import("@chevre/factory/lib/chevre/service/paymentService").IService>[];
18
18
  /**
19
19
  * 決済サービスを保管する
20
20
  */
@@ -6,7 +6,7 @@ import { factory } from '../../factory';
6
6
  export declare class BusStopRepo {
7
7
  private readonly civicStructureModel;
8
8
  constructor(connection: Connection);
9
- static CREATE_BUS_STOP_MONGO_CONDITIONS(params: factory.place.busStop.ISearchConditions): FilterQuery<import("@chevre/factory/lib/place/busStop").IPlace>[];
9
+ static CREATE_BUS_STOP_MONGO_CONDITIONS(params: factory.place.busStop.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/place/busStop").IPlace>[];
10
10
  saveBusStop(params: factory.place.busStop.IPlace): Promise<factory.place.busStop.IPlace>;
11
11
  findBusStopByBranchCode(params: {
12
12
  project: {
@@ -29,7 +29,7 @@ interface IUpsertOptions {
29
29
  export declare class MovieTheaterRepo {
30
30
  private readonly civicStructureModel;
31
31
  constructor(connection: Connection);
32
- static CREATE_MOVIE_THEATER_MONGO_CONDITIONS(params: factory.place.movieTheater.ISearchConditions): FilterQuery<import("@chevre/factory/lib/place/movieTheater").IPlace>[];
32
+ static CREATE_MOVIE_THEATER_MONGO_CONDITIONS(params: factory.place.movieTheater.ISearchConditions): FilterQuery<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace>[];
33
33
  /**
34
34
  * 施設を保管する
35
35
  */
@@ -95,13 +95,13 @@ export declare class MovieTheaterRepo {
95
95
  id: string;
96
96
  };
97
97
  }): Promise<void>;
98
- getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/movieTheater").IPlace, "id"> & {
98
+ getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace, "id"> & {
99
99
  hasPOS?: factory.place.movieTheater.IPOS[];
100
100
  } & {
101
101
  _id: import("mongoose").Types.ObjectId;
102
102
  } & {
103
103
  __v: number;
104
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/movieTheater").IPlace, "id"> & {
104
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/movieTheater").IPlace, "id"> & {
105
105
  hasPOS?: factory.place.movieTheater.IPOS[];
106
106
  } & {
107
107
  _id: import("mongoose").Types.ObjectId;
@@ -124,22 +124,22 @@ export declare class ScreeningRoomRepo {
124
124
  id: string;
125
125
  };
126
126
  }): Promise<void>;
127
- getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/screeningRoom").IPlace, "containsPlace"> & {
127
+ getCursor(conditions: FilterQuery<any>, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/screeningRoom").IPlace, "containsPlace"> & {
128
128
  description?: any;
129
129
  openingHoursSpecification?: any;
130
130
  smokingAllowed?: boolean;
131
- containsPlace: (Pick<import("@chevre/factory/lib/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
131
+ containsPlace: (Pick<import("@chevre/factory/lib/chevre/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
132
132
  containsPlace?: factory.place.seat.IPlace[];
133
133
  })[];
134
134
  } & {
135
135
  _id: import("mongoose").Types.ObjectId;
136
136
  } & {
137
137
  __v: number;
138
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/place/screeningRoom").IPlace, "containsPlace"> & {
138
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("../mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/place/screeningRoom").IPlace, "containsPlace"> & {
139
139
  description?: any;
140
140
  openingHoursSpecification?: any;
141
141
  smokingAllowed?: boolean;
142
- containsPlace: (Pick<import("@chevre/factory/lib/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
142
+ containsPlace: (Pick<import("@chevre/factory/lib/chevre/place/screeningRoomSection").IPlace, "name" | "typeOf" | "additionalProperty" | "branchCode"> & {
143
143
  containsPlace?: factory.place.seat.IPlace[];
144
144
  })[];
145
145
  } & {
@@ -38,13 +38,13 @@ export declare class PriceSpecificationRepo {
38
38
  }): Promise<void>;
39
39
  getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
40
40
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
41
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
41
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
42
42
  price: number;
43
43
  priceCurrency: factory.priceCurrency;
44
44
  typeOf: factory.priceSpecificationType.CategoryCodeChargeSpecification;
45
45
  valueAddedTaxIncluded: boolean;
46
46
  accounting?: never | undefined;
47
- appliesToCategoryCode: import("@chevre/factory/lib/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
47
+ appliesToCategoryCode: import("@chevre/factory/lib/chevre/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
48
48
  } & {
49
49
  validFrom?: Date;
50
50
  validThrough?: Date;
@@ -54,13 +54,13 @@ export declare class PriceSpecificationRepo {
54
54
  __v: number;
55
55
  }) | ({
56
56
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
57
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
57
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
58
58
  price: number;
59
59
  priceCurrency: factory.priceCurrency;
60
60
  typeOf: factory.priceSpecificationType.MovieTicketTypeChargeSpecification;
61
61
  valueAddedTaxIncluded: boolean;
62
62
  accounting?: never | undefined;
63
- appliesToMovieTicket: import("@chevre/factory/lib/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
63
+ appliesToMovieTicket: import("@chevre/factory/lib/chevre/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
64
64
  appliesToVideoFormat: string;
65
65
  } & {
66
66
  validFrom?: Date;
@@ -71,13 +71,13 @@ export declare class PriceSpecificationRepo {
71
71
  __v: number;
72
72
  })), import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & (({
73
73
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
74
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
74
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
75
75
  price: number;
76
76
  priceCurrency: factory.priceCurrency;
77
77
  typeOf: factory.priceSpecificationType.CategoryCodeChargeSpecification;
78
78
  valueAddedTaxIncluded: boolean;
79
79
  accounting?: never | undefined;
80
- appliesToCategoryCode: import("@chevre/factory/lib/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
80
+ appliesToCategoryCode: import("@chevre/factory/lib/chevre/priceSpecification/categoryCodeChargeSpecification").IAppliesToCategoryCode[];
81
81
  } & {
82
82
  validFrom?: Date;
83
83
  validThrough?: Date;
@@ -87,13 +87,13 @@ export declare class PriceSpecificationRepo {
87
87
  __v: number;
88
88
  }) | ({
89
89
  project?: Pick<factory.project.IProject, "id" | "typeOf"> | undefined;
90
- name?: (string | import("@chevre/factory/lib/multilingualString").IMultilingualString) | undefined;
90
+ name?: (string | import("@chevre/factory/lib/chevre/multilingualString").IMultilingualString) | undefined;
91
91
  price: number;
92
92
  priceCurrency: factory.priceCurrency;
93
93
  typeOf: factory.priceSpecificationType.MovieTicketTypeChargeSpecification;
94
94
  valueAddedTaxIncluded: boolean;
95
95
  accounting?: never | undefined;
96
- appliesToMovieTicket: import("@chevre/factory/lib/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
96
+ appliesToMovieTicket: import("@chevre/factory/lib/chevre/priceSpecification/movieTicketTypeChargeSpecification").IAppliesToMovieTicket;
97
97
  appliesToVideoFormat: string;
98
98
  } & {
99
99
  validFrom?: Date;
@@ -143,7 +143,7 @@ export declare class ReservationRepo {
143
143
  $in: string[];
144
144
  };
145
145
  }): Promise<string[]>;
146
- getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id"> & {
146
+ getCursor(conditions: any, projection: any): import("mongoose").Cursor<import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/reservation/event").IReservation, "id"> & {
147
147
  _id: string;
148
148
  bookingAgent?: any;
149
149
  previousReservationStatus?: factory.reservationStatusType;
@@ -151,7 +151,7 @@ export declare class ReservationRepo {
151
151
  _id: string;
152
152
  }> & {
153
153
  __v: number;
154
- }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/reservation/event").IReservation, "id"> & {
154
+ }, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, Record<string, never>, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<import("@chevre/factory/lib/chevre/reservation/event").IReservation, "id"> & {
155
155
  _id: string;
156
156
  bookingAgent?: any;
157
157
  previousReservationStatus?: factory.reservationStatusType;