@chevre/factory 4.329.0-alpha.9 → 4.330.0-alpha.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.
|
@@ -113,10 +113,15 @@ export interface IObjectWithoutDetail4COA {
|
|
|
113
113
|
export declare type IAcceptedOffer<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOffer4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOffer4chevre : never;
|
|
114
114
|
export declare type IAcceptedOfferWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOfferWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOfferWithoutDetail4chevre : never;
|
|
115
115
|
export declare type IObjectWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObjectWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IObjectWithoutDetail4chevre : never;
|
|
116
|
-
export
|
|
117
|
-
|
|
116
|
+
export declare type ICOAPendingTransaction = Pick<COA.factory.reserve.IDelTmpReserveArgs, 'theaterCode' | 'dateJouei' | 'titleCode' | 'titleBranchNum' | 'timeBegin' | 'tmpReserveNum'> & {
|
|
117
|
+
transactionNumber: string;
|
|
118
|
+
typeOf: 'COAReserveTransaction';
|
|
119
|
+
};
|
|
120
|
+
export interface IChevrePendingTransaction {
|
|
118
121
|
transactionNumber: string;
|
|
122
|
+
typeOf: AssetTransactionType.Reserve;
|
|
119
123
|
}
|
|
124
|
+
export declare type IPendingTransaction<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? ICOAPendingTransaction : T extends WebAPIFactory.Identifier.Chevre ? IChevrePendingTransaction : never;
|
|
120
125
|
export declare type IEvent = Pick<ScreeningEventFactory.IEvent, 'id' | 'typeOf'> & {
|
|
121
126
|
offers: {
|
|
122
127
|
offeredThrough: ScreeningEventFactory.IOfferedThrough;
|
|
@@ -130,9 +135,9 @@ export declare type IObject<T extends WebAPIFactory.Identifier> = {
|
|
|
130
135
|
event?: IEvent;
|
|
131
136
|
acceptedOffer: IAcceptedOffer<T>[];
|
|
132
137
|
/**
|
|
133
|
-
*
|
|
138
|
+
* 進行中取引
|
|
134
139
|
*/
|
|
135
|
-
pendingTransaction?: IPendingTransaction
|
|
140
|
+
pendingTransaction?: IPendingTransaction<T>;
|
|
136
141
|
} & Omit<IObjectWithoutDetail<T>, 'acceptedOffer' | 'reservationFor'>;
|
|
137
142
|
export interface IPurpose {
|
|
138
143
|
typeOf: TransactionType.PlaceOrder;
|
|
@@ -151,6 +156,6 @@ export interface IAttributes<T extends WebAPIFactory.Identifier> extends Authori
|
|
|
151
156
|
instrument: IInstrument<T>;
|
|
152
157
|
}
|
|
153
158
|
/**
|
|
154
|
-
*
|
|
159
|
+
* 興行オファー承認アクション
|
|
155
160
|
*/
|
|
156
161
|
export declare type IAction<T extends WebAPIFactory.Identifier> = ActionFactory.IAction<IAttributes<T>>;
|
package/lib/offer.d.ts
CHANGED
package/lib/offerCatalog.d.ts
CHANGED
|
@@ -1,29 +1,59 @@
|
|
|
1
1
|
import { IMultilingualString } from './multilingualString';
|
|
2
2
|
import { OfferType } from './offerType';
|
|
3
|
+
import { IAppliesToMovieTicket } from './priceSpecification/unitPriceSpecification';
|
|
3
4
|
import { ProductType } from './product';
|
|
4
5
|
import { IProject } from './project';
|
|
5
6
|
import { IPropertyValue } from './propertyValue';
|
|
6
7
|
import { SortType } from './sortType';
|
|
7
8
|
import { IThing } from './thing';
|
|
9
|
+
export declare type OfferCatalogType = 'OfferCatalog';
|
|
8
10
|
export interface IItemOffered {
|
|
9
11
|
typeOf: ProductType;
|
|
10
12
|
}
|
|
11
|
-
|
|
13
|
+
/**
|
|
14
|
+
* カタログのアイテムリスト
|
|
15
|
+
*/
|
|
16
|
+
export interface IItemListElementAsOfferCatalog {
|
|
17
|
+
typeOf: OfferCatalogType;
|
|
18
|
+
/**
|
|
19
|
+
* サブカタログID
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* サブカタログのアイテムリスト
|
|
25
|
+
*/
|
|
26
|
+
export interface IItemListElementAsAggregateOffer {
|
|
12
27
|
typeOf: OfferType.Offer;
|
|
28
|
+
/**
|
|
29
|
+
* 集計オファーID
|
|
30
|
+
*/
|
|
13
31
|
id: string;
|
|
14
32
|
}
|
|
33
|
+
export declare type IItemListElement = IItemListElementAsOfferCatalog | IItemListElementAsAggregateOffer;
|
|
34
|
+
export interface IReletedOfferPriceSpecification {
|
|
35
|
+
appliesToMovieTicket?: Pick<IAppliesToMovieTicket, 'serviceOutput'>[];
|
|
36
|
+
}
|
|
37
|
+
export interface IRelatedOffer {
|
|
38
|
+
typeOf: OfferType.Offer;
|
|
39
|
+
priceSpecification?: IReletedOfferPriceSpecification;
|
|
40
|
+
}
|
|
15
41
|
/**
|
|
16
42
|
* オファーカタログ
|
|
17
43
|
*/
|
|
18
44
|
export interface IOfferCatalog extends Pick<IThing, 'name' | 'description' | 'alternateName'> {
|
|
19
45
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
20
|
-
typeOf:
|
|
46
|
+
typeOf: OfferCatalogType;
|
|
21
47
|
id?: string;
|
|
22
48
|
identifier: string;
|
|
23
49
|
name: IMultilingualString;
|
|
24
50
|
itemListElement: IItemListElement[];
|
|
25
51
|
itemOffered: IItemOffered;
|
|
26
52
|
additionalProperty?: IPropertyValue<string>[];
|
|
53
|
+
/**
|
|
54
|
+
* 関連オファー
|
|
55
|
+
*/
|
|
56
|
+
relatedOffer?: IRelatedOffer;
|
|
27
57
|
}
|
|
28
58
|
/**
|
|
29
59
|
* ソート条件
|
|
@@ -61,6 +91,9 @@ export interface ISearchConditions {
|
|
|
61
91
|
$in?: string[];
|
|
62
92
|
$nin?: string[];
|
|
63
93
|
};
|
|
94
|
+
typeOf?: {
|
|
95
|
+
$eq?: string;
|
|
96
|
+
};
|
|
64
97
|
};
|
|
65
98
|
itemOffered?: {
|
|
66
99
|
typeOf?: {
|
package/lib/order.d.ts
CHANGED
|
@@ -412,7 +412,6 @@ export interface IReservationForSearchConditions {
|
|
|
412
412
|
};
|
|
413
413
|
}
|
|
414
414
|
export interface ISellerSearchConditions {
|
|
415
|
-
typeOf?: string;
|
|
416
415
|
/**
|
|
417
416
|
* 販売者IDリスト
|
|
418
417
|
*/
|
|
@@ -477,6 +476,7 @@ export interface IPaymentMethodsSearchConditions {
|
|
|
477
476
|
};
|
|
478
477
|
/**
|
|
479
478
|
* 決済方法区分コード
|
|
479
|
+
* @deprecated Use paymentMethod.identifier
|
|
480
480
|
*/
|
|
481
481
|
typeOfs?: string[];
|
|
482
482
|
/**
|
|
@@ -484,6 +484,14 @@ export interface IPaymentMethodsSearchConditions {
|
|
|
484
484
|
* 決済代行オーダーIDなど
|
|
485
485
|
*/
|
|
486
486
|
paymentMethodIds?: string[];
|
|
487
|
+
paymentMethod?: {
|
|
488
|
+
/**
|
|
489
|
+
* 決済方法区分コード
|
|
490
|
+
*/
|
|
491
|
+
identifier?: {
|
|
492
|
+
$in?: string[];
|
|
493
|
+
};
|
|
494
|
+
};
|
|
487
495
|
}
|
|
488
496
|
export interface IAcceptedOffersSearchConditions {
|
|
489
497
|
itemOffered?: {
|
|
@@ -15,10 +15,6 @@ export interface IAccounting {
|
|
|
15
15
|
* 営業収益
|
|
16
16
|
*/
|
|
17
17
|
operatingRevenue?: IAccountTitle;
|
|
18
|
-
/**
|
|
19
|
-
* 営業外収益
|
|
20
|
-
* 廃止(2022-10-31~)
|
|
21
|
-
*/
|
|
22
18
|
/**
|
|
23
19
|
* 売上金額
|
|
24
20
|
*/
|
|
@@ -34,6 +30,9 @@ export interface IPriceSpecification<T extends PriceSpecificationType> {
|
|
|
34
30
|
id?: string;
|
|
35
31
|
typeOf: T;
|
|
36
32
|
name?: string | IMultilingualString;
|
|
33
|
+
/**
|
|
34
|
+
* 適用数量
|
|
35
|
+
*/
|
|
37
36
|
eligibleQuantity?: IEligibleQuantity;
|
|
38
37
|
eligibleTransactionVolume?: IEligibleTransactionVolume;
|
|
39
38
|
/**
|
package/lib/unitPriceOffer.d.ts
CHANGED
|
@@ -243,4 +243,20 @@ export interface ISearchConditions {
|
|
|
243
243
|
* 有効期間設定がない、あるいは、有効期間内
|
|
244
244
|
*/
|
|
245
245
|
onlyValid?: boolean;
|
|
246
|
+
parentOffer?: {
|
|
247
|
+
/**
|
|
248
|
+
* 集計オファーID
|
|
249
|
+
*/
|
|
250
|
+
id?: {
|
|
251
|
+
$in?: string[];
|
|
252
|
+
};
|
|
253
|
+
};
|
|
254
|
+
includedInDataCatalog?: {
|
|
255
|
+
/**
|
|
256
|
+
* 記載カタログID
|
|
257
|
+
*/
|
|
258
|
+
id?: {
|
|
259
|
+
$in?: string[];
|
|
260
|
+
};
|
|
261
|
+
};
|
|
246
262
|
}
|