@chevre/domain 21.0.0-alpha.10 → 21.0.0-alpha.12

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 (104) hide show
  1. package/lib/chevre/factory/event.d.ts +1 -1
  2. package/lib/chevre/repo/accountingReport.d.ts +1 -1
  3. package/lib/chevre/repo/action/registerServiceInProgress.js +1 -1
  4. package/lib/chevre/repo/action.d.ts +2 -2
  5. package/lib/chevre/repo/code.d.ts +2 -2
  6. package/lib/chevre/repo/confirmationNumber.js +1 -1
  7. package/lib/chevre/repo/emailMessage.d.ts +1 -1
  8. package/lib/chevre/repo/event.d.ts +1 -1
  9. package/lib/chevre/repo/itemAvailability/screeningEvent.js +1 -1
  10. package/lib/chevre/repo/orderNumber.js +1 -1
  11. package/lib/chevre/repo/ownershipInfo.d.ts +1 -1
  12. package/lib/chevre/repo/paymentMethod/creditCard.d.ts +3 -3
  13. package/lib/chevre/repo/person.d.ts +2 -2
  14. package/lib/chevre/repo/place.d.ts +2 -2
  15. package/lib/chevre/repo/product.d.ts +1 -1
  16. package/lib/chevre/repo/rateLimit/offer.js +1 -1
  17. package/lib/chevre/repo/reservation.d.ts +1 -1
  18. package/lib/chevre/repo/seller.d.ts +1 -1
  19. package/lib/chevre/repo/serviceOutputIdentifier.js +1 -1
  20. package/lib/chevre/repo/transactionNumber.js +1 -1
  21. package/lib/chevre/repo/trip.d.ts +1 -1
  22. package/lib/chevre/service/account.d.ts +1 -1
  23. package/lib/chevre/service/accountTransaction/deposit.d.ts +1 -1
  24. package/lib/chevre/service/accountTransaction/transfer.d.ts +1 -1
  25. package/lib/chevre/service/accountTransaction/withdraw.d.ts +1 -1
  26. package/lib/chevre/service/accountTransaction.d.ts +1 -1
  27. package/lib/chevre/service/aggregation/event/aggregateScreeningEvent.d.ts +1 -1
  28. package/lib/chevre/service/aggregation/event/aggregateUseActionsOnEvent.d.ts +1 -1
  29. package/lib/chevre/service/aggregation/project.d.ts +1 -1
  30. package/lib/chevre/service/assetTransaction/cancelReservation.d.ts +3 -3
  31. package/lib/chevre/service/assetTransaction/moneyTransfer.d.ts +4 -4
  32. package/lib/chevre/service/assetTransaction/pay/potentialActions.d.ts +1 -1
  33. package/lib/chevre/service/assetTransaction/pay.d.ts +7 -7
  34. package/lib/chevre/service/assetTransaction/refund.d.ts +4 -4
  35. package/lib/chevre/service/assetTransaction/registerService/factory.d.ts +1 -1
  36. package/lib/chevre/service/assetTransaction/registerService.d.ts +4 -4
  37. package/lib/chevre/service/assetTransaction/reserve/factory/price.d.ts +1 -1
  38. package/lib/chevre/service/assetTransaction/reserve/factory.d.ts +2 -2
  39. package/lib/chevre/service/assetTransaction/reserve.d.ts +6 -6
  40. package/lib/chevre/service/code.d.ts +2 -2
  41. package/lib/chevre/service/delivery/factory.d.ts +1 -1
  42. package/lib/chevre/service/delivery/product/factory.d.ts +1 -1
  43. package/lib/chevre/service/delivery/reservation/factory.d.ts +1 -1
  44. package/lib/chevre/service/iam.d.ts +1 -1
  45. package/lib/chevre/service/moneyTransfer.d.ts +1 -1
  46. package/lib/chevre/service/notification.d.ts +1 -1
  47. package/lib/chevre/service/offer/event/authorize.d.ts +2 -2
  48. package/lib/chevre/service/offer/event/factory.d.ts +5 -5
  49. package/lib/chevre/service/offer/event/searchEventTicketOffers.d.ts +2 -2
  50. package/lib/chevre/service/offer/eventServiceByCOA/factory.d.ts +2 -2
  51. package/lib/chevre/service/offer/eventServiceByCOA/validateAcceptedOffers.d.ts +1 -1
  52. package/lib/chevre/service/offer/eventServiceByCOA.d.ts +2 -2
  53. package/lib/chevre/service/offer/factory.d.ts +2 -2
  54. package/lib/chevre/service/offer/moneyTransfer/authorize.d.ts +1 -1
  55. package/lib/chevre/service/offer/product.d.ts +2 -2
  56. package/lib/chevre/service/order/onOrderStatusChanged/factory.d.ts +1 -1
  57. package/lib/chevre/service/order/onOrderStatusChanged.d.ts +2 -2
  58. package/lib/chevre/service/order/placeOrder.d.ts +1 -1
  59. package/lib/chevre/service/order/sendOrder.d.ts +1 -1
  60. package/lib/chevre/service/payment/any/factory.d.ts +1 -1
  61. package/lib/chevre/service/payment/any/onPaymentStatusChanged/onPaid.d.ts +1 -1
  62. package/lib/chevre/service/payment/any/onPaymentStatusChanged/onRefunded.d.ts +1 -1
  63. package/lib/chevre/service/payment/any.d.ts +3 -3
  64. package/lib/chevre/service/payment/creditCard.js +5 -0
  65. package/lib/chevre/service/payment/movieTicket.d.ts +4 -4
  66. package/lib/chevre/service/payment/paymentCard.d.ts +1 -1
  67. package/lib/chevre/service/permit.d.ts +1 -1
  68. package/lib/chevre/service/report/telemetry.d.ts +7 -7
  69. package/lib/chevre/service/reserve/cancelReservation.d.ts +1 -1
  70. package/lib/chevre/service/reserve/factory.d.ts +5 -5
  71. package/lib/chevre/service/reserve/potentialActions/onReservationCanceled.d.ts +1 -1
  72. package/lib/chevre/service/reserve/potentialActions/onReservationConfirmed.d.ts +1 -1
  73. package/lib/chevre/service/reserve/potentialActions/onReservationUsed.d.ts +2 -2
  74. package/lib/chevre/service/task/aggregateScreeningEvent.d.ts +1 -1
  75. package/lib/chevre/service/task/aggregateUseActionsOnEvent.d.ts +1 -1
  76. package/lib/chevre/service/task/cancelMoneyTransfer.d.ts +1 -1
  77. package/lib/chevre/service/task/cancelPendingReservation.d.ts +1 -1
  78. package/lib/chevre/service/task/cancelReservation.d.ts +1 -1
  79. package/lib/chevre/service/task/importEventCapacitiesFromCOA.d.ts +1 -1
  80. package/lib/chevre/service/task/importEventsFromCOA.d.ts +1 -1
  81. package/lib/chevre/service/task/importOffersFromCOA.d.ts +1 -1
  82. package/lib/chevre/service/task/moneyTransfer.d.ts +1 -1
  83. package/lib/chevre/service/task/registerService.d.ts +1 -1
  84. package/lib/chevre/service/task/reserve.d.ts +1 -1
  85. package/lib/chevre/service/task.d.ts +2 -2
  86. package/lib/chevre/service/task.js +1 -1
  87. package/lib/chevre/service/transaction/moneyTransfer/potentialActions.d.ts +1 -1
  88. package/lib/chevre/service/transaction/moneyTransfer.d.ts +6 -6
  89. package/lib/chevre/service/transaction/orderProgramMembership.d.ts +1 -1
  90. package/lib/chevre/service/transaction/placeOrder/exportTasks/factory.d.ts +1 -1
  91. package/lib/chevre/service/transaction/placeOrder.d.ts +1 -1
  92. package/lib/chevre/service/transaction/placeOrderInProgress/potentialActions/moneyTransfer.d.ts +1 -1
  93. package/lib/chevre/service/transaction/placeOrderInProgress/result/acceptedOffers.d.ts +2 -2
  94. package/lib/chevre/service/transaction/placeOrderInProgress/result.d.ts +1 -1
  95. package/lib/chevre/service/transaction/placeOrderInProgress/validation.d.ts +8 -8
  96. package/lib/chevre/service/transaction/placeOrderInProgress.d.ts +7 -7
  97. package/lib/chevre/service/transaction/returnOrder/potentialActions/returnMoneyTransfer.d.ts +1 -1
  98. package/lib/chevre/service/transaction/returnOrder/potentialActions/returnPointAward.d.ts +1 -1
  99. package/lib/chevre/service/transaction/returnOrder/potentialActions.d.ts +1 -1
  100. package/lib/chevre/service/transaction/returnOrder.d.ts +2 -2
  101. package/lib/chevre/service/transaction/validation.d.ts +2 -2
  102. package/lib/chevre/service/transaction.d.ts +2 -2
  103. package/lib/chevre/settings.d.ts +1 -1
  104. package/package.json +6 -6
