@chevre/factory 4.289.0-alpha.11 → 4.289.0-alpha.13
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 +3 -3
- package/lib/event/anyEvent.d.ts +1 -3
- package/lib/offer.d.ts +2 -1
- package/lib/product.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as GMO from '@motionpicture/gmo-service';
|
|
2
|
-
import { IAttributes as IPayActionAttributes, ILocation, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient, ITotalPaymentDue } from '../action/trade/pay';
|
|
2
|
+
import { IAction as IPayAction, IAttributes as IPayActionAttributes, ILocation, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient, ITotalPaymentDue } from '../action/trade/pay';
|
|
3
3
|
import * as AssetTransactionFactory from '../assetTransaction';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
@@ -85,13 +85,13 @@ export interface IObject {
|
|
|
85
85
|
* 発行決済サービスID
|
|
86
86
|
*/
|
|
87
87
|
id: string;
|
|
88
|
-
paymentMethod
|
|
88
|
+
paymentMethod: IPaymentMethod;
|
|
89
89
|
pendingTransaction?: IPendingTransaction;
|
|
90
90
|
entryTranArgs?: IEntryTranArgs;
|
|
91
91
|
entryTranResult?: IEntryTranResult;
|
|
92
92
|
execTranArgs?: IExecTranArgs;
|
|
93
93
|
execTranResult?: IExecTranResult;
|
|
94
|
-
payAction?:
|
|
94
|
+
payAction?: IPayAction;
|
|
95
95
|
onPaymentStatusChanged?: IOnPaymentStatusChanged;
|
|
96
96
|
}
|
|
97
97
|
export declare type IObjectWithoutDetail = Pick<IObject, 'typeOf' | 'id' | 'paymentMethod'>;
|
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -7,13 +7,11 @@ import { OrganizationType } from '../organizationType';
|
|
|
7
7
|
import { PlaceType } from '../placeType';
|
|
8
8
|
import { PriceCurrency } from '../priceCurrency';
|
|
9
9
|
import { IServiceType as IProductServiceType, ProductType } from '../product';
|
|
10
|
-
import { IQuantitativeValue } from '../quantitativeValue';
|
|
11
10
|
import * as ReservationFactory from '../reservation';
|
|
12
11
|
import { ReservationType } from '../reservationType';
|
|
13
12
|
import * as WebAPIFactory from '../service/webAPI';
|
|
14
13
|
import { IThing } from '../thing';
|
|
15
14
|
import { ITripWithDetails as IBusTrip } from '../trip/busTrip';
|
|
16
|
-
import { UnitCode } from '../unitCode';
|
|
17
15
|
/**
|
|
18
16
|
* 予約集計
|
|
19
17
|
*/
|
|
@@ -126,7 +124,7 @@ export interface ISeller {
|
|
|
126
124
|
name?: IMultilingualString;
|
|
127
125
|
makesOffer: ISellerMakesOffer[];
|
|
128
126
|
}
|
|
129
|
-
export
|
|
127
|
+
export import IEligibleQuantity = OfferFactory.IEligibleQuantity;
|
|
130
128
|
/**
|
|
131
129
|
* イベントに対するオファー
|
|
132
130
|
*/
|
package/lib/offer.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ export interface IAddOn {
|
|
|
76
76
|
validFrom?: Date;
|
|
77
77
|
validThrough?: Date;
|
|
78
78
|
}
|
|
79
|
+
export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
|
|
79
80
|
/**
|
|
80
81
|
* offer interface
|
|
81
82
|
* An offer to transfer some rights to an item or to provide a service
|
|
@@ -143,7 +144,7 @@ export interface IOffer extends Pick<IThing, 'name' | 'description' | 'alternate
|
|
|
143
144
|
/**
|
|
144
145
|
* オファーの有効となる数
|
|
145
146
|
*/
|
|
146
|
-
eligibleQuantity?:
|
|
147
|
+
eligibleQuantity?: IEligibleQuantity;
|
|
147
148
|
/**
|
|
148
149
|
* The item being offered.
|
|
149
150
|
*/
|
package/lib/product.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { IPropertyValue } from './propertyValue';
|
|
|
12
12
|
import { IQuantitativeValue } from './quantitativeValue';
|
|
13
13
|
import { SortType } from './sortType';
|
|
14
14
|
import { IThing } from './thing';
|
|
15
|
+
import { UnitCode } from './unitCode';
|
|
15
16
|
import * as UnitPriceOfferFactory from './unitPriceOffer';
|
|
16
17
|
/**
|
|
17
18
|
* プロダクトタイプ
|
|
@@ -252,14 +253,16 @@ export declare type ICategoryCodeChargePriceComponent = Omit<ICategoryCodeCharge
|
|
|
252
253
|
export declare type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
|
|
253
254
|
export declare type ITicketUnitPriceComponent = Omit<IUnitPriceSpecification, 'project'>;
|
|
254
255
|
export declare type ITicketPriceComponent = ICategoryCodeChargePriceComponent | IMovieTicketTypeChargePriceComponent | ITicketUnitPriceComponent;
|
|
256
|
+
export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
|
|
255
257
|
/**
|
|
256
258
|
* プロダクトオファーの価格仕様
|
|
257
259
|
*/
|
|
258
260
|
export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
|
|
259
261
|
/**
|
|
260
262
|
* プロダクトオファー
|
|
263
|
+
* strict definition(2023-02-24~)
|
|
261
264
|
*/
|
|
262
|
-
export interface ITicketOffer extends
|
|
265
|
+
export interface ITicketOffer extends Pick<IBaseOffer, 'name' | 'description' | 'alternateName' | 'color' | 'typeOf' | 'id' | 'addOn' | 'availability' | 'availableAtOrFrom' | 'category' | 'eligibleMembershipType' | 'eligibleSeatingType' | 'eligibleMonetaryAmount' | 'eligibleSubReservation' | 'eligibleQuantity' | 'offeredThrough' | 'priceCurrency' | 'validFrom' | 'validThrough' | 'validRateLimit' | 'additionalProperty'> {
|
|
263
266
|
identifier: string;
|
|
264
267
|
priceSpecification: ITicketPriceSpecification;
|
|
265
268
|
itemOffered?: UnitPriceOfferFactory.IItemOffered;
|