@chevre/factory 11.1.0-alpha.1 → 11.1.0-alpha.2
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.
|
@@ -6,7 +6,7 @@ import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpeci
|
|
|
6
6
|
import { ProductType } from './product';
|
|
7
7
|
import { IPropertyValue } from './propertyValue';
|
|
8
8
|
import { IReservation as IRawReservation, IReservedTicket as IRawReservedTicket } from './reservation/event';
|
|
9
|
-
import {
|
|
9
|
+
import { Identifier } from './service/webAPI';
|
|
10
10
|
export type IWorkPerformed = Pick<IOptimizedWorkPerformedLegacy, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
11
11
|
export type ISuperEvent = Pick<IOptimizedSuperEventLegacy, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & {
|
|
12
12
|
workPerformed: IWorkPerformed;
|
|
@@ -145,24 +145,26 @@ export interface IOfferOptimized4acceptedOffer {
|
|
|
145
145
|
priceSpecification?: ITicketPriceSpecification;
|
|
146
146
|
name?: never;
|
|
147
147
|
}
|
|
148
|
-
export
|
|
148
|
+
export type ICOAAcceptedOffer = IOfferOptimized4acceptedOffer & {
|
|
149
149
|
/**
|
|
150
150
|
* オファー対象アイテム
|
|
151
151
|
*/
|
|
152
152
|
itemOffered: ICOAEventReservation;
|
|
153
|
-
offeredThrough:
|
|
153
|
+
offeredThrough: {
|
|
154
|
+
typeOf: 'WebAPI';
|
|
154
155
|
identifier: Identifier.COA;
|
|
155
156
|
};
|
|
156
|
-
}
|
|
157
|
-
export
|
|
157
|
+
};
|
|
158
|
+
export type IOptimizedAcceptedOffer = IOfferOptimized4acceptedOffer & {
|
|
158
159
|
/**
|
|
159
160
|
* オファー対象アイテム
|
|
160
161
|
*/
|
|
161
162
|
itemOffered: IEventReservation;
|
|
162
|
-
offeredThrough:
|
|
163
|
+
offeredThrough: {
|
|
164
|
+
typeOf: 'WebAPI';
|
|
163
165
|
identifier: Identifier.Chevre;
|
|
164
166
|
};
|
|
165
|
-
}
|
|
167
|
+
};
|
|
166
168
|
/**
|
|
167
169
|
* 注文オファー
|
|
168
170
|
* 予約取引の情報を結合した上でのオファー
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IAction as IReturnOrderAction } from '../action/transfer/return/order';
|
|
2
|
-
import {
|
|
2
|
+
import { IEventReservation, ICOAAcceptedOffer, IOptimizedAcceptedOffer } from '../acceptedOffer';
|
|
3
3
|
import { IOrder } from '../order';
|
|
4
4
|
import { OrderStatus } from '../orderStatus';
|
|
5
5
|
/**
|
|
@@ -19,12 +19,22 @@ export type IProcessingOrder4inform = Pick<IOrder, 'project' | 'typeOf' | 'selle
|
|
|
19
19
|
/**
|
|
20
20
|
* 配送中通知における予約
|
|
21
21
|
*/
|
|
22
|
-
export type IEventReservation4inform = Pick<IEventReservation, 'additionalTicketText' | 'id' | '
|
|
22
|
+
export type IEventReservation4inform = Pick<IEventReservation, 'additionalTicketText' | 'id' | 'reservationNumber' | 'reservedTicket' | 'typeOf'> & {
|
|
23
23
|
reservationFor: Pick<IEventReservation['reservationFor'], 'id' | 'typeOf'>;
|
|
24
|
+
issuedThrough?: never;
|
|
25
|
+
programMembershipUsed?: never;
|
|
24
26
|
};
|
|
25
|
-
export type
|
|
26
|
-
|
|
27
|
+
export type ICOAAcceptedOffer4inform = Pick<ICOAAcceptedOffer, 'id' | 'offeredThrough' | 'serialNumber' | 'typeOf' | 'priceSpecification' | 'itemOffered'>;
|
|
28
|
+
export type IOptimizedAcceptedOffer4inform = Pick<IOptimizedAcceptedOffer, 'id' | 'offeredThrough' | 'serialNumber' | 'typeOf' | 'priceSpecification'> & {
|
|
29
|
+
/**
|
|
30
|
+
* COA以外では最適化する
|
|
31
|
+
*/
|
|
32
|
+
itemOffered: IEventReservation4inform;
|
|
27
33
|
};
|
|
34
|
+
/**
|
|
35
|
+
* 配送中通知における注文オファー
|
|
36
|
+
*/
|
|
37
|
+
export type IAcceptedOffer4inform = ICOAAcceptedOffer4inform | IOptimizedAcceptedOffer4inform;
|
|
28
38
|
/**
|
|
29
39
|
* 配送中通知
|
|
30
40
|
*/
|