@@ -1,2 +1,2 @@
1
1
  import * as factory from '../factory';
2
- export declare type IMinimizedIndividualEvent<T extends factory.eventType.ScreeningEvent | factory.eventType.Event> = T extends factory.eventType.ScreeningEvent ? Pick<factory.event.IEvent<T>, 'project' | 'id' | 'typeOf' | 'additionalProperty' | 'name' | 'doorTime' | 'endDate' | 'eventStatus' | 'location' | 'startDate' | 'superEvent' | 'offers' | 'coaInfo' | 'identifier'> : T extends factory.eventType.Event ? Pick<factory.event.IEvent<T>, 'project' | 'id' | 'typeOf' | 'additionalProperty' | 'name' | 'doorTime' | 'endDate' | 'eventStatus' | 'location' | 'startDate' | 'offers'> : never;
2
+ export type IMinimizedIndividualEvent<T extends factory.eventType.ScreeningEvent | factory.eventType.Event> = T extends factory.eventType.ScreeningEvent ? Pick<factory.event.IEvent<T>, 'project' | 'id' | 'typeOf' | 'additionalProperty' | 'name' | 'doorTime' | 'endDate' | 'eventStatus' | 'location' | 'startDate' | 'superEvent' | 'offers' | 'coaInfo' | 'identifier'> : T extends factory.eventType.Event ? Pick<factory.event.IEvent<T>, 'project' | 'id' | 'typeOf' | 'additionalProperty' | 'name' | 'doorTime' | 'endDate' | 'eventStatus' | 'location' | 'startDate' | 'offers'> : never;
@@ -1,6 +1,6 @@
1
1
  import { Connection, Model } from 'mongoose';
2
2
  import * as factory from '../factory';
