@chevre/factory 4.274.0-alpha.2 → 4.274.0-alpha.3
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.
|
@@ -10,7 +10,6 @@ import * as OrderFactory from '../../../order';
|
|
|
10
10
|
import { PriceCurrency } from '../../../priceCurrency';
|
|
11
11
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
12
12
|
import { TransactionType } from '../../../transactionType';
|
|
13
|
-
import { ITicketPriceSpecification } from '../../../unitPriceOffer';
|
|
14
13
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
15
14
|
import * as COAReservationOfferFactory from './seatReservation/coa';
|
|
16
15
|
export declare type IAgent = ActionFactory.IParticipantAsSeller;
|
|
@@ -77,7 +76,7 @@ export declare type IAcceptedOffer4COA = Pick<ReserveTransactionFactory.IAccepte
|
|
|
77
76
|
* COAイベントでは、priceSpecificationで価格を表現しきれないので、numberとしてのpriceが必要
|
|
78
77
|
*/
|
|
79
78
|
price: number;
|
|
80
|
-
priceSpecification?: ITicketPriceSpecification;
|
|
79
|
+
priceSpecification?: OrderFactory.ITicketPriceSpecification;
|
|
81
80
|
};
|
|
82
81
|
export declare type IAcceptedOfferWithoutDetail4COA = COAReservationOfferFactory.IOffer;
|
|
83
82
|
export interface IObjectWithoutDetail4COA {
|
package/lib/order.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ import { IPerson, IProfile } from './person';
|
|
|
15
15
|
import { PersonType } from './personType';
|
|
16
16
|
import { PlaceType } from './placeType';
|
|
17
17
|
import { PriceCurrency } from './priceCurrency';
|
|
18
|
+
import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
|
|
19
|
+
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
20
|
+
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
|
|
18
21
|
import { IProduct, ProductType } from './product';
|
|
19
22
|
import { IPropertyValue } from './propertyValue';
|
|
20
23
|
import { IProgramMembershipUsedSearchConditions, ITicket, ITicketType } from './reservation';
|
|
@@ -22,7 +25,7 @@ import * as EventReservationFactory from './reservation/event';
|
|
|
22
25
|
import { ReservationType } from './reservationType';
|
|
23
26
|
import { SortType } from './sortType';
|
|
24
27
|
import { IThing } from './thing';
|
|
25
|
-
import {
|
|
28
|
+
import { IUnitPriceOfferPriceSpecification } from './unitPriceOffer';
|
|
26
29
|
export interface IProject {
|
|
27
30
|
typeOf: OrganizationType.Project;
|
|
28
31
|
id: string;
|
|
@@ -130,7 +133,18 @@ export interface IMoneyTransfer {
|
|
|
130
133
|
* 注文アイテム
|
|
131
134
|
*/
|
|
132
135
|
export declare type IItemOffered = IMoneyTransfer | IReservation | IPermit;
|
|
133
|
-
export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, '
|
|
136
|
+
export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'priceCurrency'>;
|
|
137
|
+
export declare type ICategoryChargePriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'>;
|
|
138
|
+
export declare type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
|
|
139
|
+
export declare type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
140
|
+
/**
|
|
141
|
+
* 承認時に提供される価格仕様要素
|
|
142
|
+
*/
|
|
143
|
+
export declare type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
|
|
144
|
+
/**
|
|
145
|
+
* 承認時に提供される価格仕様
|
|
146
|
+
*/
|
|
147
|
+
export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
|
|
134
148
|
/**
|
|
135
149
|
* 受け入れオファー
|
|
136
150
|
*/
|
|
@@ -143,10 +157,6 @@ export interface IAcceptedOffer<T extends IItemOffered> extends IOfferOptimized4
|
|
|
143
157
|
* 販売者
|
|
144
158
|
*/
|
|
145
159
|
seller: {
|
|
146
|
-
project: {
|
|
147
|
-
id: string;
|
|
148
|
-
typeOf: OrganizationType.Project;
|
|
149
|
-
};
|
|
150
160
|
typeOf: OrganizationType.Corporation;
|
|
151
161
|
name?: string | IMultilingualString;
|
|
152
162
|
};
|
package/lib/project.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { ICOAInfo, ILocation as IEventLocation, IName as IEventName, ISuperEvent
|
|
|
2
2
|
import { EventStatusType } from '../eventStatusType';
|
|
3
3
|
import { EventType } from '../eventType';
|
|
4
4
|
import { IMultilingualString } from '../multilingualString';
|
|
5
|
+
import { ITicketPriceComponent, ITicketPriceSpecification } from '../order';
|
|
5
6
|
import { IProject } from '../project';
|
|
6
7
|
import * as ReservationFactory from '../reservation';
|
|
7
8
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
8
9
|
import { ReservationType } from '../reservationType';
|
|
9
|
-
import { ITicketPriceComponent, ITicketPriceSpecification } from '../unitPriceOffer';
|
|
10
10
|
export declare type IOptimizedWorkPerformed = Omit<IWorkPerformed, 'name'> & {
|
|
11
11
|
name?: string | IMultilingualString;
|
|
12
12
|
};
|
package/lib/unitPriceOffer.d.ts
CHANGED
|
@@ -2,9 +2,6 @@ import { ActionType } from './actionType';
|
|
|
2
2
|
import { IAddOn, IOffer } from './offer';
|
|
3
3
|
import { OfferType } from './offerType';
|
|
4
4
|
import { IAmount as IPermitAmount, IDepositAmount, IPaymentAmount } from './permit';
|
|
5
|
-
import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
|
|
6
|
-
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
7
|
-
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
|
|
8
5
|
import { IAppliesToMovieTicket, IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
9
6
|
import { IPointAwardAmount, IProduct, ProductType } from './product';
|
|
10
7
|
import { SortType } from './sortType';
|
|
@@ -205,14 +202,3 @@ export interface ISearchConditions {
|
|
|
205
202
|
};
|
|
206
203
|
};
|
|
207
204
|
}
|
|
208
|
-
export declare type ICategoryChargePriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'>;
|
|
209
|
-
export declare type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
|
|
210
|
-
export declare type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
211
|
-
/**
|
|
212
|
-
* 承認時に提供される価格仕様要素
|
|
213
|
-
*/
|
|
214
|
-
export declare type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
|
|
215
|
-
/**
|
|
216
|
-
* 承認時に提供される価格仕様
|
|
217
|
-
*/
|
|
218
|
-
export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
|