@chevre/factory 4.390.0 → 4.391.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/assetTransaction/pay.d.ts +7 -0
- package/lib/order.d.ts +5 -11
- package/lib/priceSpecification/categoryCodeChargeSpecification.d.ts +2 -1
- package/lib/priceSpecification/movieTicketTypeChargeSpecification.d.ts +2 -1
- package/lib/product.d.ts +3 -3
- package/lib/reservation/busReservation.d.ts +2 -2
- package/lib/reservation/event.d.ts +9 -3
- package/package.json +1 -1
|
@@ -91,6 +91,13 @@ export interface IObject {
|
|
|
91
91
|
onPaymentStatusChanged?: IOnPaymentStatusChanged;
|
|
92
92
|
pendingTransaction?: IPendingTransaction;
|
|
93
93
|
accountsReceivablesByServiceType?: IAccountsReceivableByServiceType[];
|
|
94
|
+
/**
|
|
95
|
+
* 既存決済カード認証アクション(2024-12-13~)
|
|
96
|
+
* PaymentServiceType.MovieTicketのみ
|
|
97
|
+
*/
|
|
98
|
+
checkedAction?: {
|
|
99
|
+
id: string;
|
|
100
|
+
};
|
|
94
101
|
}
|
|
95
102
|
export interface IPaymentMethodWithoutDetail extends IPaymentMethod {
|
|
96
103
|
/**
|
package/lib/order.d.ts
CHANGED
|
@@ -16,10 +16,7 @@ import { IPerson, IProfile } from './person';
|
|
|
16
16
|
import { PersonType } from './personType';
|
|
17
17
|
import { PlaceType } from './placeType';
|
|
18
18
|
import { PriceCurrency } from './priceCurrency';
|
|
19
|
-
import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
|
|
20
19
|
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
21
|
-
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
|
|
22
|
-
import { IPriceSpecification as IUnitPriceOfferPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
23
20
|
import { IProduct, ProductType } from './product';
|
|
24
21
|
import { IPropertyValue } from './propertyValue';
|
|
25
22
|
import { IProgramMembershipUsedSearchConditions, ITicket, ITicketType } from './reservation';
|
|
@@ -145,17 +142,14 @@ export interface IMoneyTransfer {
|
|
|
145
142
|
* 注文アイテム
|
|
146
143
|
*/
|
|
147
144
|
export type IItemOffered = IMoneyTransfer | IReservation | IPermit;
|
|
148
|
-
export type ICategoryChargePriceComponent =
|
|
149
|
-
export type IMovieTicketTypeChargePriceComponent =
|
|
150
|
-
export type IUnitPriceComponent =
|
|
151
|
-
/**
|
|
152
|
-
* 承認時に提供される価格仕様要素
|
|
153
|
-
*/
|
|
145
|
+
export type ICategoryChargePriceComponent = EventReservationFactory.ICategoryChargePriceComponent;
|
|
146
|
+
export type IMovieTicketTypeChargePriceComponent = EventReservationFactory.IMovieTicketTypeChargePriceComponent;
|
|
147
|
+
export type IUnitPriceComponent = EventReservationFactory.IUnitPriceComponent;
|
|
154
148
|
export type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
|
|
155
149
|
/**
|
|
156
|
-
*
|
|
150
|
+
* 注文オファーの価格仕様
|
|
157
151
|
*/
|
|
158
|
-
export type ITicketPriceSpecification =
|
|
152
|
+
export type ITicketPriceSpecification = Pick<ICompoundPriceSpecification<ITicketPriceComponent>, 'priceComponent' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
159
153
|
export type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'name'>;
|
|
160
154
|
/**
|
|
161
155
|
* 受け入れオファー
|
|
@@ -5,11 +5,12 @@ export type IAppliesToCategoryCode = Pick<ICategoryCode, 'typeOf' | 'codeValue'
|
|
|
5
5
|
/**
|
|
6
6
|
* 区分加算料金
|
|
7
7
|
*/
|
|
8
|
-
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.CategoryCodeChargeSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded'
|
|
8
|
+
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.CategoryCodeChargeSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded'> {
|
|
9
9
|
price: number;
|
|
10
10
|
/**
|
|
11
11
|
* 適用カテゴリーコード
|
|
12
12
|
* AND適用条件
|
|
13
13
|
*/
|
|
14
14
|
appliesToCategoryCode: IAppliesToCategoryCode[];
|
|
15
|
+
accounting?: never;
|
|
15
16
|
}
|
|
@@ -21,7 +21,7 @@ export interface IAppliesToMovieTicket {
|
|
|
21
21
|
/**
|
|
22
22
|
* 決済カード加算料金
|
|
23
23
|
*/
|
|
24
|
-
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.MovieTicketTypeChargeSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded'
|
|
24
|
+
export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.MovieTicketTypeChargeSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded'> {
|
|
25
25
|
price: number;
|
|
26
26
|
/**
|
|
27
27
|
* 適用上映方式
|
|
@@ -31,4 +31,5 @@ export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecifi
|
|
|
31
31
|
* 適用決済カード
|
|
32
32
|
*/
|
|
33
33
|
appliesToMovieTicket: IAppliesToMovieTicket;
|
|
34
|
+
accounting?: never;
|
|
34
35
|
}
|
package/lib/product.d.ts
CHANGED
|
@@ -262,9 +262,9 @@ export interface IServiceOutputSearchConditions {
|
|
|
262
262
|
$eq?: string;
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
|
-
export type ICategoryCodeChargePriceComponent =
|
|
266
|
-
export type IMovieTicketTypeChargePriceComponent =
|
|
267
|
-
export type ITicketUnitPriceComponent =
|
|
265
|
+
export type ICategoryCodeChargePriceComponent = Pick<ICategoryCodeChargeSpecification, 'accounting' | 'appliesToCategoryCode' | 'id' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
266
|
+
export type IMovieTicketTypeChargePriceComponent = Pick<IMovieTicketTypeChargeSpecification, 'accounting' | 'appliesToMovieTicket' | 'id' | 'appliesToVideoFormat' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
267
|
+
export type ITicketUnitPriceComponent = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToAddOn' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
268
268
|
export type ITicketPriceComponent = ICategoryCodeChargePriceComponent | IMovieTicketTypeChargePriceComponent | ITicketUnitPriceComponent;
|
|
269
269
|
export type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
|
|
270
270
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ITicketPriceComponent, ITicketPriceSpecification } from '../order';
|
|
2
1
|
import { ProductType } from '../product';
|
|
3
2
|
import * as ReservationFactory from '../reservation';
|
|
4
3
|
import { ReservationType } from '../reservationType';
|
|
5
4
|
import { ITripWithDetails as IBusTrip } from '../trip/busTrip';
|
|
6
5
|
import { TripType } from '../tripType';
|
|
6
|
+
import { IPriceSpecification, ITicketPriceComponent } from './event';
|
|
7
7
|
export type IReservationFor = Pick<IBusTrip, 'arrivalBusStop' | 'arrivalTime' | 'busName' | 'busNumber' | 'departureBusStop' | 'departureTime' | 'id' | 'identifier' | 'name' | 'typeOf'> & {
|
|
8
8
|
id: string;
|
|
9
9
|
};
|
|
10
10
|
export type IPriceComponentSpecification = ITicketPriceComponent;
|
|
11
|
-
export
|
|
11
|
+
export { IPriceSpecification };
|
|
12
12
|
export interface ISubReservation {
|
|
13
13
|
reservedTicket: {
|
|
14
14
|
typeOf: ReservationFactory.TicketType;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { ICOAInfo, ILocation as IEventLocation, IName as IEventName, ISuperEvent, IWorkPerformed } from '../event/screeningEvent';
|
|
2
2
|
import { EventType } from '../eventType';
|
|
3
3
|
import { IMultilingualString } from '../multilingualString';
|
|
4
|
-
import {
|
|
4
|
+
import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
|
|
5
|
+
import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
|
|
6
|
+
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../priceSpecification/movieTicketTypeChargeSpecification';
|
|
7
|
+
import { IPriceSpecification as IUnitPriceOfferPriceSpecification } from '../priceSpecification/unitPriceSpecification';
|
|
5
8
|
import { ProductType } from '../product';
|
|
6
9
|
import * as ReservationFactory from '../reservation';
|
|
7
10
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
@@ -31,8 +34,11 @@ export interface IReservationFor {
|
|
|
31
34
|
typeOf: EventType.ScreeningEvent;
|
|
32
35
|
doorTime?: Date;
|
|
33
36
|
}
|
|
34
|
-
export type
|
|
35
|
-
export type
|
|
37
|
+
export type ICategoryChargePriceComponent = Pick<ICategoryCodeChargeSpecification, 'accounting' | 'appliesToCategoryCode' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
38
|
+
export type IMovieTicketTypeChargePriceComponent = Pick<IMovieTicketTypeChargeSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToVideoFormat' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
39
|
+
export type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
40
|
+
export type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
|
|
41
|
+
export type IPriceSpecification = Pick<ICompoundPriceSpecification<ITicketPriceComponent>, 'priceComponent' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
36
42
|
export interface ISubReservation {
|
|
37
43
|
reservedTicket: {
|
|
38
44
|
typeOf: ReservationFactory.TicketType;
|