3
- export declare type IOrder4report = factory.order.IOrder & {
3
+ export type IOrder4report = factory.order.IOrder & {
4
4
  numItems: number;
5
5
  };
6
6
  export interface IAccountingReport {
@@ -91,5 +91,5 @@ class RedisRepository {
91
91
  });
92
92
  }
93
93
  }
94
- exports.RedisRepository = RedisRepository;
95
94
  RedisRepository.KEY_PREFIX = 'cinerino:registerProgramMembershipActionInProgress';
95
+ exports.RedisRepository = RedisRepository;
@@ -1,7 +1,7 @@
1
1
  import { Connection } from 'mongoose';
2
2
  import * as factory from '../factory';
3
- export declare type IAction<T extends factory.actionType> = T extends factory.actionType.OrderAction ? factory.action.trade.order.IAction : T extends factory.actionType.AuthorizeAction ? factory.action.authorize.IAction<factory.action.authorize.IAttributes<any, any>> : factory.action.IAction<factory.action.IAttributes<T, any, any>>;
4
- export declare type IPayAction = factory.action.trade.pay.IAction;
3
+ export type IAction<T extends factory.actionType> = T extends factory.actionType.OrderAction ? factory.action.trade.order.IAction : T extends factory.actionType.AuthorizeAction ? factory.action.authorize.IAction<factory.action.authorize.IAttributes<any, any>> : factory.action.IAction<factory.action.IAttributes<T, any, any>>;
4
+ export type IPayAction = factory.action.trade.pay.IAction;
5
5
  export interface IUseActionCountByOffer {
6
6
  _id: string[];
7
7
  useActionCount?: number;
@@ -1,8 +1,8 @@
1
1
  import { Connection } from 'mongoose';
2
2
  import * as factory from '../factory';
3
3
  import { modelName } from './mongoose/schemas/authorization';
4
- export declare type IObject = factory.authorization.IObject;
5
- export declare type ICode = string;
4
+ export type IObject = factory.authorization.IObject;
5
+ export type ICode = string;
6
6
  export { modelName };
7
7
  /**
8
8
  * 承認コードリポジトリ
@@ -93,5 +93,5 @@ class RedisRepository {
93
93
  });
94
94
  }
95
95
  }
96
- exports.RedisRepository = RedisRepository;
97
96
  RedisRepository.REDIS_KEY_PREFIX = 'cinerino:confirmationNumber';
97
+ exports.RedisRepository = RedisRepository;
@@ -24,7 +24,7 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Connection } from 'mongoose';
26
26
  import * as factory from '../factory';
27
- export declare type IEmailMessage = factory.creativeWork.message.email.ICreativeWork;
27
+ export type IEmailMessage = factory.creativeWork.message.email.ICreativeWork;
28
28
  export interface ISearchConditions {
29
29
  limit?: number;
30
30
  page?: number;
@@ -55,7 +55,7 @@ export interface IUpdateAggregateUseActionsParams {
55
55
  noExistingAttributeName: 1;
56
56
  };
57
57
  }
58
- export declare type ISearchConditions<T extends factory.eventType> = factory.event.ISearchConditions<T>;
58
+ export type ISearchConditions<T extends factory.eventType> = factory.event.ISearchConditions<T>;
59
59
  interface IAggregationByStatus {
60
60
  eventCount: number;
61
61
  reservationCount: number;
@@ -251,5 +251,5 @@ class RedisRepository {
251
251
  });
252
252
  }
253
253
  }
254
- exports.RedisRepository = RedisRepository;
255
254
  RedisRepository.KEY_PREFIX = 'chevre:itemAvailability:screeningEvent';
255
+ exports.RedisRepository = RedisRepository;
@@ -86,5 +86,5 @@ class RedisRepository {
86
86
  });
87
87
  }
88
88
  }
89
- exports.RedisRepository = RedisRepository;
90
89
  RedisRepository.REDIS_KEY_PREFIX = 'cinerino:orderNumber';
90
+ exports.RedisRepository = RedisRepository;
@@ -24,7 +24,7 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Connection } from 'mongoose';
26
26
  import * as factory from '../factory';
27
- export declare type IOwnershipInfo = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>;
27
+ export type IOwnershipInfo = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>;
28
28
  /**
29
29
  * 所有権リポジトリ
30
30
  */
@@ -1,8 +1,8 @@
1
1
  import * as GMO from '@motionpicture/gmo-service';
2
2
  import * as factory from '../../factory';
3
- export declare type IUncheckedCardRaw = factory.paymentMethod.paymentCard.creditCard.IUncheckedCardRaw;
4
- export declare type IUncheckedCardTokenized = factory.paymentMethod.paymentCard.creditCard.IUncheckedCardTokenized;
5
- export declare type ISearchCardResult = GMO.factory.card.ISearchCardResult;
3
+ export type IUncheckedCardRaw = factory.paymentMethod.paymentCard.creditCard.IUncheckedCardRaw;
4
+ export type IUncheckedCardTokenized = factory.paymentMethod.paymentCard.creditCard.IUncheckedCardTokenized;
5
+ export type ISearchCardResult = GMO.factory.card.ISearchCardResult;
6
6
  export interface IOptions {
7
7
  /**
8
8
  * GMOサイトID
@@ -1,7 +1,7 @@
1
1
  import * as AWS from 'aws-sdk';
2
2
  import * as factory from '../factory';
3
- export declare type AttributeListType = AWS.CognitoIdentityServiceProvider.AttributeListType;
4
- export declare type IPerson = factory.person.IPerson;
3
+ export type AttributeListType = AWS.CognitoIdentityServiceProvider.AttributeListType;
4
+ export type IPerson = factory.person.IPerson;
5
5
  /**
6
6
  * 会員リポジトリ
7
7
  */
@@ -24,8 +24,8 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Connection } from 'mongoose';
26
26
  import * as factory from '../factory';
27
- declare type IScreeningRoomSectionWithoutContainsPlace = Omit<factory.place.screeningRoomSection.IPlace, 'containsPlace'>;
28
- export declare type IScreeningRoomFoundByBranchCode = Pick<factory.place.screeningRoom.IPlace, 'typeOf' | 'branchCode' | 'name' | 'containsPlace'>;
27
+ type IScreeningRoomSectionWithoutContainsPlace = Omit<factory.place.screeningRoomSection.IPlace, 'containsPlace'>;
28
+ export type IScreeningRoomFoundByBranchCode = Pick<factory.place.screeningRoom.IPlace, 'typeOf' | 'branchCode' | 'name' | 'containsPlace'>;
29
29
  /**
30
30
  * 施設リポジトリ
31
31
  */
@@ -24,7 +24,7 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Connection } from 'mongoose';
26
26
  import * as factory from '../factory';
