@chevre/factory 4.281.0-alpha.6 → 4.281.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/lib/event/anyEvent.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export interface IItemOffered {
|
|
|
106
106
|
/**
|
|
107
107
|
* サービスアウトプット
|
|
108
108
|
*/
|
|
109
|
-
serviceOutput
|
|
109
|
+
serviceOutput: IServiceOutput;
|
|
110
110
|
typeOf: ProductType.Transportation;
|
|
111
111
|
availableChannel: ReservationFactory.IServiceChannel;
|
|
112
112
|
}
|
|
@@ -119,8 +119,11 @@ export interface ISellerMakesOffer extends Pick<OfferFactory.IOffer, 'typeOf' |
|
|
|
119
119
|
}
|
|
120
120
|
export interface ISeller {
|
|
121
121
|
typeOf: OrganizationType.Corporation;
|
|
122
|
+
/**
|
|
123
|
+
* 販売者ID
|
|
124
|
+
*/
|
|
122
125
|
id: string;
|
|
123
|
-
name?:
|
|
126
|
+
name?: IMultilingualString;
|
|
124
127
|
makesOffer: ISellerMakesOffer[];
|
|
125
128
|
}
|
|
126
129
|
export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
|
|
@@ -132,10 +135,12 @@ export interface IOffer {
|
|
|
132
135
|
priceCurrency: PriceCurrency.JPY;
|
|
133
136
|
/**
|
|
134
137
|
* 情報提供終了日時(オンライン取引アプリケーションの設定)
|
|
138
|
+
* @deprecated Use seller.makesOffer
|
|
135
139
|
*/
|
|
136
140
|
availabilityEnds: Date;
|
|
137
141
|
/**
|
|
138
142
|
* 情報提供開始日時(オンライン取引アプリケーションの設定)
|
|
143
|
+
* @deprecated Use seller.makesOffer
|
|
139
144
|
*/
|
|
140
145
|
availabilityStarts: Date;
|
|
141
146
|
eligibleQuantity: IEligibleQuantity;
|
|
@@ -146,10 +151,12 @@ export interface IOffer {
|
|
|
146
151
|
offeredThrough?: IOfferedThrough;
|
|
147
152
|
/**
|
|
148
153
|
* 販売可能期間from(オンライン取引アプリケーションの設定)
|
|
154
|
+
* @deprecated Use seller.makesOffer
|
|
149
155
|
*/
|
|
150
156
|
validFrom: Date;
|
|
151
157
|
/**
|
|
152
158
|
* 販売可能期間through(オンライン取引アプリケーションの設定)
|
|
159
|
+
* @deprecated Use seller.makesOffer
|
|
153
160
|
*/
|
|
154
161
|
validThrough: Date;
|
|
155
162
|
unacceptedPaymentMethod?: string[];
|
|
@@ -205,7 +212,7 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Event> {
|
|
|
205
212
|
/**
|
|
206
213
|
* 販売情報
|
|
207
214
|
*/
|
|
208
|
-
offers
|
|
215
|
+
offers: IOffer;
|
|
209
216
|
/**
|
|
210
217
|
* 発券数
|
|
211
218
|
*/
|
|
@@ -238,21 +245,27 @@ export declare type ISeller4create = Pick<ISeller, 'makesOffer'> & {
|
|
|
238
245
|
*/
|
|
239
246
|
makesOfferDefault?: Pick<ISellerMakesOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'>;
|
|
240
247
|
};
|
|
241
|
-
export
|
|
242
|
-
|
|
243
|
-
|
|
248
|
+
export interface IAvailableChannel4create {
|
|
249
|
+
serviceLocation: {
|
|
250
|
+
/**
|
|
251
|
+
* ルームコード
|
|
252
|
+
*/
|
|
253
|
+
branchCode: string;
|
|
254
|
+
containedInPlace: {
|
|
244
255
|
/**
|
|
245
|
-
*
|
|
256
|
+
* 施設ID
|
|
246
257
|
*/
|
|
247
|
-
|
|
248
|
-
containedInPlace: {
|
|
249
|
-
/**
|
|
250
|
-
* 施設ID
|
|
251
|
-
*/
|
|
252
|
-
id: string;
|
|
253
|
-
};
|
|
258
|
+
id: string;
|
|
254
259
|
};
|
|
255
260
|
};
|
|
261
|
+
}
|
|
262
|
+
export declare type IReservationFor4create = Pick<IReservationFor, 'identifier'>;
|
|
263
|
+
export declare type IServiceOutput4create = Pick<IServiceOutput, 'reservedTicket' | 'typeOf'> & {
|
|
264
|
+
reservationFor: IReservationFor4create;
|
|
265
|
+
};
|
|
266
|
+
export declare type IItemOffered4create = Pick<IItemOffered, 'id'> & {
|
|
267
|
+
availableChannel: IAvailableChannel4create;
|
|
268
|
+
serviceOutput: IServiceOutput4create;
|
|
256
269
|
};
|
|
257
270
|
export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
|
|
258
271
|
/**
|
|
@@ -64,11 +64,13 @@ export interface IOffer {
|
|
|
64
64
|
typeOf: OfferType.Offer;
|
|
65
65
|
priceCurrency: PriceCurrency.JPY;
|
|
66
66
|
/**
|
|
67
|
-
* 情報提供終了日時
|
|
67
|
+
* 情報提供終了日時(オンライン取引アプリケーションの設定)
|
|
68
|
+
* @deprecated Use seller.makesOffer
|
|
68
69
|
*/
|
|
69
70
|
availabilityEnds: Date;
|
|
70
71
|
/**
|
|
71
|
-
* 情報提供開始日時
|
|
72
|
+
* 情報提供開始日時(オンライン取引アプリケーションの設定)
|
|
73
|
+
* @deprecated Use seller.makesOffer
|
|
72
74
|
*/
|
|
73
75
|
availabilityStarts: Date;
|
|
74
76
|
eligibleQuantity: IEligibleQuantity;
|
|
@@ -78,11 +80,13 @@ export interface IOffer {
|
|
|
78
80
|
*/
|
|
79
81
|
offeredThrough?: IOfferedThrough;
|
|
80
82
|
/**
|
|
81
|
-
* 販売可能期間from
|
|
83
|
+
* 販売可能期間from(オンライン取引アプリケーションの設定)
|
|
84
|
+
* @deprecated Use seller.makesOffer
|
|
82
85
|
*/
|
|
83
86
|
validFrom: Date;
|
|
84
87
|
/**
|
|
85
|
-
* 販売可能期間through
|
|
88
|
+
* 販売可能期間through(オンライン取引アプリケーションの設定)
|
|
89
|
+
* @deprecated Use seller.makesOffer
|
|
86
90
|
*/
|
|
87
91
|
validThrough: Date;
|
|
88
92
|
unacceptedPaymentMethod?: string[];
|
|
@@ -177,7 +181,7 @@ export interface IAttributes extends Omit<AnyEventFactory.IAttributes, 'offers'
|
|
|
177
181
|
/**
|
|
178
182
|
* 販売情報
|
|
179
183
|
*/
|
|
180
|
-
offers
|
|
184
|
+
offers: IOffer | IOffer4COA;
|
|
181
185
|
/**
|
|
182
186
|
* その他COA情報
|
|
183
187
|
* 基本的にsskts対応
|
package/lib/organization.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export interface IOrganization extends Pick<IThing, 'name' | 'url'> {
|
|
|
14
14
|
legalName?: IMultilingualString;
|
|
15
15
|
location?: ILocation;
|
|
16
16
|
logo?: string;
|
|
17
|
-
parentOrganization?: IParentOrganization;
|
|
18
17
|
telephone?: string;
|
|
19
18
|
/**
|
|
20
19
|
* A property-value pair representing an additional characteristics of the entitity,
|
|
@@ -106,7 +106,7 @@ export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
|
|
|
106
106
|
/**
|
|
107
107
|
* The larger organization that this organization is a subOrganization of, if any.
|
|
108
108
|
*/
|
|
109
|
-
parentOrganization
|
|
109
|
+
parentOrganization: IParentOrganization;
|
|
110
110
|
}
|
|
111
111
|
/**
|
|
112
112
|
* 施設
|
|
@@ -9,6 +9,15 @@ export declare enum PaymentServiceType {
|
|
|
9
9
|
MovieTicket = "MovieTicket",
|
|
10
10
|
PaymentCard = "PaymentCard"
|
|
11
11
|
}
|
|
12
|
+
export interface IPaymentUrlSettings {
|
|
13
|
+
/**
|
|
14
|
+
* 外部決済URL有効時間(秒)
|
|
15
|
+
* 外部決済URL発行が必要な場合のみ
|
|
16
|
+
*/
|
|
17
|
+
expiresInSeconds: number;
|
|
18
|
+
useCallback?: boolean;
|
|
19
|
+
useWebhook?: boolean;
|
|
20
|
+
}
|
|
12
21
|
export interface IProviderCredentials {
|
|
13
22
|
/**
|
|
14
23
|
* GMOショップID
|
|
@@ -22,11 +31,7 @@ export interface IProviderCredentials {
|
|
|
22
31
|
* トークン認証コード
|
|
23
32
|
*/
|
|
24
33
|
tokenizationCode?: string;
|
|
25
|
-
|
|
26
|
-
* 外部決済URL有効時間(秒)
|
|
27
|
-
* 外部決済URL発行が必要な場合のみ
|
|
28
|
-
*/
|
|
29
|
-
paymentUrlExpiresInSeconds?: number;
|
|
34
|
+
paymentUrl?: IPaymentUrlSettings;
|
|
30
35
|
/**
|
|
31
36
|
* ムビチケ興行会社コード
|
|
32
37
|
*/
|
|
@@ -3,7 +3,7 @@ import { EventType } from '../eventType';
|
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
5
|
export interface IData {
|
|
6
|
-
typeOf: EventType.ScreeningEvent;
|
|
6
|
+
typeOf: EventType.Event | EventType.ScreeningEvent;
|
|
7
7
|
id: string;
|
|
8
8
|
}
|
|
9
9
|
export interface IAttributes extends TaskFactory.IAttributes {
|