@chevre/factory 4.207.0 → 4.208.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.
|
@@ -177,11 +177,6 @@ export interface IConfirmingReservation {
|
|
|
177
177
|
underName?: ReservationFactory.IUnderName;
|
|
178
178
|
additionalProperty?: IPropertyValue<string>[];
|
|
179
179
|
}
|
|
180
|
-
export interface IPotentialActionsParams {
|
|
181
|
-
reserve?: {
|
|
182
|
-
potentialActions?: {};
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
180
|
/**
|
|
186
181
|
* 確定パラメーターインターフェース
|
|
187
182
|
*/
|
|
@@ -190,14 +185,10 @@ export interface IConfirmParams {
|
|
|
190
185
|
transactionNumber?: string;
|
|
191
186
|
object?: {
|
|
192
187
|
/**
|
|
193
|
-
*
|
|
188
|
+
* 最終的な予約の属性を指定
|
|
194
189
|
*/
|
|
195
190
|
reservations: IConfirmingReservation[];
|
|
196
191
|
};
|
|
197
|
-
/**
|
|
198
|
-
* 予約確定後アクション
|
|
199
|
-
*/
|
|
200
|
-
potentialActions?: IPotentialActionsParams;
|
|
201
192
|
}
|
|
202
193
|
export interface IResult {
|
|
203
194
|
}
|
|
@@ -213,19 +204,14 @@ export interface IObjectWithoutDetail {
|
|
|
213
204
|
};
|
|
214
205
|
}
|
|
215
206
|
export declare type IReservationFor = IEventReservationReservationFor;
|
|
216
|
-
export
|
|
217
|
-
reservationFor: any;
|
|
218
|
-
}
|
|
219
|
-
export interface ISubReservation extends IEventReservationWithAnyReservationFor {
|
|
220
|
-
reservationFor: undefined;
|
|
221
|
-
}
|
|
207
|
+
export declare type IObjectSubReservation = Omit<IEventReservation, 'reservationFor'>;
|
|
222
208
|
/**
|
|
223
209
|
* 取引対象物インターフェース
|
|
224
210
|
*/
|
|
225
211
|
export interface IObject extends IReservationPackage {
|
|
226
212
|
acceptedOffer?: IAcceptedOffer4object[];
|
|
227
213
|
reservationFor?: IReservationFor;
|
|
228
|
-
subReservation?:
|
|
214
|
+
subReservation?: IObjectSubReservation[];
|
|
229
215
|
}
|
|
230
216
|
export interface IPotentialActions {
|
|
231
217
|
reserve: ReserveActionFactory.IAttributes[];
|
|
@@ -42,7 +42,8 @@ export declare type IGoodWithDetail = IReservationWithDetail | IPermit;
|
|
|
42
42
|
/**
|
|
43
43
|
* 所有者インターフェース
|
|
44
44
|
*/
|
|
45
|
-
export declare type IOwner =
|
|
45
|
+
export declare type IOwner = Omit<ICustomer, 'name'>;
|
|
46
|
+
export declare type IAcquiredFrom = ISeller;
|
|
46
47
|
export declare type OwnershipInfoType = 'OwnershipInfo';
|
|
47
48
|
/**
|
|
48
49
|
* 所有権インターフェース
|
|
@@ -68,7 +69,7 @@ export interface IOwnershipInfo<T extends IGood | IGoodWithDetail> {
|
|
|
68
69
|
/**
|
|
69
70
|
* The organization or person from which the product was acquired.
|
|
70
71
|
*/
|
|
71
|
-
acquiredFrom?:
|
|
72
|
+
acquiredFrom?: IAcquiredFrom;
|
|
72
73
|
/**
|
|
73
74
|
* The date and time of obtaining the product.
|
|
74
75
|
*/
|
|
@@ -181,8 +181,8 @@ export interface IReservation<T extends IPriceSpecification> extends IThing {
|
|
|
181
181
|
additionalTicketText?: string;
|
|
182
182
|
/**
|
|
183
183
|
* Who made the reservation.
|
|
184
|
+
* SupersededBy broker(2022-05-13~)
|
|
184
185
|
*/
|
|
185
|
-
bookingAgent?: any;
|
|
186
186
|
/**
|
|
187
187
|
* Date the reservation was made.
|
|
188
188
|
*/
|
package/lib/factory/seller.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IOffer } from './offer';
|
|
2
1
|
import { IOrganization } from './organization';
|
|
3
2
|
import { OrganizationType } from './organizationType';
|
|
4
3
|
import { IProject } from './project';
|
|
@@ -8,24 +7,23 @@ import { SortType } from './sortType';
|
|
|
8
7
|
* 利用可能決済インターフェース
|
|
9
8
|
*/
|
|
10
9
|
export interface IPaymentAccepted {
|
|
10
|
+
/**
|
|
11
|
+
* 決済方法区分
|
|
12
|
+
*/
|
|
11
13
|
paymentMethodType: string;
|
|
12
14
|
}
|
|
13
|
-
export declare type IMakesOffer = IOffer;
|
|
14
15
|
/**
|
|
15
16
|
* サービス提供エリアインターフェース
|
|
16
17
|
*/
|
|
17
|
-
export declare type IAreaServed = any;
|
|
18
18
|
export interface ISeller extends IOrganization {
|
|
19
19
|
project: IProject;
|
|
20
20
|
/**
|
|
21
21
|
* The geographic area where a service or offered item is provided.
|
|
22
22
|
*/
|
|
23
|
-
areaServed?: IAreaServed[];
|
|
24
23
|
branchCode?: string;
|
|
25
24
|
/**
|
|
26
25
|
* A pointer to products or services offered by the organization or person.
|
|
27
26
|
*/
|
|
28
|
-
makesOffer?: IMakesOffer[];
|
|
29
27
|
paymentAccepted?: IPaymentAccepted[];
|
|
30
28
|
typeOf: OrganizationType;
|
|
31
29
|
}
|