27
- export declare type IProduct = factory.product.IProduct | factory.service.paymentService.IService;
27
+ export type IProduct = factory.product.IProduct | factory.service.paymentService.IService;
28
28
  /**
29
29
  * プロダクトリポジトリ
30
30
  */
@@ -131,5 +131,5 @@ class RedisRepository {
131
131
  });
132
132
  }
133
133
  }
134
- exports.RedisRepository = RedisRepository;
135
134
  RedisRepository.KEY_PREFIX = 'chevre:rateLimit:offer';
135
+ exports.RedisRepository = RedisRepository;
@@ -4,7 +4,7 @@ export interface IUpdatePartiallyParams {
4
4
  additionalTicketText?: string;
5
5
  'reservedTicket.dateUsed'?: Date;
6
6
  }
7
- export declare type ICancelResult = UpdateWriteOpResult;
7
+ export type ICancelResult = UpdateWriteOpResult;
8
8
  /**
9
9
  * 予約リポジトリ
10
10
  */
@@ -24,7 +24,7 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  import { Connection } from 'mongoose';
26
26
  import * as factory from '../factory';
27
- export declare type ISeller = factory.seller.ISeller;
27
+ export type ISeller = factory.seller.ISeller;
28
28
  /**
29
29
  * 販売者リポジトリ
30
30
  */
@@ -79,5 +79,5 @@ class RedisRepository {
79
79
  });
80
80
  }
81
81
  }
82
- exports.RedisRepository = RedisRepository;
83
82
  RedisRepository.REDIS_KEY_PREFIX = 'chevre:serviceOutputIdentifier';
83
+ exports.RedisRepository = RedisRepository;
@@ -85,5 +85,5 @@ class RedisRepository {
85
85
  });
86
86
  }
87
87
  }
88
- exports.RedisRepository = RedisRepository;
89
88
  RedisRepository.REDIS_KEY_PREFIX = 'chevre:transactionNumber';
89
+ exports.RedisRepository = RedisRepository;
@@ -1,6 +1,6 @@
1
1
  import { Connection } from 'mongoose';
2
2
  import * as factory from '../factory';
3
- export declare type ISearchConditions<T extends factory.tripType> = factory.trip.ISearchConditions<T>;
3
+ export type ISearchConditions<T extends factory.tripType> = factory.trip.ISearchConditions<T>;
4
4
  export interface IAttributes4patchUpdate<T extends factory.tripType> {
5
5
  typeOf: T;
6
6
  }
@@ -5,7 +5,7 @@
5
5
  import * as factory from '../factory';
6
6
  import { MongoRepository as AccountRepo } from '../repo/account';
7
7
  import { MongoRepository as AccountTransactionRepo } from '../repo/accountTransaction';
