@chevre/factory 4.259.0-alpha.6 → 4.259.0-alpha.7
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/authorize/offer/product.d.ts +2 -2
- package/lib/factory/action/authorize/offer/seatReservation.d.ts +5 -5
- package/lib/factory/action/consume/use/reservation.d.ts +2 -1
- package/lib/factory/action/interact/confirm/pay.d.ts +1 -2
- package/lib/factory/action/trade/pay.d.ts +1 -1
- package/lib/factory/action/trade/refund.d.ts +1 -1
- package/lib/factory/categoryCode.d.ts +4 -1
- package/lib/factory/event/screeningEventSeries.d.ts +29 -32
- package/lib/factory/event.d.ts +1 -4
- package/lib/factory/iam.d.ts +7 -2
- package/lib/factory/invoice.d.ts +1 -1
- package/lib/factory/offer.d.ts +4 -3
- package/lib/factory/ownershipInfo.d.ts +1 -1
- package/lib/factory/permit.d.ts +0 -2
- package/lib/factory/place/movieTheater.d.ts +5 -2
- package/lib/factory/place.d.ts +0 -1
- package/lib/factory/priceSpecification.d.ts +9 -1
- package/lib/factory/seller.d.ts +1 -1
- package/package.json +1 -1
|
@@ -32,8 +32,8 @@ export interface IResult {
|
|
|
32
32
|
price: number;
|
|
33
33
|
priceCurrency: PriceCurrency;
|
|
34
34
|
acceptedOffers: IResultAcceptedOffer;
|
|
35
|
-
requestBody
|
|
36
|
-
responseBody:
|
|
35
|
+
requestBody: RegisterServiceTransactionFactory.IStartParamsWithoutDetail;
|
|
36
|
+
responseBody: RegisterServiceTransactionFactory.ITransaction;
|
|
37
37
|
}
|
|
38
38
|
export interface IPurpose {
|
|
39
39
|
typeOf: TransactionType.PlaceOrder;
|
|
@@ -17,7 +17,7 @@ export declare enum ObjectType {
|
|
|
17
17
|
SeatReservation = "SeatReservation"
|
|
18
18
|
}
|
|
19
19
|
export declare type IInstrument<T extends WebAPIFactory.Identifier> = WebAPIFactory.IService<T>;
|
|
20
|
-
export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs :
|
|
20
|
+
export declare type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : T extends WebAPIFactory.Identifier.Chevre ? ReserveTransactionFactory.IStartParamsWithoutDetail : never;
|
|
21
21
|
export declare type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : T extends WebAPIFactory.Identifier.Chevre ? ReserveTransactionFactory.ITransaction : ReserveTransactionFactory.ITransaction;
|
|
22
22
|
export declare type IResultAcceptedOffer = OrderFactory.IAcceptedOffer<OrderFactory.IReservation>;
|
|
23
23
|
/**
|
|
@@ -41,7 +41,7 @@ export interface IResult<T extends WebAPIFactory.Identifier> {
|
|
|
41
41
|
/**
|
|
42
42
|
* 外部サービスへのリクエスト
|
|
43
43
|
*/
|
|
44
|
-
requestBody
|
|
44
|
+
requestBody: IRequestBody<T>;
|
|
45
45
|
/**
|
|
46
46
|
* 外部サービスからのレスポンス
|
|
47
47
|
*/
|
|
@@ -72,9 +72,9 @@ export interface IObjectWithoutDetail4COA {
|
|
|
72
72
|
id: string;
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
|
-
export declare type IAcceptedOffer<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOffer4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOffer4chevre :
|
|
76
|
-
export declare type IAcceptedOfferWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOfferWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOfferWithoutDetail4chevre :
|
|
77
|
-
export declare type IObjectWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObjectWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IObjectWithoutDetail4chevre :
|
|
75
|
+
export declare type IAcceptedOffer<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOffer4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOffer4chevre : never;
|
|
76
|
+
export declare type IAcceptedOfferWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOfferWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOfferWithoutDetail4chevre : never;
|
|
77
|
+
export declare type IObjectWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObjectWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IObjectWithoutDetail4chevre : never;
|
|
78
78
|
export interface IPendingTransaction {
|
|
79
79
|
typeOf: AssetTransactionType.Reserve;
|
|
80
80
|
transactionNumber: string;
|
|
@@ -4,7 +4,8 @@ import { IReservation } from '../../../reservation/event';
|
|
|
4
4
|
import * as UseActionFactory from '../use';
|
|
5
5
|
export declare type IAgent = IParticipantAsPerson | IParticipantAsWebApplication;
|
|
6
6
|
export declare type IObject = IReservation[];
|
|
7
|
-
export
|
|
7
|
+
export interface IResult {
|
|
8
|
+
}
|
|
8
9
|
export interface ILocation {
|
|
9
10
|
typeOf: PlaceType.Place;
|
|
10
11
|
/**
|
|
@@ -96,7 +96,7 @@ export interface IPaymentService {
|
|
|
96
96
|
serviceOutput?: IPaymentServiceOutput;
|
|
97
97
|
}
|
|
98
98
|
export declare type IObject = IPaymentService[];
|
|
99
|
-
export declare type IInformPayment = IInformActionAttributes<
|
|
99
|
+
export declare type IInformPayment = IInformActionAttributes<{}, undefined>;
|
|
100
100
|
export interface IPotentialActions {
|
|
101
101
|
informPayment?: IInformPayment[];
|
|
102
102
|
}
|
|
@@ -9,7 +9,7 @@ export declare type IPaymentService = IPaymentServiceOnPay & {
|
|
|
9
9
|
};
|
|
10
10
|
export declare type IObject = IPaymentService[];
|
|
11
11
|
export declare type IResult = any;
|
|
12
|
-
export declare type IInformPayment = IInformActionAttributes<
|
|
12
|
+
export declare type IInformPayment = IInformActionAttributes<{}, undefined>;
|
|
13
13
|
export interface IPotentialActions {
|
|
14
14
|
informPayment?: IInformPayment[];
|
|
15
15
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IProject } from './project';
|
|
2
2
|
import { IPropertyValue } from './propertyValue';
|
|
3
|
+
import { SortType } from './sortType';
|
|
3
4
|
import { IThing } from './thing';
|
|
4
5
|
export declare enum CategorySetIdentifier {
|
|
5
6
|
/**
|
|
@@ -77,7 +78,9 @@ export interface ICategoryCode extends IThing {
|
|
|
77
78
|
export interface ISearchConditions {
|
|
78
79
|
limit?: number;
|
|
79
80
|
page?: number;
|
|
80
|
-
sort?:
|
|
81
|
+
sort?: {
|
|
82
|
+
codeValue?: SortType;
|
|
83
|
+
};
|
|
81
84
|
project?: {
|
|
82
85
|
id?: {
|
|
83
86
|
$eq?: string;
|
|
@@ -32,7 +32,7 @@ export interface ISoundFormat {
|
|
|
32
32
|
*/
|
|
33
33
|
export declare type IWorkPerformed = Pick<IMovie, 'project' | 'typeOf' | 'id' | 'identifier' | 'name' | 'duration' | 'contentRating'>;
|
|
34
34
|
export interface IOrganizer {
|
|
35
|
-
typeOf: OrganizationType;
|
|
35
|
+
typeOf: OrganizationType.Corporation;
|
|
36
36
|
identifier: string;
|
|
37
37
|
name: IMultilingualString;
|
|
38
38
|
}
|
|
@@ -66,7 +66,27 @@ export interface ICOAInfo {
|
|
|
66
66
|
*/
|
|
67
67
|
dateMvtkBegin: string;
|
|
68
68
|
}
|
|
69
|
-
export interface
|
|
69
|
+
export interface ILocation {
|
|
70
|
+
project: IProject;
|
|
71
|
+
typeOf: PlaceType.MovieTheater;
|
|
72
|
+
/**
|
|
73
|
+
* 施設ID
|
|
74
|
+
*/
|
|
75
|
+
id: string;
|
|
76
|
+
/**
|
|
77
|
+
* コード
|
|
78
|
+
*/
|
|
79
|
+
branchCode: string;
|
|
80
|
+
/**
|
|
81
|
+
* 名称
|
|
82
|
+
*/
|
|
83
|
+
name?: IMultilingualString;
|
|
84
|
+
/**
|
|
85
|
+
* カナ名称
|
|
86
|
+
*/
|
|
87
|
+
kanaName?: string;
|
|
88
|
+
}
|
|
89
|
+
export interface IAttributes extends Omit<EventFactory.IAttributes<EventType.ScreeningEventSeries>, 'alternateName' | 'doorTime' | 'hasOfferCatalog' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity'> {
|
|
70
90
|
/**
|
|
71
91
|
* 字幕利用可能言語
|
|
72
92
|
*/
|
|
@@ -88,47 +108,25 @@ export interface IEventSeriesAttributes extends EventFactory.IAttributes<EventTy
|
|
|
88
108
|
*/
|
|
89
109
|
workPerformed: IWorkPerformed;
|
|
90
110
|
/**
|
|
91
|
-
*
|
|
111
|
+
* 施設
|
|
92
112
|
*/
|
|
93
|
-
location:
|
|
94
|
-
project: IProject;
|
|
95
|
-
typeOf: PlaceType.MovieTheater;
|
|
96
|
-
/**
|
|
97
|
-
* 場所ID
|
|
98
|
-
*/
|
|
99
|
-
id: string;
|
|
100
|
-
/**
|
|
101
|
-
* 施設コード
|
|
102
|
-
*/
|
|
103
|
-
branchCode: string;
|
|
104
|
-
/**
|
|
105
|
-
* 場所名称
|
|
106
|
-
*/
|
|
107
|
-
name?: IMultilingualString;
|
|
108
|
-
/**
|
|
109
|
-
* 場所名称(カナ)
|
|
110
|
-
*/
|
|
111
|
-
kanaName?: string;
|
|
112
|
-
alternateName?: IMultilingualString;
|
|
113
|
-
description?: IMultilingualString;
|
|
114
|
-
address?: IMultilingualString;
|
|
115
|
-
};
|
|
113
|
+
location: ILocation;
|
|
116
114
|
organizer?: IOrganizer;
|
|
117
115
|
/**
|
|
118
|
-
*
|
|
116
|
+
* カナ名称
|
|
119
117
|
*/
|
|
120
118
|
kanaName: string;
|
|
121
119
|
/**
|
|
122
|
-
*
|
|
120
|
+
* 名称
|
|
123
121
|
*/
|
|
124
122
|
name: IMultilingualString;
|
|
125
123
|
/**
|
|
126
|
-
*
|
|
124
|
+
* 終了日時
|
|
127
125
|
* ISO 8601 date format
|
|
128
126
|
*/
|
|
129
127
|
endDate?: Date;
|
|
130
128
|
/**
|
|
131
|
-
*
|
|
129
|
+
* 開始日時
|
|
132
130
|
* ISO 8601 date format
|
|
133
131
|
*/
|
|
134
132
|
startDate?: Date;
|
|
@@ -142,7 +140,6 @@ export interface IEventSeriesAttributes extends EventFactory.IAttributes<EventTy
|
|
|
142
140
|
*/
|
|
143
141
|
coaInfo?: ICOAInfo;
|
|
144
142
|
}
|
|
145
|
-
export declare type IAttributes = Omit<IEventSeriesAttributes, 'hasOfferCatalog' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity'>;
|
|
146
143
|
/**
|
|
147
144
|
* 施設コンテンツ
|
|
148
145
|
*/
|
|
@@ -170,7 +167,7 @@ export interface ISearchConditions extends EventFactory.ISearchConditions<EventT
|
|
|
170
167
|
};
|
|
171
168
|
workPerformed?: {
|
|
172
169
|
/**
|
|
173
|
-
*
|
|
170
|
+
* コンテンツコード
|
|
174
171
|
*/
|
|
175
172
|
identifiers?: string[];
|
|
176
173
|
};
|
package/lib/factory/event.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface IAttributes<T extends EventType> {
|
|
|
21
21
|
/**
|
|
22
22
|
* イベント識別子
|
|
23
23
|
*/
|
|
24
|
-
identifier?:
|
|
24
|
+
identifier?: string;
|
|
25
25
|
/**
|
|
26
26
|
* イベント名称
|
|
27
27
|
*/
|
|
@@ -95,9 +95,6 @@ export declare type IEvent<T extends IAttributes<EventType>> = T & {
|
|
|
95
95
|
* ソート条件インターフェース
|
|
96
96
|
*/
|
|
97
97
|
export interface ISortOrder {
|
|
98
|
-
name?: string;
|
|
99
|
-
doorTime?: SortType;
|
|
100
|
-
endDate?: SortType;
|
|
101
98
|
startDate?: SortType;
|
|
102
99
|
}
|
|
103
100
|
export interface ISearchConditions<T extends EventType> {
|
package/lib/factory/iam.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CreativeWorkType } from './creativeWorkType';
|
|
2
2
|
import { OrganizationType } from './organizationType';
|
|
3
3
|
import { PersonType } from './personType';
|
|
4
|
+
import { SortType } from './sortType';
|
|
4
5
|
export declare enum RoleType {
|
|
5
6
|
OrganizationRole = "OrganizationRole"
|
|
6
7
|
}
|
|
@@ -19,7 +20,9 @@ export interface IRole {
|
|
|
19
20
|
export interface IRoleSearchConditions {
|
|
20
21
|
limit?: number;
|
|
21
22
|
page?: number;
|
|
22
|
-
sort?:
|
|
23
|
+
sort?: {
|
|
24
|
+
roleName?: SortType;
|
|
25
|
+
};
|
|
23
26
|
roleName?: {
|
|
24
27
|
$eq?: string;
|
|
25
28
|
$in?: string[];
|
|
@@ -49,7 +52,9 @@ export interface IMember {
|
|
|
49
52
|
export interface ISearchConditions {
|
|
50
53
|
limit?: number;
|
|
51
54
|
page?: number;
|
|
52
|
-
sort?:
|
|
55
|
+
sort?: {
|
|
56
|
+
'member.id'?: SortType;
|
|
57
|
+
};
|
|
53
58
|
id?: {
|
|
54
59
|
$eq?: string;
|
|
55
60
|
};
|
package/lib/factory/invoice.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { PaymentServiceType } from './service/paymentService';
|
|
|
7
7
|
export declare type IBroker = SellerFactory.ISeller | PersonFactory.IPerson;
|
|
8
8
|
export declare type IProvider = SellerFactory.ISeller | PersonFactory.IPerson;
|
|
9
9
|
export interface IReferenceOrder extends OrderFactory.IOrder {
|
|
10
|
-
acceptedOffers: OrderFactory.IAcceptedOffer<
|
|
10
|
+
acceptedOffers: OrderFactory.IAcceptedOffer<OrderFactory.IItemOffered>[];
|
|
11
11
|
}
|
|
12
12
|
export interface IMovieTicketAsPaymentServiceOutput {
|
|
13
13
|
/**
|
package/lib/factory/offer.d.ts
CHANGED
|
@@ -27,7 +27,6 @@ export interface ICategory {
|
|
|
27
27
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
28
28
|
id?: string;
|
|
29
29
|
codeValue?: string;
|
|
30
|
-
name?: any;
|
|
31
30
|
}
|
|
32
31
|
/**
|
|
33
32
|
* アドオンインターフェース
|
|
@@ -71,6 +70,9 @@ export declare type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy,
|
|
|
71
70
|
identifier: string;
|
|
72
71
|
})[];
|
|
73
72
|
export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder };
|
|
73
|
+
export interface IAvailableAtOrFrom {
|
|
74
|
+
id: string;
|
|
75
|
+
}
|
|
74
76
|
/**
|
|
75
77
|
* offer interface
|
|
76
78
|
* An offer to transfer some rights to an item or to provide a service
|
|
@@ -106,7 +108,7 @@ export interface IOffer extends IThing {
|
|
|
106
108
|
/**
|
|
107
109
|
* The place(s) from which the offer can be obtained (e.g. store locations).
|
|
108
110
|
*/
|
|
109
|
-
availableAtOrFrom?:
|
|
111
|
+
availableAtOrFrom?: IAvailableAtOrFrom[];
|
|
110
112
|
/**
|
|
111
113
|
* A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.
|
|
112
114
|
*/
|
|
@@ -149,7 +151,6 @@ export interface IOffer extends IThing {
|
|
|
149
151
|
* The item being offered.
|
|
150
152
|
*/
|
|
151
153
|
itemOffered?: any;
|
|
152
|
-
offeredBy?: any;
|
|
153
154
|
/**
|
|
154
155
|
* オファー供給サービス
|
|
155
156
|
*/
|
package/lib/factory/permit.d.ts
CHANGED
|
@@ -34,7 +34,6 @@ export interface IPermit extends IThing {
|
|
|
34
34
|
/**
|
|
35
35
|
* The target audience for this permit.
|
|
36
36
|
*/
|
|
37
|
-
permitAudience?: any;
|
|
38
37
|
/**
|
|
39
38
|
* The duration of validity of a permit or similar thing.
|
|
40
39
|
*/
|
|
@@ -46,7 +45,6 @@ export interface IPermit extends IThing {
|
|
|
46
45
|
/**
|
|
47
46
|
* The geographic area where a permit or similar thing is valid.
|
|
48
47
|
*/
|
|
49
|
-
validIn?: any;
|
|
50
48
|
/**
|
|
51
49
|
* The date when the item is no longer valid.
|
|
52
50
|
*/
|
|
@@ -4,6 +4,7 @@ import * as PlaceFactory from '../place';
|
|
|
4
4
|
import { PlaceType } from '../placeType';
|
|
5
5
|
import { IQuantitativeValue } from '../quantitativeValue';
|
|
6
6
|
import { ISeller } from '../seller';
|
|
7
|
+
import { SortType } from '../sortType';
|
|
7
8
|
import { UnitCode } from '../unitCode';
|
|
8
9
|
import { IPlace as IScreeningRoom } from './screeningRoom';
|
|
9
10
|
/**
|
|
@@ -75,7 +76,7 @@ export interface IPlaceWithoutScreeningRoom extends PlaceFactory.IPlace {
|
|
|
75
76
|
*/
|
|
76
77
|
name: IMultilingualString;
|
|
77
78
|
/**
|
|
78
|
-
*
|
|
79
|
+
* カナ名称
|
|
79
80
|
*/
|
|
80
81
|
kanaName: string;
|
|
81
82
|
/**
|
|
@@ -103,7 +104,9 @@ export declare type IPlace = IPlaceWithoutScreeningRoom & {
|
|
|
103
104
|
/**
|
|
104
105
|
* ソート条件インターフェース
|
|
105
106
|
*/
|
|
106
|
-
export
|
|
107
|
+
export interface ISortOrder {
|
|
108
|
+
branchCode?: SortType;
|
|
109
|
+
}
|
|
107
110
|
export interface ISearchConditions {
|
|
108
111
|
limit?: number;
|
|
109
112
|
page?: number;
|
package/lib/factory/place.d.ts
CHANGED
|
@@ -77,7 +77,15 @@ export interface ISearchConditions<T extends PriceSpecificationType> {
|
|
|
77
77
|
ids?: string[];
|
|
78
78
|
typeOf?: T;
|
|
79
79
|
appliesToCategoryCode?: {
|
|
80
|
-
$elemMatch?:
|
|
80
|
+
$elemMatch?: {
|
|
81
|
+
codeValue?: {
|
|
82
|
+
$eq?: string;
|
|
83
|
+
$in?: string[];
|
|
84
|
+
};
|
|
85
|
+
'inCodeSet.identifier'?: {
|
|
86
|
+
$eq?: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
81
89
|
codeValue?: {
|
|
82
90
|
$eq?: string;
|
|
83
91
|
$in?: string[];
|
package/lib/factory/seller.d.ts
CHANGED