@chevre/factory 4.220.0 → 4.221.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/factory/action.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { ISeller } from './seller';
|
|
|
11
11
|
import { SortType } from './sortType';
|
|
12
12
|
export declare type IParticipantAsWebApplication = Omit<IWebApplication, 'additionalProperty'>;
|
|
13
13
|
export declare type IParticipantAsPerson = Omit<IPerson, 'email' | 'telephone' | 'givenName' | 'familyName' | 'additionalProperty'>;
|
|
14
|
-
export declare type IParticipantAsSeller = Omit<ISeller, 'branchCode' | 'paymentAccepted' | 'project' | 'additionalProperty'>;
|
|
14
|
+
export declare type IParticipantAsSeller = Omit<ISeller, 'branchCode' | 'paymentAccepted' | 'project' | 'additionalProperty' | 'hasMerchantReturnPolicy' | 'email' | 'telephone' | 'location'>;
|
|
15
15
|
export declare type IParticipantAsProject = Omit<IProject, 'settings' | 'subscription' | 'alternateName' | 'description' | 'additionalProperty'>;
|
|
16
16
|
export declare type IParticipantAsCustomer = Omit<ICustomer, 'name' | 'branchCode' | 'contactPoint' | 'project' | 'additionalProperty'> & {
|
|
17
17
|
name?: string | IMultilingualString;
|
package/lib/factory/order.d.ts
CHANGED
|
@@ -31,9 +31,8 @@ export interface IProject {
|
|
|
31
31
|
export declare enum OrderType {
|
|
32
32
|
Order = "Order"
|
|
33
33
|
}
|
|
34
|
-
export declare type AvailablePaymentMethodType = string;
|
|
35
34
|
/**
|
|
36
|
-
*
|
|
35
|
+
* 決済方法
|
|
37
36
|
*/
|
|
38
37
|
export interface IPaymentMethod {
|
|
39
38
|
/**
|
|
@@ -41,9 +40,9 @@ export interface IPaymentMethod {
|
|
|
41
40
|
*/
|
|
42
41
|
accountId?: string;
|
|
43
42
|
/**
|
|
44
|
-
*
|
|
43
|
+
* 決済方法区分コード
|
|
45
44
|
*/
|
|
46
|
-
typeOf:
|
|
45
|
+
typeOf: string;
|
|
47
46
|
/**
|
|
48
47
|
* 決済方法名称
|
|
49
48
|
*/
|
|
@@ -63,7 +62,7 @@ export interface IPaymentMethod {
|
|
|
63
62
|
issuedThrough: IPaymentMethodIssuedThrough;
|
|
64
63
|
}
|
|
65
64
|
/**
|
|
66
|
-
*
|
|
65
|
+
* ディスカウント
|
|
67
66
|
*/
|
|
68
67
|
export interface IDiscount {
|
|
69
68
|
/**
|
|
@@ -84,8 +83,8 @@ export interface IDiscount {
|
|
|
84
83
|
*/
|
|
85
84
|
discountCurrency: string;
|
|
86
85
|
}
|
|
87
|
-
export declare type IReservation = EventReservationFactory.IReservation
|
|
88
|
-
export declare type IPermit = PermitFactory.IPermit
|
|
86
|
+
export declare type IReservation = Omit<EventReservationFactory.IReservation, 'attended' | 'broker' | 'checkedIn' | 'modifiedTime' | 'previousReservationStatus' | 'price' | 'priceCurrency' | 'reservationStatus' | 'subReservation' | 'underName'>;
|
|
87
|
+
export declare type IPermit = Omit<PermitFactory.IPermit, 'accessCode' | 'additionalProperty' | 'depositAmount' | 'paymentAmount' | 'paymentAccount' | 'issuedBy'>;
|
|
89
88
|
export interface IMoneyTransferPendingTransaction {
|
|
90
89
|
typeOf: AssetTransactionType.MoneyTransfer;
|
|
91
90
|
/**
|
|
@@ -113,7 +112,7 @@ export interface IMoneyTransfer {
|
|
|
113
112
|
name?: string;
|
|
114
113
|
}
|
|
115
114
|
/**
|
|
116
|
-
*
|
|
115
|
+
* 注文アイテム
|
|
117
116
|
*/
|
|
118
117
|
export declare type IItemOffered = IMoneyTransfer | IReservation | IPermit;
|
|
119
118
|
export declare type IOfferOptimized4acceptedOffer = Omit<IOffer, 'addOn' | 'price' | 'availability' | 'availableAtOrFrom'>;
|
|
@@ -148,8 +147,7 @@ export interface ISeller {
|
|
|
148
147
|
};
|
|
149
148
|
id: string;
|
|
150
149
|
typeOf: OrganizationType.Corporation;
|
|
151
|
-
name
|
|
152
|
-
url?: string;
|
|
150
|
+
name: string;
|
|
153
151
|
}
|
|
154
152
|
/**
|
|
155
153
|
* ウェブアプリケーションとしてのカスタマー
|
|
@@ -236,7 +234,7 @@ export interface IOrderedItem {
|
|
|
236
234
|
orderedItem: IProduct | IEventServiceAsOrderedItem;
|
|
237
235
|
}
|
|
238
236
|
/**
|
|
239
|
-
*
|
|
237
|
+
* 注文
|
|
240
238
|
* {@link https://schema.org/Order}
|
|
241
239
|
*/
|
|
242
240
|
export interface IOrder extends ISimpleOrder {
|
|
@@ -287,13 +285,13 @@ export interface IOrder extends ISimpleOrder {
|
|
|
287
285
|
url?: string;
|
|
288
286
|
}
|
|
289
287
|
/**
|
|
290
|
-
*
|
|
288
|
+
* ソート条件
|
|
291
289
|
*/
|
|
292
290
|
export interface ISortOrder {
|
|
293
291
|
orderDate?: SortType;
|
|
294
292
|
}
|
|
295
293
|
/**
|
|
296
|
-
*
|
|
294
|
+
* 予約対象検索条件
|
|
297
295
|
*/
|
|
298
296
|
export interface IReservationForSearchConditions {
|
|
299
297
|
typeOfs?: EventType[];
|
|
@@ -407,7 +405,7 @@ export interface IPaymentMethodsSearchConditions {
|
|
|
407
405
|
/**
|
|
408
406
|
* 決済方法区分コード
|
|
409
407
|
*/
|
|
410
|
-
typeOfs?:
|
|
408
|
+
typeOfs?: string[];
|
|
411
409
|
/**
|
|
412
410
|
* 決済方法ID
|
|
413
411
|
* 決済代行オーダーIDなど
|
|
@@ -461,7 +459,7 @@ export interface IAcceptedOffersSearchConditions {
|
|
|
461
459
|
};
|
|
462
460
|
}
|
|
463
461
|
/**
|
|
464
|
-
*
|
|
462
|
+
* 注文検索条件
|
|
465
463
|
*/
|
|
466
464
|
export interface ISearchConditions {
|
|
467
465
|
limit?: number;
|
|
@@ -14,8 +14,9 @@ export declare type IWebApplicationAgent = IWebApplication & PersonFactory.IProf
|
|
|
14
14
|
export declare type IAgent = IWebApplicationAgent | PersonFactory.IPerson;
|
|
15
15
|
/**
|
|
16
16
|
* 販売者インターフェース
|
|
17
|
+
* 最適化(2022-05-20~)
|
|
17
18
|
*/
|
|
18
|
-
export declare type ISeller = SellerFactory.ISeller
|
|
19
|
+
export declare type ISeller = Omit<SellerFactory.ISeller, 'branchCode' | 'paymentAccepted' | 'additionalProperty' | 'hasMerchantReturnPolicy' | 'email' | 'telephone' | 'location' | 'url' | 'project'>;
|
|
19
20
|
/**
|
|
20
21
|
* Eメール送信パラメータ
|
|
21
22
|
*/
|