@chevre/factory 4.336.0 → 4.337.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/README.md +0 -5
- package/lib/account/action/moneyTransfer.d.ts +5 -5
- package/lib/account/transaction/deposit.d.ts +3 -3
- package/lib/account/transaction/transfer.d.ts +3 -3
- package/lib/account/transaction/withdraw.d.ts +3 -3
- package/lib/account/transaction.d.ts +2 -2
- package/lib/action/authorize/award/point.d.ts +4 -4
- package/lib/action/authorize/offer/moneyTransfer.d.ts +8 -8
- package/lib/action/authorize/offer/product.d.ts +11 -11
- package/lib/action/authorize/offer/seatReservation/coa.d.ts +1 -1
- package/lib/action/authorize/offer/seatReservation.d.ts +22 -22
- package/lib/action/authorize/paymentMethod/any.d.ts +6 -6
- package/lib/action/authorize.d.ts +4 -4
- package/lib/action/cancel/reservation.d.ts +4 -4
- package/lib/action/check/paymentMethod/movieTicket.d.ts +7 -7
- package/lib/action/check/token.d.ts +4 -4
- package/lib/action/check.d.ts +3 -3
- package/lib/action/consume/use/reservation.d.ts +5 -5
- package/lib/action/consume/use.d.ts +4 -4
- package/lib/action/interact/confirm/moneyTransfer.d.ts +3 -3
- package/lib/action/interact/confirm/pay.d.ts +4 -4
- package/lib/action/interact/confirm/registerService.d.ts +4 -4
- package/lib/action/interact/confirm/reservation.d.ts +7 -7
- package/lib/action/interact/confirm.d.ts +6 -6
- package/lib/action/interact/inform.d.ts +6 -6
- package/lib/action/interact/register/service.d.ts +4 -4
- package/lib/action/interact/register.d.ts +5 -5
- package/lib/action/reserve.d.ts +5 -5
- package/lib/action/trade/order.d.ts +5 -5
- package/lib/action/trade/pay.d.ts +7 -7
- package/lib/action/trade/refund.d.ts +8 -8
- package/lib/action/transfer/give/pointAward.d.ts +5 -5
- package/lib/action/transfer/give.d.ts +6 -6
- package/lib/action/transfer/moneyTransfer.d.ts +9 -9
- package/lib/action/transfer/return/moneyTransfer.d.ts +5 -5
- package/lib/action/transfer/return/order.d.ts +5 -5
- package/lib/action/transfer/return/paymentMethod.d.ts +6 -6
- package/lib/action/transfer/return/pointAward.d.ts +6 -6
- package/lib/action/transfer/return/reserveTransaction.d.ts +8 -8
- package/lib/action/transfer/return.d.ts +3 -3
- package/lib/action/transfer/send/message/email.d.ts +6 -6
- package/lib/action/transfer/send/order.d.ts +5 -5
- package/lib/action/transfer/send.d.ts +7 -7
- package/lib/action/update/delete/member.d.ts +3 -3
- package/lib/action/update/delete.d.ts +5 -5
- package/lib/action.d.ts +7 -7
- package/lib/additionalProperty.d.ts +4 -4
- package/lib/assetTransaction/cancelReservation.d.ts +7 -7
- package/lib/assetTransaction/moneyTransfer.d.ts +10 -10
- package/lib/assetTransaction/pay.d.ts +7 -7
- package/lib/assetTransaction/refund.d.ts +7 -7
- package/lib/assetTransaction/registerService.d.ts +7 -7
- package/lib/assetTransaction/reserve.d.ts +16 -16
- package/lib/assetTransaction.d.ts +3 -3
- package/lib/authorization.d.ts +7 -7
- package/lib/autoGenerated.d.ts +1 -1
- package/lib/cognito.d.ts +2 -4
- package/lib/creativeWork/comment.d.ts +2 -2
- package/lib/creativeWork/movie.d.ts +1 -1
- package/lib/creativeWork.d.ts +1 -1
- package/lib/error/alreadyInUse.js +1 -1
- package/lib/error/argument.js +1 -1
- package/lib/error/argumentNull.js +1 -1
- package/lib/error/notFound.js +1 -1
- package/lib/event/anyEvent.d.ts +14 -14
- package/lib/event/screeningEvent.d.ts +12 -12
- package/lib/event/screeningEventSeries.d.ts +4 -4
- package/lib/event.d.ts +2 -2
- package/lib/iam.d.ts +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/invoice.d.ts +11 -11
- package/lib/merchantReturnPolicy.d.ts +4 -4
- package/lib/offer/aggregateOffer.d.ts +1 -1
- package/lib/offer.d.ts +6 -6
- package/lib/offerCatalog.d.ts +2 -2
- package/lib/offerItemCondition.d.ts +1 -1
- package/lib/order.d.ts +30 -35
- package/lib/orderExternal.d.ts +1 -1
- package/lib/organization.d.ts +2 -2
- package/lib/ownershipInfo.d.ts +9 -9
- package/lib/paymentMethod/paymentCard.d.ts +1 -1
- package/lib/permit.d.ts +9 -9
- package/lib/person.d.ts +3 -3
- package/lib/place/movieTheater.d.ts +4 -14
- package/lib/place/screeningRoom.d.ts +2 -2
- package/lib/place/seat.d.ts +8 -6
- package/lib/place.d.ts +1 -2
- package/lib/priceSpecification/categoryCodeChargeSpecification.d.ts +1 -1
- package/lib/priceSpecification/compoundPriceSpecification.d.ts +2 -2
- package/lib/priceSpecification/unitPriceSpecification.d.ts +3 -3
- package/lib/priceSpecification.d.ts +2 -2
- package/lib/product.d.ts +10 -10
- package/lib/quantitativeValue.d.ts +1 -1
- package/lib/report/accountingReport.d.ts +7 -7
- package/lib/reservation/busReservation.d.ts +3 -3
- package/lib/reservation/event.d.ts +4 -4
- package/lib/reservation/reservationPackage.d.ts +2 -2
- package/lib/reservation.d.ts +12 -12
- package/lib/seller.d.ts +4 -4
- package/lib/service/paymentService.d.ts +3 -3
- package/lib/task/accountMoneyTransfer.d.ts +1 -1
- package/lib/task/aggregateScreeningEvent.d.ts +1 -1
- package/lib/task/aggregateUseActionsOnEvent.d.ts +1 -1
- package/lib/task/cancelAccountMoneyTransfer.d.ts +1 -1
- package/lib/task/cancelMoneyTransfer.d.ts +1 -1
- package/lib/task/cancelPendingReservation.d.ts +1 -1
- package/lib/task/cancelReservation.d.ts +1 -1
- package/lib/task/confirmMoneyTransfer.d.ts +2 -2
- package/lib/task/confirmPayTransaction.d.ts +2 -2
- package/lib/task/confirmRegisterService.d.ts +2 -2
- package/lib/task/confirmRegisterServiceTransaction.d.ts +2 -2
- package/lib/task/confirmReserveTransaction.d.ts +2 -2
- package/lib/task/createEvent.d.ts +3 -3
- package/lib/task/deleteTransaction.d.ts +5 -5
- package/lib/task/givePointAward.d.ts +2 -2
- package/lib/task/importEventCapacitiesFromCOA.d.ts +1 -1
- package/lib/task/importEventsFromCOA.d.ts +1 -1
- package/lib/task/importOffersFromCOA.d.ts +1 -1
- package/lib/task/moneyTransfer.d.ts +2 -2
- package/lib/task/onAssetTransactionStatusChanged.d.ts +1 -1
- package/lib/task/onAuthorizationCreated.d.ts +1 -1
- package/lib/task/onEventChanged.d.ts +1 -1
- package/lib/task/onOrderPaymentCompleted.d.ts +1 -1
- package/lib/task/onResourceUpdated.d.ts +6 -6
- package/lib/task/pay.d.ts +2 -2
- package/lib/task/placeOrder.d.ts +1 -1
- package/lib/task/refund.d.ts +2 -2
- package/lib/task/registerService.d.ts +2 -2
- package/lib/task/reserve.d.ts +1 -1
- package/lib/task/returnMoneyTransfer.d.ts +2 -2
- package/lib/task/returnOrder.d.ts +2 -2
- package/lib/task/returnPayTransaction.d.ts +2 -2
- package/lib/task/returnPointAward.d.ts +2 -2
- package/lib/task/returnReserveTransaction.d.ts +2 -2
- package/lib/task/sendEmailMessage.d.ts +1 -1
- package/lib/task/sendOrder.d.ts +2 -2
- package/lib/task/syncScreeningRooms.d.ts +1 -1
- package/lib/task/triggerWebhook.d.ts +2 -2
- package/lib/task/useReservation.d.ts +3 -3
- package/lib/task/voidMoneyTransferTransaction.d.ts +1 -1
- package/lib/task/voidPayTransaction.d.ts +2 -2
- package/lib/task/voidPayment.d.ts +2 -2
- package/lib/task/voidRegisterServiceTransaction.d.ts +1 -1
- package/lib/task/voidReserveTransaction.d.ts +2 -2
- package/lib/task.d.ts +3 -3
- package/lib/thing.d.ts +1 -1
- package/lib/transaction/moneyTransfer.d.ts +7 -7
- package/lib/transaction/placeOrder.d.ts +7 -7
- package/lib/transaction/returnOrder.d.ts +8 -8
- package/lib/transaction.d.ts +3 -3
- package/lib/trip/busTrip.d.ts +3 -3
- package/lib/unitPriceOffer/merchantReturnPolicy.d.ts +1 -1
- package/lib/unitPriceOffer.d.ts +4 -4
- package/package.json +9 -14
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export interface IAggregateEntranceGate {
|
|
|
67
67
|
* 予約対象
|
|
68
68
|
* 現時点でBusTripのみ
|
|
69
69
|
*/
|
|
70
|
-
export
|
|
70
|
+
export type IReservationFor = Pick<IBusTrip, 'arrivalBusStop' | 'arrivalTime' | 'busName' | 'busNumber' | 'departureBusStop' | 'departureTime' | 'identifier' | 'typeOf'>;
|
|
71
71
|
export interface IServiceOutput {
|
|
72
72
|
typeOf: ReservationType.BusReservation;
|
|
73
73
|
reservationFor: IReservationFor;
|
|
@@ -82,7 +82,7 @@ export interface IServiceOutput {
|
|
|
82
82
|
};
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
|
-
export
|
|
85
|
+
export type IServiceType = IProductServiceType & {
|
|
86
86
|
id?: string;
|
|
87
87
|
};
|
|
88
88
|
/**
|
|
@@ -107,7 +107,7 @@ export interface IItemOffered {
|
|
|
107
107
|
typeOf: ProductType.Transportation;
|
|
108
108
|
availableChannel: ReservationFactory.IServiceChannel;
|
|
109
109
|
}
|
|
110
|
-
export
|
|
110
|
+
export type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier.Chevre>;
|
|
111
111
|
export interface ISellerMakesOffer extends Pick<OfferFactory.IOffer, 'typeOf' | 'availableAtOrFrom' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> {
|
|
112
112
|
availabilityEnds: Date;
|
|
113
113
|
availabilityStarts: Date;
|
|
@@ -177,7 +177,7 @@ export interface ILocation {
|
|
|
177
177
|
*/
|
|
178
178
|
maximumAttendeeCapacity?: number;
|
|
179
179
|
}
|
|
180
|
-
export
|
|
180
|
+
export type IName = IMultilingualString;
|
|
181
181
|
export interface IOrganizer {
|
|
182
182
|
id: string;
|
|
183
183
|
}
|
|
@@ -237,9 +237,9 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Event> {
|
|
|
237
237
|
/**
|
|
238
238
|
* イベント
|
|
239
239
|
*/
|
|
240
|
-
export
|
|
241
|
-
export
|
|
242
|
-
export
|
|
240
|
+
export type IEvent = EventFactory.IEvent<IAttributes>;
|
|
241
|
+
export type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
|
|
242
|
+
export type ISeller4create = Pick<ISeller, 'makesOffer'> & {
|
|
243
243
|
/**
|
|
244
244
|
* POS以外のアプリケーションの共通設定
|
|
245
245
|
*/
|
|
@@ -259,15 +259,15 @@ export interface IAvailableChannel4create {
|
|
|
259
259
|
};
|
|
260
260
|
};
|
|
261
261
|
}
|
|
262
|
-
export
|
|
263
|
-
export
|
|
262
|
+
export type IReservationFor4create = Pick<IReservationFor, 'identifier'>;
|
|
263
|
+
export type IServiceOutput4create = Pick<IServiceOutput, 'reservedTicket' | 'typeOf'> & {
|
|
264
264
|
reservationFor: IReservationFor4create;
|
|
265
265
|
};
|
|
266
|
-
export
|
|
266
|
+
export type IItemOffered4create = Pick<IItemOffered, 'id'> & {
|
|
267
267
|
availableChannel: IAvailableChannel4create;
|
|
268
268
|
serviceOutput: IServiceOutput4create;
|
|
269
269
|
};
|
|
270
|
-
export
|
|
270
|
+
export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
271
271
|
/**
|
|
272
272
|
* 最大予約数を指定
|
|
273
273
|
*/
|
|
@@ -281,7 +281,7 @@ export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
|
281
281
|
*/
|
|
282
282
|
seller: ISeller4create;
|
|
283
283
|
};
|
|
284
|
-
export
|
|
284
|
+
export type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
|
|
285
285
|
/**
|
|
286
286
|
* ルームコードとキャパシティを指定
|
|
287
287
|
*/
|
|
@@ -291,11 +291,11 @@ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'do
|
|
|
291
291
|
/**
|
|
292
292
|
* イベント更新パラメータ
|
|
293
293
|
*/
|
|
294
|
-
export
|
|
294
|
+
export type IUpdateParams = ICreateParams;
|
|
295
295
|
/**
|
|
296
296
|
* ソート条件
|
|
297
297
|
*/
|
|
298
|
-
export
|
|
298
|
+
export type ISortOrder = EventFactory.ISortOrder;
|
|
299
299
|
export interface IOfferSearchConditions {
|
|
300
300
|
/**
|
|
301
301
|
* apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
|
|
@@ -27,7 +27,7 @@ export interface IServiceOutput {
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
export
|
|
30
|
+
export type IServiceType = IProductServiceType & {
|
|
31
31
|
id?: string;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
@@ -52,7 +52,7 @@ export interface IItemOffered {
|
|
|
52
52
|
typeOf: ProductType.EventService;
|
|
53
53
|
availableChannel: ReservationFactory.IServiceChannel;
|
|
54
54
|
}
|
|
55
|
-
export
|
|
55
|
+
export type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
56
56
|
export import ISellerMakesOffer = AnyEventFactory.ISellerMakesOffer;
|
|
57
57
|
export import ISeller = AnyEventFactory.ISeller;
|
|
58
58
|
export import IEligibleQuantity = AnyEventFactory.IEligibleQuantity;
|
|
@@ -90,7 +90,7 @@ export interface IOffer {
|
|
|
90
90
|
unacceptedPaymentMethod?: string[];
|
|
91
91
|
seller: ISeller;
|
|
92
92
|
}
|
|
93
|
-
export
|
|
93
|
+
export type IOffer4COA = Pick<IOffer, 'typeOf' | 'offeredThrough'> & {
|
|
94
94
|
itemOffered: {
|
|
95
95
|
serviceOutput: Pick<IServiceOutput, 'reservedTicket'>;
|
|
96
96
|
};
|
|
@@ -145,7 +145,7 @@ export interface ICOAInfo {
|
|
|
145
145
|
/**
|
|
146
146
|
* COA券種情報
|
|
147
147
|
*/
|
|
148
|
-
export
|
|
148
|
+
export type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
|
|
149
149
|
/**
|
|
150
150
|
* チケット名
|
|
151
151
|
*/
|
|
@@ -163,9 +163,9 @@ export declare type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
|
|
|
163
163
|
*/
|
|
164
164
|
usePoint: number;
|
|
165
165
|
};
|
|
166
|
-
export
|
|
166
|
+
export type IWorkPerformed = ScreeningEventSeriesFactory.IWorkPerformed;
|
|
167
167
|
export import ILocation = AnyEventFactory.ILocation;
|
|
168
|
-
export
|
|
168
|
+
export type ISuperEvent = Pick<ScreeningEventSeriesFactory.IEvent, 'typeOf' | 'id' | 'videoFormat' | 'soundFormat' | 'workPerformed' | 'location' | 'kanaName' | 'name' | 'additionalProperty' | 'startDate' | 'endDate' | 'description' | 'headline' | 'dubLanguage' | 'subtitleLanguage' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'>;
|
|
169
169
|
export import IName = AnyEventFactory.IName;
|
|
170
170
|
/**
|
|
171
171
|
* イベント属性
|
|
@@ -194,11 +194,11 @@ export interface IAttributes extends Omit<AnyEventFactory.IAttributes, 'offers'
|
|
|
194
194
|
/**
|
|
195
195
|
* イベント
|
|
196
196
|
*/
|
|
197
|
-
export
|
|
197
|
+
export type IEvent = EventFactory.IEvent<IAttributes>;
|
|
198
198
|
export import ILocation4create = AnyEventFactory.ILocation4create;
|
|
199
199
|
export import ISeller4create = AnyEventFactory.ISeller4create;
|
|
200
|
-
export
|
|
201
|
-
export
|
|
200
|
+
export type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
|
|
201
|
+
export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
202
202
|
/**
|
|
203
203
|
* 最大予約数を指定
|
|
204
204
|
*/
|
|
@@ -212,7 +212,7 @@ export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
|
212
212
|
*/
|
|
213
213
|
seller: ISeller4create;
|
|
214
214
|
};
|
|
215
|
-
export
|
|
215
|
+
export type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
|
|
216
216
|
/**
|
|
217
217
|
* ルームコードとキャパシティを指定
|
|
218
218
|
*/
|
|
@@ -226,11 +226,11 @@ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'do
|
|
|
226
226
|
/**
|
|
227
227
|
* イベント更新パラメータ
|
|
228
228
|
*/
|
|
229
|
-
export
|
|
229
|
+
export type IUpdateParams = ICreateParams;
|
|
230
230
|
/**
|
|
231
231
|
* ソート条件
|
|
232
232
|
*/
|
|
233
|
-
export
|
|
233
|
+
export type ISortOrder = EventFactory.ISortOrder;
|
|
234
234
|
export interface IOfferSearchConditions {
|
|
235
235
|
/**
|
|
236
236
|
* apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
|
|
@@ -28,7 +28,7 @@ export interface ISoundFormat {
|
|
|
28
28
|
* コンテンツ
|
|
29
29
|
* contentRatingはCOAのみ存在
|
|
30
30
|
*/
|
|
31
|
-
export
|
|
31
|
+
export type IWorkPerformed = Pick<IMovie, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration' | 'contentRating'> & {
|
|
32
32
|
/**
|
|
33
33
|
* 同コンテンツに対する複数施設コンテンツのバージョン
|
|
34
34
|
* identifier+versionでuniqueな想定
|
|
@@ -147,8 +147,8 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
|
|
|
147
147
|
/**
|
|
148
148
|
* 施設コンテンツ
|
|
149
149
|
*/
|
|
150
|
-
export
|
|
151
|
-
export
|
|
150
|
+
export type IEvent = EventFactory.IEvent<IAttributes>;
|
|
151
|
+
export type ICreateParams = Omit<IAttributes, 'location' | 'workPerformed' | 'coaInfo' | 'organizer' | 'videoFormat' | 'alternativeHeadline'> & {
|
|
152
152
|
location: {
|
|
153
153
|
id: string;
|
|
154
154
|
};
|
|
@@ -165,7 +165,7 @@ export declare type ICreateParams = Omit<IAttributes, 'location' | 'workPerforme
|
|
|
165
165
|
/**
|
|
166
166
|
* ソート条件
|
|
167
167
|
*/
|
|
168
|
-
export
|
|
168
|
+
export type ISortOrder = EventFactory.ISortOrder;
|
|
169
169
|
/**
|
|
170
170
|
* 検索条件
|
|
171
171
|
*/
|
package/lib/event.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as PlaceFactory from './place';
|
|
|
7
7
|
import { IProject } from './project';
|
|
8
8
|
import { IPropertyValue } from './propertyValue';
|
|
9
9
|
import { SortType } from './sortType';
|
|
10
|
-
export
|
|
10
|
+
export type IOffer = Pick<OfferFactory.IOffer, 'typeOf' | 'unacceptedPaymentMethod' | 'seller' | 'eligibleQuantity' | 'itemOffered' | 'offeredThrough'>;
|
|
11
11
|
export interface IAttributes<T extends EventType> {
|
|
12
12
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
13
13
|
/**
|
|
@@ -80,7 +80,7 @@ export interface IAttributes<T extends EventType> {
|
|
|
80
80
|
/**
|
|
81
81
|
* イベント
|
|
82
82
|
*/
|
|
83
|
-
export
|
|
83
|
+
export type IEvent<T extends IAttributes<EventType>> = T & {
|
|
84
84
|
id: string;
|
|
85
85
|
};
|
|
86
86
|
/**
|
package/lib/iam.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export interface IRoleSearchConditions {
|
|
|
31
31
|
$eq?: string;
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export
|
|
35
|
-
export
|
|
34
|
+
export type IMemberType = PersonType | CreativeWorkType.WebApplication;
|
|
35
|
+
export type IMemberHasRole = Pick<IRole, 'typeOf' | 'roleName'>[];
|
|
36
36
|
export interface IMemberOfRole {
|
|
37
37
|
typeOf: IMemberType;
|
|
38
38
|
id: string;
|
package/lib/index.d.ts
CHANGED
|
@@ -326,7 +326,7 @@ export import itemAvailability = ItemAvailability;
|
|
|
326
326
|
export import language = LanguageFactory;
|
|
327
327
|
export import merchantReturnPolicy = MerchantReturnPolicyFactory;
|
|
328
328
|
export import monetaryAmount = MonetaryAmountFactory;
|
|
329
|
-
export
|
|
329
|
+
export type multilingualString = IMultilingualString;
|
|
330
330
|
export import offer = OfferFactory;
|
|
331
331
|
export import offerCatalog = OfferCatalogFactory;
|
|
332
332
|
export import offerItemCondition = OfferItemConditionFactory;
|
package/lib/invoice.d.ts
CHANGED
|
@@ -9,23 +9,23 @@ import { IAppliesToAddOn as IUnitPriceSpecAppliesToAddOn, IPriceSpecification as
|
|
|
9
9
|
import { IPriceSpecification } from './reservation/event';
|
|
10
10
|
import { ISeller } from './seller';
|
|
11
11
|
import { PaymentServiceType } from './service/paymentService';
|
|
12
|
-
export
|
|
13
|
-
export
|
|
12
|
+
export type IBroker = Pick<ISeller, 'id' | 'typeOf'> | IPerson;
|
|
13
|
+
export type IProvider = Pick<ISeller, 'id' | 'typeOf'> | IPerson;
|
|
14
14
|
export interface IReferenceOrder extends OrderFactory.IOrder {
|
|
15
15
|
acceptedOffers: OrderFactory.IAcceptedOffer<OrderFactory.IItemOffered>[];
|
|
16
16
|
}
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
17
|
+
export type IReservationPriceAccounting = Pick<IAccounting, 'accountsReceivable'>;
|
|
18
|
+
export type IAppliesToAddOn = Pick<IUnitPriceSpecAppliesToAddOn, 'typeOf'>;
|
|
19
|
+
export type IMinimizedCategoryCodeChargeSpecification = Pick<ICategoryCodeChargeSpecification, 'typeOf' | 'price'>;
|
|
20
|
+
export type IMinimizedMovieTicketTypeChargeSpecification = Pick<IMovieTicketTypeChargeSpecification, 'typeOf' | 'price'> & {
|
|
21
21
|
appliesToMovieTicket: Pick<IAppliesToMovieTicket, 'serviceOutput'>;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type IMinimizedUnitPriceSpecification = Pick<IUnitPriceSpecification, 'typeOf' | 'price' | 'referenceQuantity'> & {
|
|
24
24
|
accounting?: IReservationPriceAccounting;
|
|
25
25
|
appliesToAddOn?: IAppliesToAddOn[];
|
|
26
26
|
};
|
|
27
|
-
export
|
|
28
|
-
export
|
|
27
|
+
export type IPriceComponentSpecification = IMinimizedCategoryCodeChargeSpecification | IMinimizedMovieTicketTypeChargeSpecification | IMinimizedUnitPriceSpecification;
|
|
28
|
+
export type IReservationPriceSpecification = Pick<IPriceSpecification, 'typeOf'> & {
|
|
29
29
|
priceComponent: IPriceComponentSpecification[];
|
|
30
30
|
};
|
|
31
31
|
export interface IReservation {
|
|
@@ -45,7 +45,7 @@ export interface IReservation {
|
|
|
45
45
|
ticketToken?: string;
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
export
|
|
48
|
+
export type IAmountOfMovieTicketAsPaymentServiceOutput = Pick<IMonetaryAmount, 'typeOf' | 'value'>;
|
|
49
49
|
export interface IMovieTicketAsPaymentServiceOutput {
|
|
50
50
|
/**
|
|
51
51
|
* 購入管理番号
|
|
@@ -57,7 +57,7 @@ export interface IMovieTicketAsPaymentServiceOutput {
|
|
|
57
57
|
serviceOutput?: IReservation;
|
|
58
58
|
amount?: IAmountOfMovieTicketAsPaymentServiceOutput;
|
|
59
59
|
}
|
|
60
|
-
export
|
|
60
|
+
export type IPaymentServiceOutput = IMovieTicketAsPaymentServiceOutput[];
|
|
61
61
|
/**
|
|
62
62
|
* 決済方法(サービス)
|
|
63
63
|
*/
|
|
@@ -42,15 +42,15 @@ export declare enum MerchantReturnEnumeration {
|
|
|
42
42
|
*/
|
|
43
43
|
MerchantReturnUnspecified = "MerchantReturnUnspecified"
|
|
44
44
|
}
|
|
45
|
-
export
|
|
46
|
-
export
|
|
45
|
+
export type IRestockingFee = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
|
|
46
|
+
export type IItemCondition = Pick<IOfferItemCondition, 'typeOf' | 'id'> & {
|
|
47
47
|
id: string;
|
|
48
48
|
name: {
|
|
49
49
|
ja: string;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
-
export
|
|
53
|
-
export
|
|
52
|
+
export type ICustomerRemorseReturnFees = ReturnFeesEnumeration;
|
|
53
|
+
export type ICustomerRemorseReturnFeesMovieTicket = ReturnFeesEnumeration.FreeReturn | ReturnFeesEnumeration.ReturnFeesCustomerResponsibility;
|
|
54
54
|
export interface IMerchantReturnPolicy extends Pick<IThing, 'name' | 'url'> {
|
|
55
55
|
typeOf: 'MerchantReturnPolicy';
|
|
56
56
|
/**
|
package/lib/offer.d.ts
CHANGED
|
@@ -21,8 +21,8 @@ export interface ICategory {
|
|
|
21
21
|
id?: string;
|
|
22
22
|
codeValue?: string;
|
|
23
23
|
}
|
|
24
|
-
export
|
|
25
|
-
export
|
|
24
|
+
export type IEligibleCategoryCode = Pick<ICategoryCode, 'typeOf' | 'id' | 'codeValue' | 'inCodeSet'>;
|
|
25
|
+
export type IEligibleMonetaryAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> & {
|
|
26
26
|
value: number;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
@@ -47,7 +47,7 @@ export interface ISeller {
|
|
|
47
47
|
typeOf?: OrganizationType.Corporation;
|
|
48
48
|
id?: string;
|
|
49
49
|
}
|
|
50
|
-
export
|
|
50
|
+
export type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
51
51
|
/**
|
|
52
52
|
* レート制限
|
|
53
53
|
* どのスコープで何秒に1席までか
|
|
@@ -62,7 +62,7 @@ export interface IAvailableAtOrFrom {
|
|
|
62
62
|
*/
|
|
63
63
|
id: string;
|
|
64
64
|
}
|
|
65
|
-
export
|
|
65
|
+
export type IItemOffered4addOn = Pick<IProduct, 'description' | 'id' | 'name' | 'productID' | 'typeOf'>;
|
|
66
66
|
/**
|
|
67
67
|
* アドオン
|
|
68
68
|
*/
|
|
@@ -79,8 +79,8 @@ export interface IAddOn {
|
|
|
79
79
|
validFrom?: Date;
|
|
80
80
|
validThrough?: Date;
|
|
81
81
|
}
|
|
82
|
-
export
|
|
83
|
-
export
|
|
82
|
+
export type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
|
|
83
|
+
export type IName = IMultilingualString;
|
|
84
84
|
/**
|
|
85
85
|
* offer interface
|
|
86
86
|
* An offer to transfer some rights to an item or to provide a service
|
package/lib/offerCatalog.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { IProject } from './project';
|
|
|
6
6
|
import { IPropertyValue } from './propertyValue';
|
|
7
7
|
import { SortType } from './sortType';
|
|
8
8
|
import { IThing } from './thing';
|
|
9
|
-
export
|
|
9
|
+
export type OfferCatalogType = 'OfferCatalog';
|
|
10
10
|
export interface IItemOffered {
|
|
11
11
|
typeOf: ProductType;
|
|
12
12
|
}
|
|
@@ -30,7 +30,7 @@ export interface IItemListElementAsAggregateOffer {
|
|
|
30
30
|
*/
|
|
31
31
|
id: string;
|
|
32
32
|
}
|
|
33
|
-
export
|
|
33
|
+
export type IItemListElement = IItemListElementAsOfferCatalog | IItemListElementAsAggregateOffer;
|
|
34
34
|
export interface IReletedOfferPriceSpecification {
|
|
35
35
|
appliesToMovieTicket?: Pick<IAppliesToMovieTicket, 'serviceOutput'>[];
|
|
36
36
|
}
|
|
@@ -5,7 +5,7 @@ import { IQuantitativeValue } from './quantitativeValue';
|
|
|
5
5
|
import { ReservationType } from './reservationType';
|
|
6
6
|
import { SortType } from './sortType';
|
|
7
7
|
import { UnitCode } from './unitCode';
|
|
8
|
-
export
|
|
8
|
+
export type IGracePeriodBeforeStart = Pick<IQuantitativeValue<UnitCode.Sec>, 'maxValue' | 'minValue' | 'typeOf' | 'unitCode'>;
|
|
9
9
|
export interface IGracePeriodBeforeStartInDays {
|
|
10
10
|
period: Pick<IQuantitativeValue<UnitCode.Day>, 'value' | 'typeOf' | 'unitCode'>;
|
|
11
11
|
time: string;
|
package/lib/order.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export interface IOrderPaymentMethodIssuedThrough {
|
|
|
46
46
|
export interface ITotalPaymentDue extends Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> {
|
|
47
47
|
value: number;
|
|
48
48
|
}
|
|
49
|
-
export
|
|
49
|
+
export type IPaymentMethodOfInvoice = Pick<IPaymentMethodAsServiceOutput, 'amount'> & {
|
|
50
50
|
/**
|
|
51
51
|
* 決済方法区分コード
|
|
52
52
|
*/
|
|
@@ -60,11 +60,6 @@ export interface IReferencedInvoice {
|
|
|
60
60
|
* The identifier for the account the payment will be applied to.
|
|
61
61
|
*/
|
|
62
62
|
accountId?: string;
|
|
63
|
-
/**
|
|
64
|
-
* 決済方法区分コード
|
|
65
|
-
* @deprecated Use paymentMethod.identifier
|
|
66
|
-
*/
|
|
67
|
-
typeOf: string;
|
|
68
63
|
/**
|
|
69
64
|
* 決済方法名称
|
|
70
65
|
*/
|
|
@@ -116,27 +111,27 @@ export interface IDiscount {
|
|
|
116
111
|
*/
|
|
117
112
|
discountCurrency: string;
|
|
118
113
|
}
|
|
119
|
-
export
|
|
120
|
-
export
|
|
114
|
+
export type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
115
|
+
export type ISuperEvent = Omit<EventReservationFactory.IOptimizedSuperEvent, 'workPerformed'> & {
|
|
121
116
|
workPerformed: IWorkPerformed;
|
|
122
117
|
};
|
|
123
|
-
export
|
|
124
|
-
export
|
|
118
|
+
export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
|
|
119
|
+
export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationFor, 'superEvent'> & {
|
|
125
120
|
superEvent: ISuperEvent;
|
|
126
121
|
};
|
|
127
|
-
export
|
|
122
|
+
export type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
|
|
128
123
|
ticketType: ITicketType;
|
|
129
124
|
};
|
|
130
|
-
export
|
|
125
|
+
export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
131
126
|
reservationFor: ITripAsReservationFor;
|
|
132
127
|
reservedTicket: IReservedTicket;
|
|
133
128
|
};
|
|
134
|
-
export
|
|
129
|
+
export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
135
130
|
reservationFor: IEventAsReservationFor;
|
|
136
131
|
reservedTicket: IReservedTicket;
|
|
137
132
|
};
|
|
138
|
-
export
|
|
139
|
-
export
|
|
133
|
+
export type IReservation = IBusReservation | IEventReservation;
|
|
134
|
+
export type IPermit = Pick<IBasePermit, 'amount' | 'identifier' | 'name' | 'typeOf' | 'validFor'> & {
|
|
140
135
|
issuedThrough?: IIssuedThroughAsProduct;
|
|
141
136
|
};
|
|
142
137
|
export interface IMoneyTransferPendingTransaction {
|
|
@@ -146,7 +141,7 @@ export interface IMoneyTransferPendingTransaction {
|
|
|
146
141
|
*/
|
|
147
142
|
transactionNumber: string;
|
|
148
143
|
}
|
|
149
|
-
export
|
|
144
|
+
export type IMoneyTransferToLocation = Pick<IPaymentCardAsMoneyTransferToLocation, 'typeOf' | 'identifier' | 'issuedThrough'>;
|
|
150
145
|
export interface IMoneyTransfer {
|
|
151
146
|
typeOf: ActionType.MoneyTransfer;
|
|
152
147
|
/**
|
|
@@ -169,19 +164,19 @@ export interface IMoneyTransfer {
|
|
|
169
164
|
/**
|
|
170
165
|
* 注文アイテム
|
|
171
166
|
*/
|
|
172
|
-
export
|
|
173
|
-
export
|
|
174
|
-
export
|
|
175
|
-
export
|
|
167
|
+
export type IItemOffered = IMoneyTransfer | IReservation | IPermit;
|
|
168
|
+
export type ICategoryChargePriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'>;
|
|
169
|
+
export type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
|
|
170
|
+
export type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
176
171
|
/**
|
|
177
172
|
* 承認時に提供される価格仕様要素
|
|
178
173
|
*/
|
|
179
|
-
export
|
|
174
|
+
export type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
|
|
180
175
|
/**
|
|
181
176
|
* 承認時に提供される価格仕様
|
|
182
177
|
*/
|
|
183
|
-
export
|
|
184
|
-
export
|
|
178
|
+
export type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
|
|
179
|
+
export type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'name'>;
|
|
185
180
|
/**
|
|
186
181
|
* 受け入れオファー
|
|
187
182
|
*/
|
|
@@ -202,25 +197,25 @@ export interface ISeller extends Pick<IBaseSeller, 'typeOf' | 'additionalPropert
|
|
|
202
197
|
/**
|
|
203
198
|
* ウェブアプリケーションとしてのカスタマー
|
|
204
199
|
*/
|
|
205
|
-
export
|
|
200
|
+
export type IWebApplicationCustomer = Pick<IWebApplication, 'id' | 'typeOf'> & IProfile;
|
|
206
201
|
/**
|
|
207
202
|
* 顧客組織としてのカスタマー
|
|
208
203
|
*/
|
|
209
|
-
export
|
|
210
|
-
export
|
|
204
|
+
export type IOrganizationCustomer = Pick<ICustomerOrganization, 'id' | 'typeOf'> & IProfile;
|
|
205
|
+
export type IPersonCustomer = Pick<IPerson, 'id' | 'typeOf' | 'memberOf'> & IProfile;
|
|
211
206
|
/**
|
|
212
207
|
* カスタマー
|
|
213
208
|
*/
|
|
214
|
-
export
|
|
215
|
-
export
|
|
209
|
+
export type ICustomer = IPersonCustomer | IWebApplicationCustomer | IOrganizationCustomer;
|
|
210
|
+
export type IBroker = Pick<IPerson, 'id' | 'identifier' | 'typeOf'>;
|
|
216
211
|
/**
|
|
217
212
|
* 返品者
|
|
218
213
|
*/
|
|
219
|
-
export
|
|
220
|
-
export
|
|
221
|
-
export
|
|
222
|
-
export
|
|
223
|
-
export
|
|
214
|
+
export type IParticipantAsReturner = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
|
|
215
|
+
export type IReturner = Pick<IParticipantAsReturner, 'id' | 'typeOf'>;
|
|
216
|
+
export type IIdentifier = IPropertyValue<string>[];
|
|
217
|
+
export type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf'>;
|
|
218
|
+
export type ISimpleSeller = Pick<ISeller, 'id' | 'typeOf' | 'name'>;
|
|
224
219
|
export interface ISimpleOrder {
|
|
225
220
|
/**
|
|
226
221
|
* object type
|
|
@@ -268,7 +263,7 @@ export interface IEventServiceAsOrderedItem {
|
|
|
268
263
|
};
|
|
269
264
|
serviceType?: EventReservationFactory.IServiceTypeOfIssuedThrough;
|
|
270
265
|
}
|
|
271
|
-
export
|
|
266
|
+
export type IReservationFor4TransportationOrderedItem = Pick<ITripAsReservationFor, 'typeOf' | 'id' | 'arrivalTime' | 'departureTime'>;
|
|
272
267
|
export interface ITransportationAsOrderedItem {
|
|
273
268
|
typeOf: ProductType.Transportation;
|
|
274
269
|
serviceOutput: {
|
|
@@ -277,7 +272,7 @@ export interface ITransportationAsOrderedItem {
|
|
|
277
272
|
};
|
|
278
273
|
serviceType?: EventReservationFactory.IServiceTypeOfIssuedThrough;
|
|
279
274
|
}
|
|
280
|
-
export
|
|
275
|
+
export type IProductAsOrderedItem = Pick<IProduct, 'id' | 'serviceType' | 'typeOf'>;
|
|
281
276
|
/**
|
|
282
277
|
* 注文アイテム
|
|
283
278
|
* {@link https://schema.org/OrderItem}
|
package/lib/orderExternal.d.ts
CHANGED
|
@@ -7,6 +7,6 @@ export interface IExternalProductAsOrderedItem extends IProductAsOrderedItem {
|
|
|
7
7
|
export interface IExternalOrderedItem extends IOrderedItem {
|
|
8
8
|
orderedItem: IExternalProductAsOrderedItem;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
10
|
+
export type IExternalOrder = Pick<IOrder, 'project' | 'typeOf' | 'seller' | 'customer' | 'confirmationNumber' | 'orderNumber' | 'price' | 'priceCurrency' | 'orderDate' | 'name' | 'orderStatus' | 'orderedItem' | 'paymentMethods'> & {
|
|
11
11
|
orderedItem?: IExternalOrderedItem[];
|
|
12
12
|
};
|
package/lib/organization.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { IMultilingualString } from './multilingualString';
|
|
|
2
2
|
import { IPlace } from './place';
|
|
3
3
|
import { IPropertyValue } from './propertyValue';
|
|
4
4
|
import { IThing } from './thing';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type ILocation = IPlace;
|
|
6
|
+
export type IParentOrganization = IOrganization;
|
|
7
7
|
/**
|
|
8
8
|
* 組織インターフェース
|
|
9
9
|
*/
|
package/lib/ownershipInfo.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { IReservation as IEventReservation } from './reservation/event';
|
|
|
10
10
|
import { ReservationType } from './reservationType';
|
|
11
11
|
import * as WebAPIFactory from './service/webAPI';
|
|
12
12
|
import { SortType } from './sortType';
|
|
13
|
-
export
|
|
13
|
+
export type IBookingService = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
14
14
|
export interface IBusReservationAsGood {
|
|
15
15
|
typeOf: ReservationType.BusReservation;
|
|
16
16
|
/**
|
|
@@ -50,20 +50,20 @@ export interface IEventReservationAsGood {
|
|
|
50
50
|
/**
|
|
51
51
|
* 予約
|
|
52
52
|
*/
|
|
53
|
-
export
|
|
54
|
-
export
|
|
55
|
-
export
|
|
56
|
-
export
|
|
53
|
+
export type IReservation = IBusReservationAsGood | IEventReservationAsGood;
|
|
54
|
+
export type IReservationWithDetail = (IEventReservationAsGood & IEventReservation) | (IBusReservationAsGood & IBusReservation);
|
|
55
|
+
export type IPermitIssuedThrough = Pick<PermitFactory.IIssuedThrough, 'id' | 'typeOf' | 'serviceType'>;
|
|
56
|
+
export type IPermitAsGood = Pick<PermitFactory.IPermit, 'identifier' | 'typeOf' | 'name' | 'validFor'> & {
|
|
57
57
|
issuedThrough?: IPermitIssuedThrough;
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
60
60
|
* 所有対象物 (Product or Service)
|
|
61
61
|
*/
|
|
62
|
-
export
|
|
62
|
+
export type IGood = IReservation | IPermitAsGood;
|
|
63
63
|
/**
|
|
64
64
|
* 所有対象物(対象物詳細有)
|
|
65
65
|
*/
|
|
66
|
-
export
|
|
66
|
+
export type IGoodWithDetail = IReservationWithDetail | PermitFactory.IPermit;
|
|
67
67
|
/**
|
|
68
68
|
* 所有者
|
|
69
69
|
*/
|
|
@@ -82,13 +82,13 @@ export interface IOwnerAsWebApplication {
|
|
|
82
82
|
id: string;
|
|
83
83
|
identifier?: IPropertyValue<string>[];
|
|
84
84
|
}
|
|
85
|
-
export
|
|
85
|
+
export type IOwner = IOwnerAsOrganization | IOwnerAsPerson | IOwnerAsWebApplication;
|
|
86
86
|
export interface IAcquiredFrom {
|
|
87
87
|
id: string;
|
|
88
88
|
typeOf: OrganizationType.Corporation;
|
|
89
89
|
name: string;
|
|
90
90
|
}
|
|
91
|
-
export
|
|
91
|
+
export type OwnershipInfoType = 'OwnershipInfo';
|
|
92
92
|
/**
|
|
93
93
|
* 所有権
|
|
94
94
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
2
2
|
import { IPaymentMethod } from '../paymentMethod';
|
|
3
|
-
export
|
|
3
|
+
export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'validThrough'>;
|
|
4
4
|
/**
|
|
5
5
|
* payment card interface
|
|
6
6
|
*/
|