8
- export declare type IOpenOperation<T> = (repos: {
8
+ export type IOpenOperation<T> = (repos: {
9
9
  account: AccountRepo;
10
10
  }) => Promise<T>;
11
11
  /**
@@ -4,7 +4,7 @@
4
4
  import * as factory from '../../factory';
5
5
  import { MongoRepository as AccountRepo } from '../../repo/account';
6
6
  import { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
7
- export declare type IStartOperation<T> = (repos: {
7
+ export type IStartOperation<T> = (repos: {
8
8
  account: AccountRepo;
9
9
  accountTransaction: AccountTransactionRepo;
10
10
  }) => Promise<T>;
@@ -4,7 +4,7 @@
4
4
  import * as factory from '../../factory';
5
5
  import { MongoRepository as AccountRepo } from '../../repo/account';
6
6
  import { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
7
- export declare type IStartOperation<T> = (repos: {
7
+ export type IStartOperation<T> = (repos: {
8
8
  account: AccountRepo;
9
9
  accountTransaction: AccountTransactionRepo;
10
10
  }) => Promise<T>;
@@ -4,7 +4,7 @@
4
4
  import * as factory from '../../factory';
5
5
  import { MongoRepository as AccountRepo } from '../../repo/account';
6
6
  import { MongoRepository as AccountTransactionRepo } from '../../repo/accountTransaction';
7
- export declare type IStartOperation<T> = (repos: {
7
+ export type IStartOperation<T> = (repos: {
8
8
  account: AccountRepo;
9
9
  accountTransaction: AccountTransactionRepo;
10
10
  }) => Promise<T>;
@@ -6,7 +6,7 @@ import * as factory from '../factory';
6
6
  import * as DepositTransactionService from './accountTransaction/deposit';
7
7
  import * as TransferTransactionService from './accountTransaction/transfer';
8
8
  import * as WithdrawTransactionService from './accountTransaction/withdraw';
9
- declare type IConfirmOperation<T> = (repos: {
9
+ type IConfirmOperation<T> = (repos: {
10
10
  accountTransaction: AccountTransactionRepo;
11
11
  }) => Promise<T>;
12
12
  /**
@@ -9,7 +9,7 @@ import { RedisRepository as OfferRateLimitRepo } from '../../../repo/rateLimit/o
9
9
  import { MongoRepository as ReservationRepo } from '../../../repo/reservation';
10
10
  import { MongoRepository as TaskRepo } from '../../../repo/task';
11
11
  import * as factory from '../../../factory';
12
- export declare type IAggregateScreeningEventOperation<T> = (repos: {
12
+ export type IAggregateScreeningEventOperation<T> = (repos: {
13
13
  event: EventRepo;
14
14
  eventAvailability: EventAvailabilityRepo;
15
15
  offer: OfferRepo;
@@ -3,7 +3,7 @@ import { MongoRepository as EventRepo } from '../../../repo/event';
3
3
  import { MongoRepository as OfferRepo } from '../../../repo/offer';
4
4
  import { MongoRepository as PlaceRepo } from '../../../repo/place';
5
5
  import { MongoRepository as ProductRepo } from '../../../repo/product';
6
- export declare type IAggregateOperation<T> = (repos: {
6
+ export type IAggregateOperation<T> = (repos: {
7
7
  action: ActionRepo;
8
8
  event: EventRepo;
9
9
  offer: OfferRepo;
@@ -1,7 +1,7 @@
1
1
  import { MongoRepository as ProjectRepo } from '../../repo/project';
2
2
  import { MongoRepository as ReservationRepo } from '../../repo/reservation';
3
3
  import { MongoRepository as TaskRepo } from '../../repo/task';
4
- export declare type IAggregateOperation<T> = (repos: {
4
+ export type IAggregateOperation<T> = (repos: {
5
5
  project: ProjectRepo;
6
6
  reservation: ReservationRepo;
7
7
  task: TaskRepo;
@@ -3,16 +3,16 @@ import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransac
3
3
  import { MongoRepository as ProjectRepo } from '../../repo/project';
4
4
  import { MongoRepository as ReservationRepo } from '../../repo/reservation';
5
5
  import { MongoRepository as TaskRepo } from '../../repo/task';
6
- export declare type IStartOperation<T> = (repos: {
6
+ export type IStartOperation<T> = (repos: {
7
7
  project: ProjectRepo;
8
8
  reservation: ReservationRepo;
9
9
  assetTransaction: AssetTransactionRepo;
10
10
  }) => Promise<T>;
11
- export declare type ITaskAndTransactionOperation<T> = (repos: {
11
+ export type ITaskAndTransactionOperation<T> = (repos: {
12
12
  task: TaskRepo;
13
13
  assetTransaction: AssetTransactionRepo;
14
14
  }) => Promise<T>;
15
- export declare type ITransactionOperation<T> = (repos: {
15
+ export type ITransactionOperation<T> = (repos: {
16
16
  assetTransaction: AssetTransactionRepo;
17
17
  }) => Promise<T>;
18
18
  /**
@@ -3,19 +3,19 @@ import { MongoRepository as AssetTransactionRepo } from '../../repo/assetTransac
3
3
  import { MongoRepository as ProductRepo } from '../../repo/product';
4
4
  import { MongoRepository as ProjectRepo } from '../../repo/project';
5
5
  import { MongoRepository as TaskRepo } from '../../repo/task';
6
- export declare type IStartOperation<T> = (repos: {
6
+ export type IStartOperation<T> = (repos: {
7
7
  product: ProductRepo;
8
8
  project: ProjectRepo;
9
9
  assetTransaction: AssetTransactionRepo;
10
10
  }) => Promise<T>;
11
- export declare type ITaskAndTransactionOperation<T> = (repos: {
11
+ export type ITaskAndTransactionOperation<T> = (repos: {
12
12
  task: TaskRepo;
13
13
  assetTransaction: AssetTransactionRepo;
14
14
  }) => Promise<T>;
15
- export declare type IConfirmOperation<T> = (repos: {
15
+ export type IConfirmOperation<T> = (repos: {
16
16
  assetTransaction: AssetTransactionRepo;
17
17
  }) => Promise<T>;
18
- export declare type ICancelOperation<T> = (repos: {
18
+ export type ICancelOperation<T> = (repos: {
19
19
  assetTransaction: AssetTransactionRepo;
20
20
  }) => Promise<T>;
21
21
  /**
@@ -1,5 +1,5 @@
1
1
  import * as factory from '../../../factory';
2
- export declare type IUnitPriceSpecification = factory.unitPriceOffer.IUnitPriceOfferPriceSpecification;
2
+ export type IUnitPriceSpecification = factory.unitPriceOffer.IUnitPriceOfferPriceSpecification;
3
3
  /**
4
4
  * 取引のポストアクションを作成する
5
5
  */
@@ -25,7 +25,7 @@ export interface IStartOperationRepos {
25
25
  assetTransaction: AssetTransactionRepo;
26
26
  task: TaskRepo;
27
27
  }
28
- export declare type IStartOperation<T> = (repos: IStartOperationRepos) => Promise<T>;
28
+ export type IStartOperation<T> = (repos: IStartOperationRepos) => Promise<T>;
29
29
  export interface ICancelRepos {
30
30
  action: ActionRepo;
31
31
  accountingReport: AccountingReportRepo;
@@ -35,7 +35,7 @@ export interface ICancelRepos {
35
35
  seller: SellerRepo;
36
36
  task: TaskRepo;
37
37
  }
38
- export declare type ICancelOperation<T> = (repos: ICancelRepos) => Promise<T>;
38
+ export type ICancelOperation<T> = (repos: ICancelRepos) => Promise<T>;
39
39
  export interface IConfirmRepos {
40
40
  action: ActionRepo;
41
41
  accountingReport: AccountingReportRepo;
@@ -47,25 +47,25 @@ export interface IConfirmRepos {
47
47
  seller: SellerRepo;
48
48
  task: TaskRepo;
49
49
  }
50
- export declare type IConfirmOperation<T> = (repos: IConfirmRepos) => Promise<T>;
51
- export declare type IExportTasksOperation<T> = (repos: {
50
+ export type IConfirmOperation<T> = (repos: IConfirmRepos) => Promise<T>;
51
+ export type IExportTasksOperation<T> = (repos: {
52
52
  task: TaskRepo;
53
53
  assetTransaction: AssetTransactionRepo;
54
54
  }) => Promise<T>;
55
- export declare type ICheckOperation<T> = (repos: {
55
+ export type ICheckOperation<T> = (repos: {
56
56
  action: ActionRepo;
57
57
  event: EventRepo;
58
58
  product: ProductRepo;
59
59
  project: ProjectRepo;
60
60
  seller: SellerRepo;
61
61
  }) => Promise<T>;
62
- export declare type IPublishPaymentUrlOperation<T> = (repos: {
62
+ export type IPublishPaymentUrlOperation<T> = (repos: {
63
63
  person: PersonRepo;
64
64
  product: ProductRepo;
65
65
  project: ProjectRepo;
66
66
  seller: SellerRepo;
67
67
  }) => Promise<T>;
68
- export declare type IInvalidatePaymentUrlOperation<T> = (repos: {
68
+ export type IInvalidatePaymentUrlOperation<T> = (repos: {
69
69
  accountingReport: AccountingReportRepo;
70
70
  action: ActionRepo;
71
71
  product: ProductRepo;
@@ -8,14 +8,14 @@ export interface IStartOperationRepos {
8
8
  product: ProductRepo;
9
9
  assetTransaction: AssetTransactionRepo;
10
10
  }
11
- export declare type IStartOperation<T> = (repos: IStartOperationRepos) => Promise<T>;
12
- export declare type ICancelOperation<T> = (repos: {
11
+ export type IStartOperation<T> = (repos: IStartOperationRepos) => Promise<T>;
12
+ export type ICancelOperation<T> = (repos: {
13
13
  assetTransaction: AssetTransactionRepo;
14
14
  }) => Promise<T>;
15
- export declare type IConfirmOperation<T> = (repos: {
15
+ export type IConfirmOperation<T> = (repos: {
16
16
  assetTransaction: AssetTransactionRepo;
17
17
  }) => Promise<T>;
18
- export declare type IExportTasksOperation<T> = (repos: {
18
+ export type IExportTasksOperation<T> = (repos: {
19
19
  task: TaskRepo;
20
20
  assetTransaction: AssetTransactionRepo;
21
21
  }) => Promise<T>;
@@ -1,5 +1,5 @@
1
1
  import * as factory from '../../../factory';
2
- export declare type IUnitPriceSpecification = factory.priceSpecification.IPriceSpecification<factory.priceSpecificationType.UnitPriceSpecification>;
2
+ export type IUnitPriceSpecification = factory.priceSpecification.IPriceSpecification<factory.priceSpecificationType.UnitPriceSpecification>;
3
3
  /**
4
4
  * ポイント特典を作成する
5
5
  */
@@ -7,7 +7,7 @@ import { MongoRepository as ProductRepo } from '../../repo/product';
7
7
  import { MongoRepository as ProjectRepo } from '../../repo/project';
8
8
  import { MongoRepository as ServiceOutputRepo } from '../../repo/serviceOutput';
9
9
  import { MongoRepository as TaskRepo } from '../../repo/task';
10
- export declare type IStartOperation<T> = (repos: {
10
+ export type IStartOperation<T> = (repos: {
11
11
  account: AccountRepo;
12
12
  offer: OfferRepo;
13
13
  offerCatalog: OfferCatalogRepo;
@@ -16,13 +16,13 @@ export declare type IStartOperation<T> = (repos: {
16
16
  project: ProjectRepo;
17
17
  assetTransaction: AssetTransactionRepo;
18
18
  }) => Promise<T>;
19
- export declare type ICancelOperation<T> = (repos: {
19
+ export type ICancelOperation<T> = (repos: {
20
20
  assetTransaction: AssetTransactionRepo;
21
21
  }) => Promise<T>;
22
- export declare type IConfirmOperation<T> = (repos: {
22
+ export type IConfirmOperation<T> = (repos: {
23
23
  assetTransaction: AssetTransactionRepo;
24
24
  }) => Promise<T>;
25
- export declare type IExportTasksOperation<T> = (repos: {
25
+ export type IExportTasksOperation<T> = (repos: {
26
26
  task: TaskRepo;
27
27
  assetTransaction: AssetTransactionRepo;
28
28
  }) => Promise<T>;
@@ -2,7 +2,7 @@
2
2
  * 予約価格ファクトリー
3
3
  */
4
4
  import * as factory from '../../../../factory';
5
- export declare type IAcceptedAddOn = Pick<factory.offer.IAddOn, 'id' | 'identifier' | 'itemOffered' | 'priceCurrency' | 'typeOf' | 'validFrom' | 'validThrough'> & {
5
+ export type IAcceptedAddOn = Pick<factory.offer.IAddOn, 'id' | 'identifier' | 'itemOffered' | 'priceCurrency' | 'typeOf' | 'validFrom' | 'validThrough'> & {
6
6
  priceSpecification: factory.product.ITicketUnitPriceComponent;
7
7
  };
8
8
  export declare function createPrice(params: {
@@ -1,6 +1,6 @@
1
1
  import * as factory from '../../../factory';
2
2
  import { IAcceptedAddOn } from './factory/price';
3
- declare type IObjectSubReservation = factory.assetTransaction.reserve.IObjectSubReservation;
3
+ type IObjectSubReservation = factory.assetTransaction.reserve.IObjectSubReservation;
4
4
  export { IAcceptedAddOn };
5
5
  export declare function createStartParams(params: factory.assetTransaction.reserve.IStartParamsWithoutDetail & {
6
6
  reservationNumber: string;
@@ -43,7 +43,7 @@ export declare function createAdditionalTicketText(params: {
43
43
  acceptedOffer: factory.assetTransaction.reserve.IAcceptedTicketOfferWithoutDetail;
44
44
  reservedTicket: factory.reservation.ITicket;
45
45
  }): string | undefined;
46
- export declare type IUnitPriceSpecification = factory.priceSpecification.IPriceSpecification<factory.priceSpecificationType.UnitPriceSpecification>;
46
+ export type IUnitPriceSpecification = factory.priceSpecification.IPriceSpecification<factory.priceSpecificationType.UnitPriceSpecification>;
47
47
  export declare function createReservationFor(params: factory.event.screeningEvent.IEvent | factory.event.event.IEvent): factory.assetTransaction.reserve.IReservationFor;
48
48
  export declare function createReservation(params: {
49
49
  project: {
@@ -27,7 +27,7 @@ export interface IStartOperationRepos {
27
27
  task: TaskRepo;
28
28
  assetTransaction: AssetTransactionRepo;
29
29
  }
30
- export declare type IStartOperation<T> = (repos: IStartOperationRepos) => Promise<T>;
30
+ export type IStartOperation<T> = (repos: IStartOperationRepos) => Promise<T>;
31
31
  export interface IAddReservationsOperationRepos {
32
32
  eventAvailability: ScreeningEventAvailabilityRepo;
33
33
  event: EventRepo;
@@ -41,8 +41,8 @@ export interface IAddReservationsOperationRepos {
41
41
  task: TaskRepo;
42
42
  assetTransaction: AssetTransactionRepo;
43
43
  }
44
- export declare type IAddReservationsOperation<T> = (repos: IAddReservationsOperationRepos) => Promise<T>;
45
- export declare type ICancelOperation<T> = (repos: {
44
+ export type IAddReservationsOperation<T> = (repos: IAddReservationsOperationRepos) => Promise<T>;
45
+ export type ICancelOperation<T> = (repos: {
46
46
  action: ActionRepo;
47
47
  eventAvailability: ScreeningEventAvailabilityRepo;
48
48
  offerRateLimit: OfferRateLimitRepo;
@@ -50,7 +50,7 @@ export declare type ICancelOperation<T> = (repos: {
50
50
  task: TaskRepo;
51
51
  assetTransaction: AssetTransactionRepo;
52
52
  }) => Promise<T>;
53
- export declare type ITaskAndTransactionOperation<T> = (repos: {
53
+ export type ITaskAndTransactionOperation<T> = (repos: {
54
54
  task: TaskRepo;
55
55
  assetTransaction: AssetTransactionRepo;
56
56
  }) => Promise<T>;
@@ -61,8 +61,8 @@ interface IConfirmRepo {
61
61
  reservation: ReservationRepo;
62
62
  task: TaskRepo;
63
63
  }
64
- export declare type IConfirmOperation<T> = (repos: IConfirmRepo) => Promise<T>;
65
- declare type IStartParams = factory.assetTransaction.reserve.IStartParamsWithoutDetail & {
64
+ export type IConfirmOperation<T> = (repos: IConfirmRepo) => Promise<T>;
65
+ type IStartParams = factory.assetTransaction.reserve.IStartParamsWithoutDetail & {
66
66
  /**
67
67
  * 承認アクションを介した場合に検索済のイベント
68
68
  */
@@ -1,8 +1,8 @@
1
1
  import { MongoRepository as ActionRepo } from '../repo/action';
2
2
  import { MongoRepository as AuthorizationRepo } from '../repo/code';
3
3
  import * as factory from '../factory';
4
- export declare type IToken = string;
5
- export declare type ICode = string;
4
+ export type IToken = string;
5
+ export type ICode = string;
6
6
  /**
7
7
  * コードをトークンに変換する
8
8
  */
@@ -1,5 +1,5 @@
1
1
  import * as factory from '../../factory';
2
- export declare type IOwnershipInfo = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>;
2
+ export type IOwnershipInfo = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>;
3
3
  /**
4
4
  * 注文から所有権を作成する
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import * as factory from '../../../factory';
2
- export declare type IOwnershipInfo = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>;
2
+ export type IOwnershipInfo = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>;
3
3
  export declare function createProductOwnershipInfo(params: {
4
4
  project: {
5
5
  typeOf: factory.organizationType.Project;
@@ -1,5 +1,5 @@
1
1
  import * as factory from '../../../factory';
2
- export declare type IOwnershipInfo = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>;
2
+ export type IOwnershipInfo = factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>;
3
3
  export declare function createReservationOwnershipInfo(params: {
4
4
  project: {
5
5
  typeOf: factory.organizationType.Project;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import { MongoRepository as MemberRepo } from '../repo/member';
5
5
  import { MongoRepository as RoleRepo } from '../repo/role';
6
- export declare type IPermission = string;
6
+ export type IPermission = string;
7
7
  /**
8
8
  * プロジェクトメンバーの権限を検索する
9
9
  */
@@ -4,7 +4,7 @@ import { MongoRepository as AssetTransactionRepo } from '../repo/assetTransactio
4
4
  import { MongoRepository as ProductRepo } from '../repo/product';
5
5
  import { MongoRepository as ProjectRepo } from '../repo/project';
6
6
  import { RedisRepository as TransactionNumberRepo } from '../repo/transactionNumber';
7
- export declare type IAuthorizeOperation<T> = (repos: {
7
+ export type IAuthorizeOperation<T> = (repos: {
8
8
  product: ProductRepo;
9
9
  project: ProjectRepo;
10
10
  assetTransaction: AssetTransactionRepo;
@@ -1,7 +1,7 @@
1
1
  import * as factory from '../factory';
2
2
  import { MongoRepository as ActionRepo } from '../repo/action';
3
3
  import { MongoRepository as ProjectRepo } from '../repo/project';
4
- export declare type Operation<T> = () => Promise<T>;
4
+ export type Operation<T> = () => Promise<T>;
5
5
  /**
6
6
  * Eメールメッセージを送信する
7
7
  * https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html
@@ -32,8 +32,8 @@ interface IAuthorizeRepos {
32
32
  transaction: TransactionRepo;
33
33
  transactionNumber: TransactionNumberRepo;
34
34
  }
35
- declare type IAuthorizeOperation<T> = (repos: IAuthorizeRepos) => Promise<T>;
36
- declare type IAuthorizeOfferAction = factory.action.authorize.offer.seatReservation.IAction<factory.service.webAPI.Identifier>;
35
+ type IAuthorizeOperation<T> = (repos: IAuthorizeRepos) => Promise<T>;
36
+ type IAuthorizeOfferAction = factory.action.authorize.offer.seatReservation.IAction<factory.service.webAPI.Identifier>;
37
37
  /**
38
38
  * イベントオファー承認
39
39
  */
@@ -1,10 +1,10 @@
1
1
  import * as COA from '@motionpicture/coa-service';
2
2
  import * as factory from '../../../factory';
3
3
  import { IMinimizedIndividualEvent } from '../../../factory/event';
4
- export declare type IReservationFor = factory.reservation.IReservationFor<factory.reservationType.EventReservation>;
5
- export declare type IUnitPriceSpecification = factory.priceSpecification.IPriceSpecification<factory.priceSpecificationType.UnitPriceSpecification>;
6
- export declare type IObjectWithoutDetail = factory.action.authorize.offer.seatReservation.IObjectWithoutDetail4chevre;
7
- export declare type IObjectWithDetail = factory.action.authorize.offer.seatReservation.IObject<factory.service.webAPI.Identifier.Chevre>;
4
+ export type IReservationFor = factory.reservation.IReservationFor<factory.reservationType.EventReservation>;
5
+ export type IUnitPriceSpecification = factory.priceSpecification.IPriceSpecification<factory.priceSpecificationType.UnitPriceSpecification>;
6
+ export type IObjectWithoutDetail = factory.action.authorize.offer.seatReservation.IObjectWithoutDetail4chevre;
7
+ export type IObjectWithDetail = factory.action.authorize.offer.seatReservation.IObject<factory.service.webAPI.Identifier.Chevre>;
8
8
  export declare function createReserveTransactionStartParams(params: {
9
9
  project: {
10
10
  id: string;
@@ -23,7 +23,7 @@ export declare function createAuthorizeSeatReservationActionAttributes(params: {
23
23
  export declare function acceptedOffers2amount(params: {
24
24
  acceptedOffers: IResultAcceptedOffer[];
25
25
  }): number;
26
- declare type IResultAcceptedOffer = factory.action.authorize.offer.seatReservation.IResultAcceptedOffer;
26
+ type IResultAcceptedOffer = factory.action.authorize.offer.seatReservation.IResultAcceptedOffer;
27
27
  export declare function responseBody2acceptedOffers4result(params: {
28
28
  responseBody: factory.assetTransaction.reserve.ITransaction;
29
29
  event: IMinimizedIndividualEvent<factory.eventType.ScreeningEvent>;