@chevre/factory 4.272.0 → 4.273.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.
@@ -18,7 +18,7 @@ export declare type IItemOffered = Pick<IProduct, 'project' | 'typeOf' | 'id' |
18
18
  };
19
19
  export declare type IAcceptedOfferWithoutDetail = RegisterServiceTransactionFactory.IAcceptedOfferWithoutDetail;
20
20
  export declare type ISellerMakesOffer = Pick<ISeller, 'project' | 'id' | 'name' | 'typeOf'>;
21
- export interface IAcceptedOffer extends Pick<IOffer, 'project' | 'typeOf' | 'id' | 'identifier' | 'itemOffered' | 'name' | 'priceCurrency' | 'priceSpecification' | 'seller'> {
21
+ export interface IAcceptedOffer extends Pick<IOffer, 'project' | 'typeOf' | 'id' | 'identifier' | 'itemOffered' | 'name' | 'priceCurrency' | 'seller'> {
22
22
  /**
23
23
  * オファーコード
24
24
  */
@@ -62,7 +62,6 @@ export declare type IAcceptedOfferPriceSpecification = ScreeningEventFactory.ITi
62
62
  export declare type IAcceptedOffer4chevre = Pick<ScreeningEventFactory.ITicketOffer, 'id' | 'identifier' | 'typeOf' | 'priceCurrency' | 'itemOffered' | 'addOn' | 'additionalProperty'> & Pick<ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail, 'id' | 'addOn' | 'additionalProperty' | 'paymentMethod'> & {
63
63
  itemOffered?: ReserveTransactionFactory.IAcceptedTicketOfferItemOffered;
64
64
  priceSpecification: IAcceptedOfferPriceSpecification;
65
- movieTicketIdentifire?: string;
66
65
  };
67
66
  export declare type IAcceptedOfferWithoutDetail4chevre = ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail;
68
67
  export declare type IObjectWithoutDetail4chevre = ReserveTransactionFactory.IObjectWithoutDetail;
@@ -150,7 +150,7 @@ export import ITicketPriceSpecification = UnitPriceOfferFactory.ITicketPriceSpec
150
150
  /**
151
151
  * チケットオファー
152
152
  */
153
- export interface ITicketOffer extends OfferFactory.IOffer {
153
+ export interface ITicketOffer extends Omit<OfferFactory.IOffer, 'priceSpecification'> {
154
154
  identifier: string;
155
155
  priceSpecification: ITicketPriceSpecification;
156
156
  itemOffered?: UnitPriceOfferFactory.IItemOffered;
package/lib/index.d.ts CHANGED
@@ -347,7 +347,6 @@ export declare namespace priceSpecification {
347
347
  }
348
348
  export declare namespace compoundPriceSpecification {
349
349
  type IPriceSpecification<T extends PriceSpecificationType> = CompoundPriceSpecificationFactory.IPriceSpecification<priceSpecification.IPriceSpecification<T>>;
350
- type ISearchConditions<T extends PriceSpecificationType> = CompoundPriceSpecificationFactory.ISearchConditions<T>;
351
350
  }
352
351
  export import priceSpecificationType = PriceSpecificationType;
353
352
  export import programMembership = ProgramMembershipFactory;
package/lib/order.d.ts CHANGED
@@ -130,7 +130,7 @@ export interface IMoneyTransfer {
130
130
  * 注文アイテム
131
131
  */
132
132
  export declare type IItemOffered = IMoneyTransfer | IReservation | IPermit;
133
- export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'project' | 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'priceCurrency' | 'priceSpecification'>;
133
+ export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'project' | 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'priceCurrency'>;
134
134
  /**
135
135
  * 受け入れオファー
136
136
  */
@@ -16,7 +16,7 @@ export declare type IPriceSpecification = ICompoundPriceSpecification<IPriceComp
16
16
  /**
17
17
  * 座席オファーインターフェース
18
18
  */
19
- export interface IOffer extends OfferFactory.IOffer {
19
+ export interface IOffer extends Omit<OfferFactory.IOffer, 'priceSpecification'> {
20
20
  availability: ItemAvailability;
21
21
  priceSpecification?: IPriceSpecification;
22
22
  }
@@ -1,22 +1,11 @@
1
- import { IPriceSpecification as BaseSpecification, ISearchConditions as IBaseSearchConditions } from '../priceSpecification';
1
+ import { IPriceSpecification as BaseSpecification } from '../priceSpecification';
2
2
  import { PriceSpecificationType } from '../priceSpecificationType';
3
3
  /**
4
- * 複合価格仕様インターフェース
4
+ * 複合価格仕様
5
5
  */
6
- export declare type IPriceSpecification<T extends BaseSpecification<PriceSpecificationType>> = BaseSpecification<PriceSpecificationType.CompoundPriceSpecification> & {
6
+ export declare type IPriceSpecification<T extends BaseSpecification<PriceSpecificationType>> = Pick<BaseSpecification<PriceSpecificationType.CompoundPriceSpecification>, 'typeOf' | 'priceCurrency' | 'valueAddedTaxIncluded'> & {
7
7
  /**
8
8
  * 価格要素
9
9
  */
10
10
  priceComponent: T[];
11
11
  };
12
- /**
13
- * 検索条件インターフェース
14
- */
15
- export interface ISearchConditions<T extends PriceSpecificationType> extends IBaseSearchConditions<PriceSpecificationType.CompoundPriceSpecification> {
16
- /**
17
- * 価格仕様要素
18
- */
19
- priceComponent?: {
20
- typeOf: T;
21
- };
22
- }
@@ -38,7 +38,7 @@ export interface IReservationFor {
38
38
  doorTime?: Date;
39
39
  }
40
40
  export declare type IPriceComponentSpecification = ICategoryCodeChargeSpecification | IMovieTicketTypeChargeSpecification | IUnitPriceSpecification;
41
- export declare type IPriceSpecification = ICompoundPriceSpecification<IPriceComponentSpecification>;
41
+ export declare type IPriceSpecification = Omit<ICompoundPriceSpecification<IPriceComponentSpecification>, 'project'>;
42
42
  export interface ISubReservation {
43
43
  reservedTicket: {
44
44
  typeOf: ReservationFactory.TicketType;
@@ -2,7 +2,7 @@ import { IPriceSpecification as IGenericPriceSpecification } from '../priceSpeci
2
2
  import { PriceSpecificationType } from '../priceSpecificationType';
3
3
  import * as ReservationFactory from '../reservation';
4
4
  import { ReservationType } from '../reservationType';
5
- export declare type IPriceSpecification = IGenericPriceSpecification<PriceSpecificationType>;
5
+ export declare type IPriceSpecification = Omit<IGenericPriceSpecification<PriceSpecificationType>, 'project'>;
6
6
  export declare type ISubReservation = ReservationFactory.IReservation<IPriceSpecification>;
7
7
  /**
8
8
  * 予約パッケージインターフェース
@@ -180,7 +180,7 @@ export interface IIssuedThrough {
180
180
  * For offers of tickets, restaurant reservations, flights, or rental cars, use Offer.
181
181
  * {@link https://schema.org/Reservation}
182
182
  */
183
- export interface IReservation<T extends IPriceSpecification> extends Pick<IThing, 'identifier' | 'name'> {
183
+ export interface IReservation<T extends Omit<IPriceSpecification, 'project'>> extends Pick<IThing, 'identifier' | 'name'> {
184
184
  project: Pick<IProject, 'id' | 'typeOf'>;
185
185
  /**
186
186
  * type of object
@@ -212,4 +212,4 @@ export declare type ITicketPriceComponent = ICategoryCodeChargeSpecification | I
212
212
  /**
213
213
  * 承認時に提供される価格仕様
214
214
  */
215
- export declare type ITicketPriceSpecification = ICompoundPriceSpecification<ITicketPriceComponent>;
215
+ export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.272.0",
3
+ "version": "4.273.1",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",