@chevre/factory 4.273.1 → 4.274.0-alpha.0
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/action/authorize/offer/product.d.ts +1 -1
- package/lib/event/screeningEvent.d.ts +11 -3
- package/lib/invoice.d.ts +4 -2
- package/lib/priceSpecification/compoundPriceSpecification.d.ts +2 -1
- package/lib/priceSpecification/unitPriceSpecification.d.ts +1 -1
- package/lib/reservation/event.d.ts +3 -6
- package/lib/unitPriceOffer.d.ts +4 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import * as ActionFactory from '../../../action';
|
|
|
2
2
|
import { ActionType } from '../../../actionType';
|
|
3
3
|
import * as RegisterServiceTransactionFactory from '../../../assetTransaction/registerService';
|
|
4
4
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
5
|
+
import { ITicketPriceSpecification } from '../../../event/screeningEvent';
|
|
5
6
|
import { IOffer } from '../../../offer';
|
|
6
7
|
import * as OrderFactory from '../../../order';
|
|
7
8
|
import { IPermit } from '../../../permit';
|
|
@@ -9,7 +10,6 @@ import { PriceCurrency } from '../../../priceCurrency';
|
|
|
9
10
|
import { IProduct, IServiceOutput as IProductServiceOutput } from '../../../product';
|
|
10
11
|
import { ISeller } from '../../../seller';
|
|
11
12
|
import { TransactionType } from '../../../transactionType';
|
|
12
|
-
import { ITicketPriceSpecification } from '../../../unitPriceOffer';
|
|
13
13
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
14
14
|
export declare type IAgent = ActionFactory.IParticipantAsSeller;
|
|
15
15
|
export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
@@ -8,6 +8,10 @@ import { OfferType } from '../offerType';
|
|
|
8
8
|
import { OrganizationType } from '../organizationType';
|
|
9
9
|
import { PlaceType } from '../placeType';
|
|
10
10
|
import { PriceCurrency } from '../priceCurrency';
|
|
11
|
+
import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
|
|
12
|
+
import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
|
|
13
|
+
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../priceSpecification/movieTicketTypeChargeSpecification';
|
|
14
|
+
import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecification/unitPriceSpecification';
|
|
11
15
|
import { IServiceType as IProductServiceType } from '../product';
|
|
12
16
|
import { IProject } from '../project';
|
|
13
17
|
import { IQuantitativeValue } from '../quantitativeValue';
|
|
@@ -145,10 +149,14 @@ export interface IOffer {
|
|
|
145
149
|
seller: ISeller;
|
|
146
150
|
}
|
|
147
151
|
export declare type IOffer4COA = Pick<IOffer, 'project' | 'typeOf' | 'offeredThrough' | 'priceCurrency'>;
|
|
148
|
-
export
|
|
149
|
-
export
|
|
152
|
+
export declare type ITicketUnitPriceComponent = Omit<IUnitPriceSpecification, 'project'>;
|
|
153
|
+
export declare type ITicketPriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'> | Omit<IMovieTicketTypeChargeSpecification, 'project'> | ITicketUnitPriceComponent;
|
|
150
154
|
/**
|
|
151
|
-
*
|
|
155
|
+
* 興行オファーの価格仕様
|
|
156
|
+
*/
|
|
157
|
+
export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
|
|
158
|
+
/**
|
|
159
|
+
* 興行オファー
|
|
152
160
|
*/
|
|
153
161
|
export interface ITicketOffer extends Omit<OfferFactory.IOffer, 'priceSpecification'> {
|
|
154
162
|
identifier: string;
|
package/lib/invoice.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import * as PersonFactory from './person';
|
|
|
5
5
|
import { IAccounting } from './priceSpecification';
|
|
6
6
|
import { IPriceSpecification as ICategoryCodeChargeSpecification } from './priceSpecification/categoryCodeChargeSpecification';
|
|
7
7
|
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from './priceSpecification/movieTicketTypeChargeSpecification';
|
|
8
|
-
import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
8
|
+
import { IAppliesToAddOn as IUnitPriceSpecAppliesToAddOn, IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
9
9
|
import { IPriceSpecification } from './reservation/event';
|
|
10
10
|
import * as SellerFactory from './seller';
|
|
11
11
|
import { PaymentServiceType } from './service/paymentService';
|
|
@@ -15,8 +15,10 @@ export interface IReferenceOrder extends OrderFactory.IOrder {
|
|
|
15
15
|
acceptedOffers: OrderFactory.IAcceptedOffer<OrderFactory.IItemOffered>[];
|
|
16
16
|
}
|
|
17
17
|
export declare type IReservationPriceAccounting = Pick<IAccounting, 'accountsReceivable'>;
|
|
18
|
-
export declare type
|
|
18
|
+
export declare type IAppliesToAddOn = Pick<IUnitPriceSpecAppliesToAddOn, 'typeOf'>;
|
|
19
|
+
export declare type IPriceComponentSpecification = Pick<ICategoryCodeChargeSpecification, 'typeOf' | 'price'> | Pick<IMovieTicketTypeChargeSpecification, 'typeOf' | 'price'> | Pick<IUnitPriceSpecification, 'typeOf' | 'price' | 'referenceQuantity'> & {
|
|
19
20
|
accounting?: IReservationPriceAccounting;
|
|
21
|
+
appliesToAddOn?: IAppliesToAddOn[];
|
|
20
22
|
};
|
|
21
23
|
export declare type IReservationPriceSpecification = Pick<IPriceSpecification, 'typeOf'> & {
|
|
22
24
|
priceComponent: IPriceComponentSpecification[];
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { IPriceSpecification as BaseSpecification } from '../priceSpecification';
|
|
2
2
|
import { PriceSpecificationType } from '../priceSpecificationType';
|
|
3
|
+
export declare type IPriceComponent = Omit<BaseSpecification<PriceSpecificationType>, 'project'>;
|
|
3
4
|
/**
|
|
4
5
|
* 複合価格仕様
|
|
5
6
|
*/
|
|
6
|
-
export declare type IPriceSpecification<T extends
|
|
7
|
+
export declare type IPriceSpecification<T extends IPriceComponent> = Pick<BaseSpecification<PriceSpecificationType.CompoundPriceSpecification>, 'typeOf' | 'priceCurrency' | 'valueAddedTaxIncluded'> & {
|
|
7
8
|
/**
|
|
8
9
|
* 価格要素
|
|
9
10
|
*/
|
|
@@ -12,7 +12,7 @@ export declare type IAppliesToMovieTicket = Pick<IMovieTicketTypeChargeSpecAppli
|
|
|
12
12
|
identifier?: string;
|
|
13
13
|
};
|
|
14
14
|
export declare type IReferenceQuantity = Pick<IQuantitativeValue<UnitCode>, 'typeOf' | 'value' | 'unitCode'>;
|
|
15
|
-
export declare type IAppliesToAddOnItemOffered = Pick<IProduct, 'id' | 'name' | 'productID' | '
|
|
15
|
+
export declare type IAppliesToAddOnItemOffered = Pick<IProduct, 'id' | 'name' | 'productID' | 'typeOf'>;
|
|
16
16
|
export interface IAppliesToAddOn {
|
|
17
17
|
typeOf: OfferType.Offer;
|
|
18
18
|
id?: string;
|
|
@@ -2,14 +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 { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
|
|
6
|
-
import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
|
|
7
|
-
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../priceSpecification/movieTicketTypeChargeSpecification';
|
|
8
|
-
import { IPriceSpecification as IUnitPriceSpecification } from '../priceSpecification/unitPriceSpecification';
|
|
9
5
|
import { IProject } from '../project';
|
|
10
6
|
import * as ReservationFactory from '../reservation';
|
|
11
7
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
12
8
|
import { ReservationType } from '../reservationType';
|
|
9
|
+
import { ITicketPriceComponent, ITicketPriceSpecification } from '../unitPriceOffer';
|
|
13
10
|
export declare type IOptimizedWorkPerformed = Omit<IWorkPerformed, 'name'> & {
|
|
14
11
|
name?: string | IMultilingualString;
|
|
15
12
|
};
|
|
@@ -37,8 +34,8 @@ export interface IReservationFor {
|
|
|
37
34
|
typeOf: EventType.ScreeningEvent;
|
|
38
35
|
doorTime?: Date;
|
|
39
36
|
}
|
|
40
|
-
export declare type IPriceComponentSpecification =
|
|
41
|
-
export declare type IPriceSpecification =
|
|
37
|
+
export declare type IPriceComponentSpecification = ITicketPriceComponent;
|
|
38
|
+
export declare type IPriceSpecification = ITicketPriceSpecification;
|
|
42
39
|
export interface ISubReservation {
|
|
43
40
|
reservedTicket: {
|
|
44
41
|
typeOf: ReservationFactory.TicketType;
|
package/lib/unitPriceOffer.d.ts
CHANGED
|
@@ -205,10 +205,13 @@ export interface ISearchConditions {
|
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
207
|
}
|
|
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'>;
|
|
208
211
|
/**
|
|
209
212
|
* 承認時に提供される価格仕様要素
|
|
210
213
|
*/
|
|
211
|
-
export declare type ITicketPriceComponent =
|
|
214
|
+
export declare type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
|
|
212
215
|
/**
|
|
213
216
|
* 承認時に提供される価格仕様
|
|
214
217
|
*/
|