@chevre/factory 9.5.0-alpha.0 → 9.5.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.
@@ -42,7 +42,7 @@ export interface IAcceptedOfferInResult extends Pick<ITicketOffer, 'acceptedPaym
42
42
  /**
43
43
  * 取引確定時の検証に必要な情報のみ保管する
44
44
  */
45
- priceSpecification?: Pick<IUnitPriceSpecification, 'eligibleQuantity' | 'eligibleTransactionVolume'>;
45
+ priceSpecification?: Pick<IUnitPriceSpecification, 'eligibleQuantity'>;
46
46
  }
47
47
  export type IAggregateProgramMembershipUsed = (IPermitIssuedThroughFaceToFace | IPermitIssuedThroughMembershipService)[];
48
48
  /**
@@ -43,7 +43,7 @@ export interface IObject4COA {
43
43
  * COA進行中取引(仮予約削除時に利用)
44
44
  * discontinue on Chevre(2024-06-22~)
45
45
  */
46
- pendingTransaction: ICOAPendingTransaction;
46
+ pendingTransaction?: ICOAPendingTransaction;
47
47
  }
48
48
  export interface IAttributes extends IBaseAttributes<IObject | IObject4COA, IResult> {
49
49
  typeOf: ActionType.AuthorizeAction;
@@ -237,11 +237,7 @@ export interface ISearchConditions {
237
237
  paymentMethodId?: {
238
238
  $eq?: string;
239
239
  };
240
- event?: {
241
- id?: {
242
- $in?: string[];
243
- };
244
- };
240
+ event?: never;
245
241
  typeOf?: {
246
242
  $eq?: string;
247
243
  $in?: string[];
@@ -22,7 +22,7 @@ export interface IAppliesToAddOn {
22
22
  /**
23
23
  * 単価仕様
24
24
  */
25
- export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.UnitPriceSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded' | 'accounting' | 'eligibleQuantity' | 'eligibleTransactionVolume'> {
25
+ export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.UnitPriceSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded' | 'accounting' | 'eligibleQuantity'> {
26
26
  /**
27
27
  * 発生金額
28
28
  */
@@ -38,7 +38,6 @@ export interface IPriceSpecification<T extends PriceSpecificationType> {
38
38
  * 対象数量
39
39
  */
40
40
  eligibleQuantity?: IEligibleQuantity;
41
- eligibleTransactionVolume?: IEligibleTransactionVolume;
42
41
  /**
43
42
  * 発生金額
44
43
  */
@@ -241,7 +241,7 @@ export type ICategoryCodeChargePriceComponent = Pick<ICategoryCodeChargeSpecific
241
241
  appliesToCategoryCode: IPriceComponentAppliesToCategoryCode[];
242
242
  };
243
243
  export type IMovieTicketTypeChargePriceComponent = Pick<IMovieTicketTypeChargeSpecification, 'accounting' | 'appliesToMovieTicket' | 'id' | 'appliesToVideoFormat' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
244
- export type ITicketUnitPriceComponent = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToAddOn' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
244
+ export type ITicketUnitPriceComponent = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToAddOn' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
245
245
  export type IPotentialAppliesToSeatingType = Pick<IAppliesToCategoryCode, 'typeOf'> & {
246
246
  inCodeSet: Pick<ICategoryCodeSet, 'typeOf'> & {
247
247
  identifier: CategorySetIdentifier.SeatingType;
@@ -21,7 +21,7 @@ export interface IItemOffered {
21
21
  /**
22
22
  * 単価オファーの価格仕様
23
23
  */
24
- export type IUnitPriceOfferPriceSpecification = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
24
+ export type IUnitPriceOfferPriceSpecification = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
25
25
  export type IAddOnItemOffered = Pick<IAddOnProduct, 'typeOf' | 'id' | 'name'>;
26
26
  export interface IAddOn4unitPriceOffer extends Pick<IAddOn, 'typeOf' | 'priceCurrency'> {
27
27
  itemOffered: IAddOnItemOffered;
@@ -105,7 +105,7 @@ export type ICreateParams = Pick<IUnitPriceOffer, 'acceptedPaymentMethod' | 'eli
105
105
  /**
106
106
  * 価格仕様
107
107
  */
108
- priceSpecification: Pick<IUnitPriceOfferPriceSpecification, 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'price' | 'referenceQuantity'> & {
108
+ priceSpecification: Pick<IUnitPriceOfferPriceSpecification, 'appliesToMovieTicket' | 'eligibleQuantity' | 'price' | 'referenceQuantity'> & {
109
109
  /**
110
110
  * 勘定内容
111
111
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "9.5.0-alpha.0",
3
+ "version": "9.5.0-alpha.2",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [