@chevre/factory 4.335.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 -18
- 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/permit.d.ts
CHANGED
|
@@ -8,17 +8,17 @@ import { PaymentServiceType } from './service/paymentService';
|
|
|
8
8
|
export declare enum PermitType {
|
|
9
9
|
Permit = "Permit"
|
|
10
10
|
}
|
|
11
|
-
export
|
|
11
|
+
export type IIssuedThroughAsPaymentService = Pick<IProduct, 'id' | 'serviceType'> & {
|
|
12
12
|
typeOf: PaymentServiceType.CreditCard;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
14
|
+
export type IIssuedThroughAsProduct = Pick<IProduct, 'id' | 'serviceType' | 'typeOf'>;
|
|
15
|
+
export type IIssuedThrough = IIssuedThroughAsPaymentService | IIssuedThroughAsProduct;
|
|
16
|
+
export type IPaymentAccount = Pick<IAccount, 'accountNumber' | 'typeOf'>;
|
|
17
|
+
export type IPaymentAccountWithDetail = Pick<IAccount, 'accountNumber' | 'availableBalance' | 'balance' | 'typeOf'>;
|
|
18
|
+
export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
|
|
19
|
+
export type IDepositAmount = Pick<IMonetaryAmount, 'typeOf' | 'maxValue' | 'minValue'>;
|
|
20
|
+
export type IPaymentAmount = Pick<IMonetaryAmount, 'typeOf' | 'maxValue' | 'minValue'>;
|
|
21
|
+
export type IIssuedBy = Pick<IOrganization, 'typeOf' | 'id' | 'name'>;
|
|
22
22
|
/**
|
|
23
23
|
* A permit issued by an organization, e.g. a parking pass.
|
|
24
24
|
* {@link https://schema.org/Permit}
|
package/lib/person.d.ts
CHANGED
|
@@ -5,9 +5,9 @@ import * as ThingFactory from './thing';
|
|
|
5
5
|
/**
|
|
6
6
|
* 追加特性
|
|
7
7
|
*/
|
|
8
|
-
export
|
|
8
|
+
export type IAdditionalProperty = IPropertyValue<string>[];
|
|
9
9
|
export import IIdentifier = ThingFactory.IIdentifier;
|
|
10
|
-
export
|
|
10
|
+
export type IMemberOf = IProgramMembership;
|
|
11
11
|
/**
|
|
12
12
|
* プロフィール
|
|
13
13
|
*/
|
|
@@ -56,4 +56,4 @@ export interface IPersonAttributes {
|
|
|
56
56
|
/**
|
|
57
57
|
* 人物
|
|
58
58
|
*/
|
|
59
|
-
export
|
|
59
|
+
export type IPerson = IProfile & IPersonAttributes;
|
|
@@ -6,7 +6,6 @@ import { IQuantitativeValue } from '../quantitativeValue';
|
|
|
6
6
|
import { ISeller } from '../seller';
|
|
7
7
|
import { SortType } from '../sortType';
|
|
8
8
|
import { UnitCode } from '../unitCode';
|
|
9
|
-
import { IPlace as IScreeningRoom } from './screeningRoom';
|
|
10
9
|
export interface IAvailabilityStartsGraceTime extends Pick<IQuantitativeValue<UnitCode.Day>, 'typeOf' | 'value' | 'unitCode'> {
|
|
11
10
|
unitCode: UnitCode.Day;
|
|
12
11
|
value: number;
|
|
@@ -57,20 +56,20 @@ export interface IPOS {
|
|
|
57
56
|
/**
|
|
58
57
|
* 入場ゲート
|
|
59
58
|
*/
|
|
60
|
-
export
|
|
59
|
+
export type IEntranceGate = Pick<PlaceFactory.IPlace, 'typeOf' | 'identifier' | 'name'> & {
|
|
61
60
|
typeOf: PlaceType.Place;
|
|
62
61
|
identifier: string;
|
|
63
62
|
};
|
|
64
63
|
/**
|
|
65
64
|
* 親組織
|
|
66
65
|
*/
|
|
67
|
-
export
|
|
66
|
+
export type IParentOrganization = Pick<ISeller, 'typeOf' | 'id'> & {
|
|
68
67
|
id: string;
|
|
69
68
|
};
|
|
70
69
|
/**
|
|
71
|
-
*
|
|
70
|
+
* 施設
|
|
72
71
|
*/
|
|
73
|
-
export interface
|
|
72
|
+
export interface IPlace extends Pick<PlaceFactory.IPlace, 'additionalProperty' | 'branchCode' | 'name' | 'project' | 'telephone' | 'typeOf'> {
|
|
74
73
|
typeOf: PlaceType.MovieTheater;
|
|
75
74
|
id: string;
|
|
76
75
|
/**
|
|
@@ -85,10 +84,6 @@ export interface IPlaceWithoutScreeningRoom extends Omit<PlaceFactory.IPlace, 'c
|
|
|
85
84
|
* 入場ゲート
|
|
86
85
|
*/
|
|
87
86
|
hasEntranceGate?: IEntranceGate[];
|
|
88
|
-
/**
|
|
89
|
-
* Points-of-Sales operated by the organization or person.
|
|
90
|
-
*/
|
|
91
|
-
hasPOS?: IPOS[];
|
|
92
87
|
/**
|
|
93
88
|
* 名称
|
|
94
89
|
*/
|
|
@@ -110,15 +105,6 @@ export interface IPlaceWithoutScreeningRoom extends Omit<PlaceFactory.IPlace, 'c
|
|
|
110
105
|
*/
|
|
111
106
|
parentOrganization: IParentOrganization;
|
|
112
107
|
}
|
|
113
|
-
/**
|
|
114
|
-
* 施設
|
|
115
|
-
*/
|
|
116
|
-
export declare type IPlace = IPlaceWithoutScreeningRoom & {
|
|
117
|
-
/**
|
|
118
|
-
* ルームリスト
|
|
119
|
-
*/
|
|
120
|
-
containsPlace: IScreeningRoom[];
|
|
121
|
-
};
|
|
122
108
|
/**
|
|
123
109
|
* 施設ソート条件
|
|
124
110
|
*/
|
|
@@ -9,11 +9,11 @@ export interface IContainedInPlace {
|
|
|
9
9
|
branchCode: string;
|
|
10
10
|
name: IMultilingualString;
|
|
11
11
|
}
|
|
12
|
-
export
|
|
12
|
+
export type IParentOrganization = Pick<ISeller, 'typeOf' | 'id'> & {
|
|
13
13
|
id: string;
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* ルーム
|
|
17
17
|
*/
|
|
18
18
|
export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'amenityFeature' | 'branchCode' | 'name' | 'address' | 'containsPlace' | 'additionalProperty' | 'openSeatingAllowed' | 'maximumAttendeeCapacity'> {
|
|
19
19
|
typeOf: PlaceType.ScreeningRoom;
|
package/lib/place/seat.d.ts
CHANGED
|
@@ -8,12 +8,12 @@ import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpec
|
|
|
8
8
|
/**
|
|
9
9
|
* 座席に対する価格構成要素
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export type IPriceComponent = ICategoryCodeChargeSpecification;
|
|
12
12
|
/**
|
|
13
13
|
* 座席に対する価格仕様
|
|
14
14
|
* 最適化(2022-11-15~)
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type IPriceSpecification = Pick<ICompoundPriceSpecification<IPriceComponent>, 'typeOf' | 'priceComponent'>;
|
|
17
17
|
/**
|
|
18
18
|
* 座席オファー
|
|
19
19
|
* 最適化(2022-11-15~)
|
|
@@ -25,7 +25,7 @@ export interface IOffer extends Pick<OfferFactory.IOffer, 'typeOf'> {
|
|
|
25
25
|
/**
|
|
26
26
|
* 座席タイプ
|
|
27
27
|
*/
|
|
28
|
-
export
|
|
28
|
+
export type ISeatingType = string | string[];
|
|
29
29
|
/**
|
|
30
30
|
* 座席
|
|
31
31
|
*/
|
|
@@ -47,10 +47,12 @@ export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' |
|
|
|
47
47
|
export interface IPlaceWithOffer extends IPlace {
|
|
48
48
|
offers?: IOffer[];
|
|
49
49
|
}
|
|
50
|
+
export type IKeyOfProjection = 'typeOf' | 'branchCode' | 'name' | 'seatingType' | 'additionalProperty' | 'containedInPlace.containedInPlace';
|
|
51
|
+
export type IProjection = {
|
|
52
|
+
[key in IKeyOfProjection]?: 0;
|
|
53
|
+
};
|
|
50
54
|
export interface ISearchConditions {
|
|
51
|
-
$projection?:
|
|
52
|
-
[key: string]: number;
|
|
53
|
-
};
|
|
55
|
+
$projection?: IProjection;
|
|
54
56
|
limit?: number;
|
|
55
57
|
page?: number;
|
|
56
58
|
sort?: any;
|
package/lib/place.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { IProject } from './project';
|
|
|
4
4
|
import { IPropertyValue } from './propertyValue';
|
|
5
5
|
import { IPropertyValue as ILocationFeatureSpecification } from './propertyValue/locationFeatureSpecification';
|
|
6
6
|
import { IThing } from './thing';
|
|
7
|
-
export
|
|
7
|
+
export type IAmenityFeature = ILocationFeatureSpecification;
|
|
8
8
|
/**
|
|
9
9
|
* 場所インターフェース
|
|
10
10
|
*/
|
|
@@ -20,7 +20,6 @@ export interface IPlace extends Pick<IThing, 'identifier' | 'name'> {
|
|
|
20
20
|
maximumAttendeeCapacity?: number;
|
|
21
21
|
name?: IMultilingualString;
|
|
22
22
|
openSeatingAllowed?: boolean;
|
|
23
|
-
smokingAllowed?: boolean;
|
|
24
23
|
telephone?: string;
|
|
25
24
|
additionalProperty?: IPropertyValue<string>[];
|
|
26
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ICategoryCode } from '../categoryCode';
|
|
2
2
|
import { IPriceSpecification as BaseSpecification } from '../priceSpecification';
|
|
3
3
|
import { PriceSpecificationType } from '../priceSpecificationType';
|
|
4
|
-
export
|
|
4
|
+
export type IAppliesToCategoryCode = Pick<ICategoryCode, 'typeOf' | 'codeValue' | 'inCodeSet'>;
|
|
5
5
|
/**
|
|
6
6
|
* 区分加算料金
|
|
7
7
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IPriceSpecification as BaseSpecification } from '../priceSpecification';
|
|
2
2
|
import { PriceSpecificationType } from '../priceSpecificationType';
|
|
3
|
-
export
|
|
3
|
+
export type IPriceComponent = Omit<BaseSpecification<PriceSpecificationType>, 'project'>;
|
|
4
4
|
/**
|
|
5
5
|
* 複合価格仕様
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type IPriceSpecification<T extends IPriceComponent> = Pick<BaseSpecification<PriceSpecificationType.CompoundPriceSpecification>, 'typeOf' | 'priceCurrency' | 'valueAddedTaxIncluded'> & {
|
|
8
8
|
/**
|
|
9
9
|
* 価格要素
|
|
10
10
|
*/
|
|
@@ -5,14 +5,14 @@ import { IProduct } from '../product';
|
|
|
5
5
|
import { IQuantitativeValue } from '../quantitativeValue';
|
|
6
6
|
import { UnitCode } from '../unitCode';
|
|
7
7
|
import { IAppliesToMovieTicket as IMovieTicketTypeChargeSpecAppliesToMovieTicket } from './movieTicketTypeChargeSpecification';
|
|
8
|
-
export
|
|
8
|
+
export type IAppliesToMovieTicket = Pick<IMovieTicketTypeChargeSpecAppliesToMovieTicket, 'typeOf' | 'serviceType' | 'serviceOutput'> & {
|
|
9
9
|
/**
|
|
10
10
|
* 単価オファー設定としては存在しないが、予約あるいは注文の価格仕様としては必須
|
|
11
11
|
*/
|
|
12
12
|
identifier?: string;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
15
|
-
export
|
|
14
|
+
export type IReferenceQuantity = Pick<IQuantitativeValue<UnitCode>, 'typeOf' | 'value' | 'unitCode' | 'minValue'>;
|
|
15
|
+
export type IAppliesToAddOnItemOffered = Pick<IProduct, 'id' | 'name' | 'productID' | 'typeOf'>;
|
|
16
16
|
export interface IAppliesToAddOn {
|
|
17
17
|
typeOf: OfferType.Offer;
|
|
18
18
|
id?: string;
|
|
@@ -20,8 +20,8 @@ export interface IAccounting {
|
|
|
20
20
|
*/
|
|
21
21
|
accountsReceivable?: number;
|
|
22
22
|
}
|
|
23
|
-
export
|
|
24
|
-
export
|
|
23
|
+
export type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode>, 'maxValue' | 'minValue' | 'typeOf' | 'unitCode'>;
|
|
24
|
+
export type IEligibleTransactionVolume = Pick<IPriceSpecification<PriceSpecificationType>, 'typeOf' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded'>;
|
|
25
25
|
/**
|
|
26
26
|
* 価格仕様
|
|
27
27
|
*/
|
package/lib/product.d.ts
CHANGED
|
@@ -43,8 +43,8 @@ export interface IHasOfferCatalog {
|
|
|
43
43
|
typeOf: 'OfferCatalog';
|
|
44
44
|
id: string;
|
|
45
45
|
}
|
|
46
|
-
export
|
|
47
|
-
export
|
|
46
|
+
export type IMembershipPointsEarned = Pick<IQuantitativeValue<string>, 'name' | 'typeOf' | 'unitText' | 'value'>;
|
|
47
|
+
export type IServiceOutput = Pick<IPermit, 'typeOf' | 'amount'> & {
|
|
48
48
|
membershipPointsEarned?: IMembershipPointsEarned;
|
|
49
49
|
automaticRenewal?: boolean;
|
|
50
50
|
};
|
|
@@ -63,8 +63,8 @@ export interface IAvailableChannel {
|
|
|
63
63
|
serviceUrl?: string;
|
|
64
64
|
credentials?: ICredentials;
|
|
65
65
|
}
|
|
66
|
-
export
|
|
67
|
-
export
|
|
66
|
+
export type IServiceType = Pick<ICategoryCode, 'codeValue' | 'inCodeSet' | 'typeOf'>;
|
|
67
|
+
export type IOffer = Pick<IBaseOffer, 'typeOf' | 'priceCurrency' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> & {
|
|
68
68
|
seller?: {
|
|
69
69
|
id?: string;
|
|
70
70
|
};
|
|
@@ -225,15 +225,15 @@ export interface IServiceOutputSearchConditions {
|
|
|
225
225
|
$eq?: string;
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
-
export
|
|
229
|
-
export
|
|
230
|
-
export
|
|
231
|
-
export
|
|
232
|
-
export
|
|
228
|
+
export type ICategoryCodeChargePriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'>;
|
|
229
|
+
export type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
|
|
230
|
+
export type ITicketUnitPriceComponent = Omit<IUnitPriceSpecification, 'project'>;
|
|
231
|
+
export type ITicketPriceComponent = ICategoryCodeChargePriceComponent | IMovieTicketTypeChargePriceComponent | ITicketUnitPriceComponent;
|
|
232
|
+
export type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
|
|
233
233
|
/**
|
|
234
234
|
* プロダクトオファーの価格仕様
|
|
235
235
|
*/
|
|
236
|
-
export
|
|
236
|
+
export type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
|
|
237
237
|
export import IMinimizedTicketAddOn = UnitPriceOfferFactory.IAddOn4unitPriceOffer;
|
|
238
238
|
/**
|
|
239
239
|
* プロダクトオファー
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { IAction as IPayAction, IPaymentService as IPayObject } from '../action/trade/pay';
|
|
2
2
|
import { IAction as IRefundAction, IPaymentService as IRefundObject } from '../action/trade/refund';
|
|
3
3
|
import { ICustomer, IOrder } from '../order';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type IPayActionObject = Pick<IPayObject, 'id' | 'paymentMethod' | 'typeOf'>;
|
|
5
|
+
export type IOptimizedPayAction = Pick<IPayAction, 'actionStatus' | 'endDate' | 'id' | 'purpose' | 'startDate' | 'typeOf'> & {
|
|
6
6
|
object: IPayActionObject[];
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type IRefundActionObject = Pick<IRefundObject, 'id' | 'paymentMethod' | 'typeOf'>;
|
|
9
|
+
export type IOptimizedRefundAction = Pick<IRefundAction, 'actionStatus' | 'endDate' | 'id' | 'purpose' | 'startDate' | 'typeOf'> & {
|
|
10
10
|
object: IRefundActionObject[];
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
12
|
+
export type IAction = IOptimizedPayAction | IOptimizedRefundAction;
|
|
13
|
+
export type IOptimizedCustomer = Pick<ICustomer, 'additionalProperty' | 'id' | 'identifier' | 'typeOf'>;
|
|
14
|
+
export type IOrderAsMainEntity = Pick<IOrder, 'acceptedOffers' | 'broker' | 'confirmationNumber' | 'id' | 'orderDate' | 'orderNumber' | 'orderedItem' | 'paymentMethods' | 'price' | 'priceCurrency' | 'seller' | 'typeOf'> & {
|
|
15
15
|
numItems: number;
|
|
16
16
|
customer: IOptimizedCustomer;
|
|
17
17
|
};
|
|
@@ -4,9 +4,9 @@ import * as ReservationFactory from '../reservation';
|
|
|
4
4
|
import { ReservationType } from '../reservationType';
|
|
5
5
|
import { ITripWithDetails as IBusTrip } from '../trip/busTrip';
|
|
6
6
|
import { TripType } from '../tripType';
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
7
|
+
export type IReservationFor = Pick<IBusTrip, 'arrivalBusStop' | 'arrivalTime' | 'busName' | 'busNumber' | 'departureBusStop' | 'departureTime' | 'id' | 'identifier' | 'name' | 'typeOf'>;
|
|
8
|
+
export type IPriceComponentSpecification = ITicketPriceComponent;
|
|
9
|
+
export type IPriceSpecification = ITicketPriceSpecification;
|
|
10
10
|
export interface ISubReservation {
|
|
11
11
|
reservedTicket: {
|
|
12
12
|
typeOf: ReservationFactory.TicketType;
|
|
@@ -6,10 +6,10 @@ import { ProductType } from '../product';
|
|
|
6
6
|
import * as ReservationFactory from '../reservation';
|
|
7
7
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
8
8
|
import { ReservationType } from '../reservationType';
|
|
9
|
-
export
|
|
9
|
+
export type IOptimizedWorkPerformed = Omit<IWorkPerformed, 'project' | 'name'> & {
|
|
10
10
|
name?: string | IMultilingualString;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'kanaName' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'description' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
13
13
|
workPerformed: IOptimizedWorkPerformed;
|
|
14
14
|
};
|
|
15
15
|
export interface IReservationFor {
|
|
@@ -31,8 +31,8 @@ export interface IReservationFor {
|
|
|
31
31
|
typeOf: EventType.ScreeningEvent;
|
|
32
32
|
doorTime?: Date;
|
|
33
33
|
}
|
|
34
|
-
export
|
|
35
|
-
export
|
|
34
|
+
export type IPriceComponentSpecification = ITicketPriceComponent;
|
|
35
|
+
export type IPriceSpecification = ITicketPriceSpecification;
|
|
36
36
|
export interface ISubReservation {
|
|
37
37
|
reservedTicket: {
|
|
38
38
|
typeOf: ReservationFactory.TicketType;
|
|
@@ -2,8 +2,8 @@ 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
|
|
6
|
-
export
|
|
5
|
+
export type IPriceSpecification = Omit<IGenericPriceSpecification<PriceSpecificationType>, 'project'>;
|
|
6
|
+
export type ISubReservation = ReservationFactory.IReservation<IPriceSpecification>;
|
|
7
7
|
/**
|
|
8
8
|
* 予約パッケージインターフェース
|
|
9
9
|
*/
|
package/lib/reservation.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ import { ReservationStatusType } from './reservationStatusType';
|
|
|
20
20
|
import { ReservationType } from './reservationType';
|
|
21
21
|
import { SortType } from './sortType';
|
|
22
22
|
import { IThing } from './thing';
|
|
23
|
-
export
|
|
23
|
+
export type TicketType = 'Ticket';
|
|
24
24
|
export interface ITicketType {
|
|
25
25
|
additionalProperty?: IPropertyValue<string>[];
|
|
26
26
|
category?: OfferFactory.ICategory;
|
|
@@ -32,9 +32,9 @@ export interface ITicketType {
|
|
|
32
32
|
typeOf: OfferType.Offer;
|
|
33
33
|
validRateLimit?: OfferFactory.IValidRateLimit;
|
|
34
34
|
}
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
35
|
+
export type IPriceSpecification = IGenericPriceSpecification<PriceSpecificationType>;
|
|
36
|
+
export type ISeatingType = SeatFactory.ISeatingType;
|
|
37
|
+
export type IUnderNameType = CreativeWorkType.WebApplication | PersonType.Person | OrganizationType.Organization | OrganizationType.Corporation | OrganizationType.Project;
|
|
38
38
|
/**
|
|
39
39
|
* under name interface
|
|
40
40
|
*/
|
|
@@ -79,7 +79,7 @@ export interface ISeat {
|
|
|
79
79
|
/**
|
|
80
80
|
* COA券種情報
|
|
81
81
|
*/
|
|
82
|
-
export
|
|
82
|
+
export type ICOATicketInfoWithDetails = COA.factory.reserve.IUpdReserveTicket & {
|
|
83
83
|
/**
|
|
84
84
|
* チケット名
|
|
85
85
|
*/
|
|
@@ -97,7 +97,7 @@ export declare type ICOATicketInfoWithDetails = COA.factory.reserve.IUpdReserveT
|
|
|
97
97
|
*/
|
|
98
98
|
usePoint: number;
|
|
99
99
|
};
|
|
100
|
-
export
|
|
100
|
+
export type IReservationFor = any;
|
|
101
101
|
/**
|
|
102
102
|
* 予約チケット情報
|
|
103
103
|
*/
|
|
@@ -166,12 +166,12 @@ export interface IBroker {
|
|
|
166
166
|
identifier?: IPropertyValue<string>[];
|
|
167
167
|
name?: string;
|
|
168
168
|
}
|
|
169
|
-
export
|
|
170
|
-
export
|
|
171
|
-
export
|
|
169
|
+
export type IProgramMembershipUsed = Pick<IPermit, 'identifier' | 'issuedThrough' | 'project' | 'typeOf'>;
|
|
170
|
+
export type IServiceTypeOfIssuedThrough = Pick<IServiceType, 'codeValue' | 'inCodeSet' | 'typeOf'>;
|
|
171
|
+
export type IServiceLocationContainedInPlace = Pick<MovieTheaterFactory.IPlace, 'typeOf' | 'id' | 'branchCode'> & {
|
|
172
172
|
name?: IMultilingualString;
|
|
173
173
|
};
|
|
174
|
-
export
|
|
174
|
+
export type IServiceLocation = Pick<ScreeningRoomFactory.IPlace, 'typeOf' | 'branchCode'> & {
|
|
175
175
|
containedInPlace: IServiceLocationContainedInPlace;
|
|
176
176
|
name?: IMultilingualString;
|
|
177
177
|
};
|
|
@@ -185,7 +185,7 @@ export interface IIssuedThrough {
|
|
|
185
185
|
id: string;
|
|
186
186
|
availableChannel: IServiceChannel;
|
|
187
187
|
}
|
|
188
|
-
export
|
|
188
|
+
export type IAvailableReservationStatusType = ReservationStatusType.ReservationCancelled | ReservationStatusType.ReservationConfirmed | ReservationStatusType.ReservationPending;
|
|
189
189
|
export interface IProvider {
|
|
190
190
|
/**
|
|
191
191
|
* 販売者ID
|
|
@@ -331,7 +331,7 @@ export interface IUnderNameSearchConditions {
|
|
|
331
331
|
};
|
|
332
332
|
identifiers?: IPropertyValue<string>[];
|
|
333
333
|
}
|
|
334
|
-
export
|
|
334
|
+
export type IBrokerSearchConditions = IUnderNameSearchConditions;
|
|
335
335
|
/**
|
|
336
336
|
* 予約チケット検索条件
|
|
337
337
|
*/
|
package/lib/seller.d.ts
CHANGED
|
@@ -8,10 +8,10 @@ import { IPropertyValue } from './propertyValue';
|
|
|
8
8
|
import { IQuantitativeValue } from './quantitativeValue';
|
|
9
9
|
import { SortType } from './sortType';
|
|
10
10
|
import { UnitCode } from './unitCode';
|
|
11
|
-
export
|
|
11
|
+
export type ISellerMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'itemCondition' | 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'url' | 'applicablePaymentMethod'> & {
|
|
12
12
|
restockingFee: IRestockingFee;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type IHasMerchantReturnPolicy = ISellerMerchantReturnPolicy[];
|
|
15
15
|
/**
|
|
16
16
|
* 利用可能決済
|
|
17
17
|
*/
|
|
@@ -21,8 +21,8 @@ export interface IPaymentAccepted {
|
|
|
21
21
|
*/
|
|
22
22
|
paymentMethodType: string;
|
|
23
23
|
}
|
|
24
|
-
export
|
|
25
|
-
export
|
|
24
|
+
export type IEligibleTransactionDuration = Pick<IQuantitativeValue<UnitCode.Sec>, 'maxValue' | 'typeOf' | 'unitCode'>;
|
|
25
|
+
export type IMakesOffer = Pick<IOffer, 'typeOf' | 'availableAtOrFrom'> & {
|
|
26
26
|
/**
|
|
27
27
|
* 適用取引期間
|
|
28
28
|
*/
|
|
@@ -53,7 +53,7 @@ export interface IProvider extends Pick<ISeller, 'name' | 'typeOf'> {
|
|
|
53
53
|
*/
|
|
54
54
|
credentials?: IProviderCredentials;
|
|
55
55
|
}
|
|
56
|
-
export
|
|
56
|
+
export type IAvailableChannel = IProductAvailableChannel & {
|
|
57
57
|
onPaymentStatusChanged?: IOnPaymentStatusChanged;
|
|
58
58
|
totalPaymentDue?: {
|
|
59
59
|
maxValue?: number;
|
|
@@ -83,14 +83,14 @@ export interface IInvoiceAsServiceOutput extends Pick<IInvoice, 'paymentStatus'
|
|
|
83
83
|
/**
|
|
84
84
|
* 出力されるメンバーシップ
|
|
85
85
|
*/
|
|
86
|
-
export
|
|
86
|
+
export type IPermitAsServiceOutput = Pick<IPermit, 'typeOf'> & {
|
|
87
87
|
/**
|
|
88
88
|
* メンバーシップサービス
|
|
89
89
|
* メンバーシップ区分が含まれる
|
|
90
90
|
*/
|
|
91
91
|
issuedThrough: Pick<IIssuedThrough, 'serviceType'>;
|
|
92
92
|
};
|
|
93
|
-
export
|
|
93
|
+
export type IServiceOutput = IInvoiceAsServiceOutput | IPermitAsServiceOutput;
|
|
94
94
|
/**
|
|
95
95
|
* 決済サービス
|
|
96
96
|
* {@link https://schema.org/Service}
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IConfirmMoneyTransferActionAttributes } from '../action/
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IConfirmMoneyTransferActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ConfirmMoneyTransfer;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* 通貨転送確定タスク
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IConfirmPayActionAttributes, IPurpose as IConfirmPayPurp
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IPurpose = IConfirmPayPurpose & {
|
|
6
6
|
confirmationNumber: string;
|
|
7
7
|
};
|
|
8
8
|
export interface IData extends IConfirmPayActionAttributes {
|
|
@@ -20,4 +20,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
20
20
|
/**
|
|
21
21
|
* 決済資産取引確定タスク
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IConfirmRegisterServiceActionAttributes } from '../actio
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IConfirmRegisterServiceActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ConfirmRegisterService;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* サービス登録確定タスク
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IConfirmRegisterServiceActionAttributes } from '../actio
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IConfirmRegisterServiceActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ConfirmRegisterServiceTransaction;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* サービス登録資産取引確定タスク
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -3,7 +3,7 @@ import { IExtendId } from '../autoGenerated';
|
|
|
3
3
|
import * as WebAPIFactory from '../service/webAPI';
|
|
4
4
|
import * as TaskFactory from '../task';
|
|
5
5
|
import { TaskName } from '../taskName';
|
|
6
|
-
export
|
|
6
|
+
export type IData = IConfirmReservationActionAttributes<WebAPIFactory.Identifier>;
|
|
7
7
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
8
8
|
name: TaskName.ConfirmReserveTransaction;
|
|
9
9
|
data: IData;
|
|
@@ -11,4 +11,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
11
11
|
/**
|
|
12
12
|
* 予約資産取引確定タスク
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type ITask = IExtendId<IAttributes>;
|