@chevre/factory 4.381.0-alpha.8 → 4.381.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/action/accept/coaOffer.d.ts +164 -7
- package/lib/action/authorize/offer/eventService.d.ts +6 -53
- package/lib/authorization.d.ts +3 -4
- package/lib/product.d.ts +0 -8
- package/lib/service/paymentService.d.ts +68 -3
- package/package.json +1 -1
- package/lib/action/authorize/offer/eventService/coa.d.ts +0 -117
- package/lib/action/authorize/offer/eventService/coa.js +0 -2
|
@@ -1,18 +1,172 @@
|
|
|
1
|
+
import type * as COA from '@motionpicture/coa-service';
|
|
1
2
|
import * as ActionFactory from '../../action';
|
|
2
|
-
import { IAcceptedOfferBeforeAuthorize4COA, IAction as IAuthorizeOfferAction, IObjectWithoutDetail, IPurpose } from '../../action/authorize/offer/eventService';
|
|
3
3
|
import { ActionType } from '../../actionType';
|
|
4
|
+
import { IAcceptedTicketOfferItemOffered, IAcceptedTicketOfferWithoutDetail as IAcceptedOfferWithoutDetail4chevre } from '../../assetTransaction/reserve';
|
|
4
5
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
6
|
+
import { IOffer } from '../../offer';
|
|
5
7
|
import { OfferType } from '../../offerType';
|
|
8
|
+
import * as OrderFactory from '../../order';
|
|
6
9
|
import { IRecipe, IUpdTmpReserveSeatArgs, IUpdTmpReserveSeatResult } from '../../recipe/acceptCOAOffer';
|
|
7
|
-
import {
|
|
10
|
+
import { TransactionType } from '../../transactionType';
|
|
8
11
|
import * as AcceptActionFactory from '../accept';
|
|
9
|
-
export
|
|
12
|
+
export interface ICOATicketInfo {
|
|
13
|
+
/**
|
|
14
|
+
* チケットコード
|
|
15
|
+
*/
|
|
16
|
+
ticketCode: string;
|
|
17
|
+
/**
|
|
18
|
+
* ムビチケ・MG計上単価
|
|
19
|
+
* ムビチケ・MGの場合、計上単価(興収報告単価)をセット
|
|
20
|
+
* (ムビチケ・MG以外は0をセット)
|
|
21
|
+
*/
|
|
22
|
+
mvtkAppPrice: number;
|
|
23
|
+
/**
|
|
24
|
+
* 枚数
|
|
25
|
+
*/
|
|
26
|
+
ticketCount: number;
|
|
27
|
+
/**
|
|
28
|
+
* メガネ単価
|
|
29
|
+
* メガネ代が別途発生した場合は、メガネ代をセット。それ以外は0をセット(ムビチケの場合も同様)
|
|
30
|
+
*/
|
|
31
|
+
addGlasses: number;
|
|
32
|
+
/**
|
|
33
|
+
* ムビチケ・MG映写方式区分
|
|
34
|
+
* ムビチケ・MG連携情報より
|
|
35
|
+
*/
|
|
36
|
+
kbnEisyahousiki: string;
|
|
37
|
+
/**
|
|
38
|
+
* ムビチケ・MG購入管理番号
|
|
39
|
+
* ムビチケ・MG連携情報より(ムビチケ・MG以外は"")
|
|
40
|
+
*/
|
|
41
|
+
mvtkNum: string;
|
|
42
|
+
/**
|
|
43
|
+
* ムビチケ・MG電子券区分
|
|
44
|
+
* ムビチケ・MG連携情報より(01:電子、02:紙)
|
|
45
|
+
* ※ムビチケ・MG以外は"00"をセット
|
|
46
|
+
* ※MGはチケット媒体区分
|
|
47
|
+
*/
|
|
48
|
+
mvtkKbnDenshiken: string;
|
|
49
|
+
/**
|
|
50
|
+
* ムビチケ・MG前売券区分
|
|
51
|
+
* ムビチケ・MG連携情報より(01:全国券、02:劇場券)
|
|
52
|
+
* ※ムビチケ・MG以外は"00"をセット
|
|
53
|
+
* ※MGはスコープ区分
|
|
54
|
+
*/
|
|
55
|
+
mvtkKbnMaeuriken: string;
|
|
56
|
+
/**
|
|
57
|
+
* ムビチケ・MG券種区分
|
|
58
|
+
* ムビチケ・MG連携情報より(01:一般2D、02:小人2D、03:一般3D、…)
|
|
59
|
+
* ※ムビチケ・MG以外は"00"をセット
|
|
60
|
+
*/
|
|
61
|
+
mvtkKbnKensyu: string;
|
|
62
|
+
/**
|
|
63
|
+
* ムビチケ・MG販売単価
|
|
64
|
+
* ムビチケ・MG連携情報より(ムビチケ・MG以外は0をセット)
|
|
65
|
+
*/
|
|
66
|
+
mvtkSalesPrice: number;
|
|
67
|
+
/**
|
|
68
|
+
* MGチケット区分
|
|
69
|
+
* MGチケットの場合は"MG"(MG以外は""をセット)
|
|
70
|
+
*/
|
|
71
|
+
kbnMgtk?: string;
|
|
72
|
+
/**
|
|
73
|
+
* ポイント割引の場合の消費ポイント
|
|
74
|
+
*/
|
|
75
|
+
usePoint?: number;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* COA券種情報
|
|
79
|
+
*/
|
|
80
|
+
export type ICOATicketInfoWithDetails = COA.factory.reserve.IUpdReserveTicket & {
|
|
81
|
+
/**
|
|
82
|
+
* チケット名
|
|
83
|
+
*/
|
|
84
|
+
ticketName: string;
|
|
85
|
+
/**
|
|
86
|
+
* チケット名(カナ)
|
|
87
|
+
*/
|
|
88
|
+
ticketNameKana: string;
|
|
89
|
+
/**
|
|
90
|
+
* チケット名(英)
|
|
91
|
+
*/
|
|
92
|
+
ticketNameEng: string;
|
|
93
|
+
/**
|
|
94
|
+
* ポイント割引の場合の消費ポイント
|
|
95
|
+
*/
|
|
96
|
+
usePoint: number;
|
|
97
|
+
/**
|
|
98
|
+
* 制限単位(001:n人単位、002:n人以上)
|
|
99
|
+
*/
|
|
100
|
+
limitUnit: string;
|
|
101
|
+
/**
|
|
102
|
+
* 人数制限
|
|
103
|
+
*/
|
|
104
|
+
limitCount: number;
|
|
105
|
+
/**
|
|
106
|
+
* 販売可能チケットのsalePrice
|
|
107
|
+
* COA予約確定時に指定するsalePriceと異なる
|
|
108
|
+
*/
|
|
109
|
+
salesTicketSalePrice: number;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* 座席予約供給情報インターフェース
|
|
113
|
+
*/
|
|
114
|
+
export interface IAcceptedCOAOffer {
|
|
115
|
+
/**
|
|
116
|
+
* seat section
|
|
117
|
+
*/
|
|
118
|
+
seatSection: string;
|
|
119
|
+
/**
|
|
120
|
+
* seat number
|
|
121
|
+
*/
|
|
122
|
+
seatNumber: string;
|
|
123
|
+
/**
|
|
124
|
+
* ticket info
|
|
125
|
+
*/
|
|
126
|
+
ticketInfo: ICOATicketInfo;
|
|
127
|
+
}
|
|
10
128
|
export interface IAppliesToSurfrock {
|
|
129
|
+
/**
|
|
130
|
+
* コード
|
|
131
|
+
*/
|
|
11
132
|
identifier: string;
|
|
12
133
|
serviceOutput: {
|
|
134
|
+
/**
|
|
135
|
+
* 決済方法区分
|
|
136
|
+
*/
|
|
13
137
|
typeOf: string;
|
|
14
138
|
};
|
|
15
139
|
}
|
|
140
|
+
export interface IPriceSpecification4COA {
|
|
141
|
+
appliesToSurfrock?: IAppliesToSurfrock;
|
|
142
|
+
}
|
|
143
|
+
export type IAcceptedOfferWithoutDetail4COA = IAcceptedCOAOffer & {
|
|
144
|
+
priceSpecification?: IPriceSpecification4COA;
|
|
145
|
+
};
|
|
146
|
+
export interface IObjectWithoutDetail4COA {
|
|
147
|
+
acceptedOffer: IAcceptedOfferWithoutDetail4COA[];
|
|
148
|
+
event: {
|
|
149
|
+
id: string;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* 受入COA興行オファー
|
|
154
|
+
*/
|
|
155
|
+
export type IAcceptedOffer4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'additionalProperty' | 'eligibleMonetaryAmount'> & {
|
|
156
|
+
itemOffered: IAcceptedTicketOfferItemOffered;
|
|
157
|
+
ticketInfo: ICOATicketInfoWithDetails;
|
|
158
|
+
/**
|
|
159
|
+
* COAイベントでは、priceSpecificationで価格を表現しきれないので、numberとしてのpriceが必要
|
|
160
|
+
*/
|
|
161
|
+
price: number;
|
|
162
|
+
priceSpecification: OrderFactory.ITicketPriceSpecification;
|
|
163
|
+
};
|
|
164
|
+
export type IAcceptedOfferBeforeAuthorize4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'itemOffered' | 'additionalProperty'> & Pick<IOffer, 'name' | 'additionalProperty'> & {
|
|
165
|
+
itemOffered: IAcceptedTicketOfferItemOffered;
|
|
166
|
+
ticketInfo: Omit<ICOATicketInfoWithDetails, 'salePrice' | 'usePoint'>;
|
|
167
|
+
priceSpecification: IPriceSpecification4COA;
|
|
168
|
+
};
|
|
169
|
+
export { IRecipe, IUpdTmpReserveSeatArgs, IUpdTmpReserveSeatResult };
|
|
16
170
|
export type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsWebApplication;
|
|
17
171
|
/**
|
|
18
172
|
* COA会員用フラグ
|
|
@@ -27,7 +181,7 @@ export declare enum FlgMember {
|
|
|
27
181
|
*/
|
|
28
182
|
Member = "1"
|
|
29
183
|
}
|
|
30
|
-
export interface IObject extends Pick<
|
|
184
|
+
export interface IObject extends Pick<IObjectWithoutDetail4COA, 'acceptedOffer' | 'event'> {
|
|
31
185
|
appliesToSurfrock: IAppliesToSurfrock;
|
|
32
186
|
flgMember: FlgMember;
|
|
33
187
|
typeOf: OfferType.AggregateOffer;
|
|
@@ -51,16 +205,19 @@ export interface IResult {
|
|
|
51
205
|
* 仮予約実行時は存在する
|
|
52
206
|
*/
|
|
53
207
|
result?: IAuthorizeCOAOfferResult;
|
|
54
|
-
typeOf:
|
|
208
|
+
typeOf: ActionType.AuthorizeAction;
|
|
209
|
+
}
|
|
210
|
+
export interface IPurpose {
|
|
211
|
+
typeOf: TransactionType.PlaceOrder;
|
|
212
|
+
id: string;
|
|
55
213
|
}
|
|
56
|
-
export { IPurpose };
|
|
57
214
|
export interface IPotentialActions {
|
|
58
215
|
/**
|
|
59
216
|
* 承認アクションID
|
|
60
217
|
* 仮予約済の場合に指定
|
|
61
218
|
*/
|
|
62
219
|
id?: string;
|
|
63
|
-
typeOf:
|
|
220
|
+
typeOf: ActionType.AuthorizeAction;
|
|
64
221
|
}
|
|
65
222
|
export interface IInstrument {
|
|
66
223
|
typeOf: AssetTransactionType.COAReserveTransaction;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type * as COA from '@motionpicture/coa-service';
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
3
|
import { ActionType } from '../../../actionType';
|
|
4
|
-
import {
|
|
4
|
+
import { IAcceptedTicketOfferWithoutDetail, IObjectWithoutDetail, IPermitIssuedThroughFaceToFace, IPermitIssuedThroughMembershipService } from '../../../assetTransaction/reserve';
|
|
5
5
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
6
6
|
import { IEvent } from '../../../event/screeningEvent';
|
|
7
|
-
import { IOffer } from '../../../offer';
|
|
8
7
|
import { OfferType } from '../../../offerType';
|
|
9
8
|
import * as OrderFactory from '../../../order';
|
|
10
9
|
import { PriceCurrency } from '../../../priceCurrency';
|
|
@@ -13,7 +12,6 @@ import { ITicketOffer } from '../../../product';
|
|
|
13
12
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
14
13
|
import { TransactionType } from '../../../transactionType';
|
|
15
14
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
16
|
-
import { IAcceptedCOAOffer, ICOATicketInfo, ICOATicketInfoWithDetails } from './eventService/coa';
|
|
17
15
|
export type IAgent = ActionFactory.IParticipantAsSeller;
|
|
18
16
|
export type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
19
17
|
export declare enum ObjectType {
|
|
@@ -35,9 +33,6 @@ export type IInstrumentAsAssetTransaction<T extends WebAPIFactory.Identifier> =
|
|
|
35
33
|
*/
|
|
36
34
|
transactionNumber: string;
|
|
37
35
|
} : never;
|
|
38
|
-
export type IRequestBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatArgs : never;
|
|
39
|
-
export type IResponseBody<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? COA.factory.reserve.IUpdTmpReserveSeatResult : never;
|
|
40
|
-
export type IResultAcceptedOffer = OrderFactory.IAcceptedOffer<OrderFactory.IReservation>;
|
|
41
36
|
export interface IAcceptedOfferInResult extends Pick<ITicketOffer, 'acceptedPaymentMethod' | 'id' | 'typeOf'> {
|
|
42
37
|
typeOf: OfferType.Offer;
|
|
43
38
|
id: string;
|
|
@@ -76,8 +71,8 @@ export interface IResult extends IResultAsAggregateOffer {
|
|
|
76
71
|
price?: number;
|
|
77
72
|
priceCurrency: PriceCurrency;
|
|
78
73
|
/**
|
|
79
|
-
*
|
|
80
|
-
* currency
|
|
74
|
+
* オファーに対して必要な通貨金額
|
|
75
|
+
* currencyを通貨区分として扱う
|
|
81
76
|
*/
|
|
82
77
|
amount: OrderFactory.ITotalPaymentDue[];
|
|
83
78
|
}
|
|
@@ -85,51 +80,9 @@ export interface IResult extends IResultAsAggregateOffer {
|
|
|
85
80
|
* 受け入れられたチケットオファー
|
|
86
81
|
* optimize(2024-07-03~)
|
|
87
82
|
*/
|
|
88
|
-
export type
|
|
89
|
-
export
|
|
90
|
-
|
|
91
|
-
* 受入COA興行オファー
|
|
92
|
-
*/
|
|
93
|
-
export type IAcceptedOffer4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'additionalProperty' | 'eligibleMonetaryAmount'> & {
|
|
94
|
-
itemOffered: IAcceptedTicketOfferItemOffered;
|
|
95
|
-
ticketInfo: ICOATicketInfoWithDetails;
|
|
96
|
-
/**
|
|
97
|
-
* COAイベントでは、priceSpecificationで価格を表現しきれないので、numberとしてのpriceが必要
|
|
98
|
-
*/
|
|
99
|
-
price: number;
|
|
100
|
-
priceSpecification: OrderFactory.ITicketPriceSpecification;
|
|
101
|
-
};
|
|
102
|
-
export interface IAppliesToSurfrock {
|
|
103
|
-
/**
|
|
104
|
-
* コード
|
|
105
|
-
*/
|
|
106
|
-
identifier?: string;
|
|
107
|
-
serviceOutput?: {
|
|
108
|
-
/**
|
|
109
|
-
* 決済方法区分
|
|
110
|
-
*/
|
|
111
|
-
typeOf?: string;
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
export interface IPriceSpecification4COA {
|
|
115
|
-
appliesToSurfrock?: IAppliesToSurfrock;
|
|
116
|
-
}
|
|
117
|
-
export type IAcceptedOfferBeforeAuthorize4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'itemOffered' | 'additionalProperty'> & Pick<IOffer, 'name' | 'additionalProperty'> & {
|
|
118
|
-
itemOffered: IAcceptedTicketOfferItemOffered;
|
|
119
|
-
ticketInfo: Omit<ICOATicketInfoWithDetails, 'salePrice' | 'usePoint'>;
|
|
120
|
-
priceSpecification: IPriceSpecification4COA;
|
|
121
|
-
};
|
|
122
|
-
export type IAcceptedOfferWithoutDetail4COA = IAcceptedCOAOffer & {
|
|
123
|
-
priceSpecification?: IPriceSpecification4COA;
|
|
124
|
-
};
|
|
125
|
-
export interface IObjectWithoutDetail4COA {
|
|
126
|
-
acceptedOffer: IAcceptedOfferWithoutDetail4COA[];
|
|
127
|
-
event: {
|
|
128
|
-
id: string;
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
export type IAcceptedOfferWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IAcceptedOfferWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IAcceptedOfferWithoutDetail4chevre : never;
|
|
132
|
-
export type IObjectWithoutDetail<T extends WebAPIFactory.Identifier> = T extends WebAPIFactory.Identifier.COA ? IObjectWithoutDetail4COA : T extends WebAPIFactory.Identifier.Chevre ? IObjectWithoutDetail4chevre : never;
|
|
83
|
+
export type IAcceptedOffer = Pick<IAcceptedTicketOfferWithoutDetail, 'id' | 'addOn' | 'additionalProperty' | 'priceSpecification' | 'itemOffered'>;
|
|
84
|
+
export type IAcceptedOfferWithoutDetail = IAcceptedTicketOfferWithoutDetail;
|
|
85
|
+
export { IObjectWithoutDetail };
|
|
133
86
|
export type ICOAPendingTransaction = Pick<COA.factory.reserve.IDelTmpReserveArgs, 'theaterCode' | 'dateJouei' | 'titleCode' | 'titleBranchNum' | 'timeBegin' | 'tmpReserveNum'> & {
|
|
134
87
|
transactionNumber: string;
|
|
135
88
|
typeOf: AssetTransactionType.COAReserveTransaction;
|
package/lib/authorization.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CreativeWorkType } from './creativeWorkType';
|
|
|
2
2
|
import { IMember, IMemberOfRole } from './iam';
|
|
3
3
|
import { IOrder } from './order';
|
|
4
4
|
import { OrganizationType } from './organizationType';
|
|
5
|
-
import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThroughAsFaceToFace, IPermitIssuedThroughAsProduct
|
|
5
|
+
import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThroughAsFaceToFace, IPermitIssuedThroughAsProduct } from './ownershipInfo';
|
|
6
6
|
import { PersonType } from './personType';
|
|
7
7
|
import { IProject } from './project';
|
|
8
8
|
import { SortType } from './sortType';
|
|
@@ -12,9 +12,8 @@ export type IPermitIssuedThroughOfObjectTypeOfGood = Pick<IPermitIssuedThroughAs
|
|
|
12
12
|
export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'typeOf'> & {
|
|
13
13
|
issuedThrough?: IPermitIssuedThroughOfObjectTypeOfGood;
|
|
14
14
|
};
|
|
15
|
-
export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, '
|
|
16
|
-
export type
|
|
17
|
-
export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
|
|
15
|
+
export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'typeOf' | 'typeOfGood'>;
|
|
16
|
+
export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject;
|
|
18
17
|
/**
|
|
19
18
|
* 承認対象としてのIAMメンバー
|
|
20
19
|
*/
|
package/lib/product.d.ts
CHANGED
|
@@ -158,14 +158,6 @@ export interface ISearchConditions {
|
|
|
158
158
|
$in?: string[];
|
|
159
159
|
$regex?: string;
|
|
160
160
|
};
|
|
161
|
-
provider?: {
|
|
162
|
-
id?: {
|
|
163
|
-
/**
|
|
164
|
-
* プロバイダーに指定IDの販売者が含まれる
|
|
165
|
-
*/
|
|
166
|
-
$eq?: string;
|
|
167
|
-
};
|
|
168
|
-
};
|
|
169
161
|
typeOf?: {
|
|
170
162
|
$eq?: ProductType;
|
|
171
163
|
$in?: ProductType[];
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { IInvoice } from '../invoice';
|
|
2
2
|
import { IMultilingualString } from '../multilingualString';
|
|
3
3
|
import { IPermit } from '../permit';
|
|
4
|
-
import { IAvailableChannel as IProductAvailableChannel,
|
|
4
|
+
import { IAvailableChannel as IProductAvailableChannel, IServiceType } from '../product';
|
|
5
5
|
import { IProject } from '../project';
|
|
6
6
|
import { IPropertyValue } from '../propertyValue';
|
|
7
7
|
import { ISeller } from '../seller';
|
|
8
|
+
import { SortType } from '../sortType';
|
|
8
9
|
import { IThing } from '../thing';
|
|
9
10
|
export declare enum PaymentServiceType {
|
|
10
11
|
CreditCard = "CreditCard",
|
|
@@ -131,9 +132,73 @@ export interface IService extends Pick<IThing, 'name' | 'description'> {
|
|
|
131
132
|
serviceType: IServiceType;
|
|
132
133
|
additionalProperty?: IPropertyValue<string>[];
|
|
133
134
|
}
|
|
134
|
-
export
|
|
135
|
+
export interface ISortOrder {
|
|
136
|
+
productID?: SortType;
|
|
137
|
+
}
|
|
138
|
+
export interface ISearchConditions {
|
|
139
|
+
limit?: number;
|
|
140
|
+
page?: number;
|
|
141
|
+
sort?: ISortOrder;
|
|
142
|
+
project?: {
|
|
143
|
+
id?: {
|
|
144
|
+
$eq?: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
id?: {
|
|
148
|
+
$eq?: string;
|
|
149
|
+
$in?: string[];
|
|
150
|
+
};
|
|
151
|
+
name?: {
|
|
152
|
+
$regex?: string;
|
|
153
|
+
};
|
|
154
|
+
productID?: {
|
|
155
|
+
$eq?: string;
|
|
156
|
+
$in?: string[];
|
|
157
|
+
$regex?: string;
|
|
158
|
+
};
|
|
159
|
+
provider?: {
|
|
160
|
+
id?: {
|
|
161
|
+
/**
|
|
162
|
+
* プロバイダーに指定IDの販売者が含まれる
|
|
163
|
+
*/
|
|
164
|
+
$eq?: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
135
167
|
typeOf?: {
|
|
136
168
|
$eq?: PaymentServiceType;
|
|
137
169
|
$in?: PaymentServiceType[];
|
|
138
170
|
};
|
|
139
|
-
|
|
171
|
+
serviceOutput?: {
|
|
172
|
+
typeOf?: {
|
|
173
|
+
/**
|
|
174
|
+
* Invoice or Permit
|
|
175
|
+
*/
|
|
176
|
+
$eq?: string;
|
|
177
|
+
};
|
|
178
|
+
paymentMethod?: {
|
|
179
|
+
amount?: {
|
|
180
|
+
/**
|
|
181
|
+
* 出力通貨区分コード
|
|
182
|
+
*/
|
|
183
|
+
currency?: {
|
|
184
|
+
$eq?: string;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
issuedThrough?: {
|
|
189
|
+
serviceType?: {
|
|
190
|
+
/**
|
|
191
|
+
* 出力メンバーシップ区分コード
|
|
192
|
+
*/
|
|
193
|
+
codeValue?: {
|
|
194
|
+
$eq?: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
serviceType?: {
|
|
200
|
+
codeValue?: {
|
|
201
|
+
$eq?: string;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
}
|
package/package.json
CHANGED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import type * as COA from '@motionpicture/coa-service';
|
|
2
|
-
export interface ICOATicketInfo {
|
|
3
|
-
/**
|
|
4
|
-
* チケットコード
|
|
5
|
-
*/
|
|
6
|
-
ticketCode: string;
|
|
7
|
-
/**
|
|
8
|
-
* ムビチケ・MG計上単価
|
|
9
|
-
* ムビチケ・MGの場合、計上単価(興収報告単価)をセット
|
|
10
|
-
* (ムビチケ・MG以外は0をセット)
|
|
11
|
-
*/
|
|
12
|
-
mvtkAppPrice: number;
|
|
13
|
-
/**
|
|
14
|
-
* 枚数
|
|
15
|
-
*/
|
|
16
|
-
ticketCount: number;
|
|
17
|
-
/**
|
|
18
|
-
* メガネ単価
|
|
19
|
-
* メガネ代が別途発生した場合は、メガネ代をセット。それ以外は0をセット(ムビチケの場合も同様)
|
|
20
|
-
*/
|
|
21
|
-
addGlasses: number;
|
|
22
|
-
/**
|
|
23
|
-
* ムビチケ・MG映写方式区分
|
|
24
|
-
* ムビチケ・MG連携情報より
|
|
25
|
-
*/
|
|
26
|
-
kbnEisyahousiki: string;
|
|
27
|
-
/**
|
|
28
|
-
* ムビチケ・MG購入管理番号
|
|
29
|
-
* ムビチケ・MG連携情報より(ムビチケ・MG以外は"")
|
|
30
|
-
*/
|
|
31
|
-
mvtkNum: string;
|
|
32
|
-
/**
|
|
33
|
-
* ムビチケ・MG電子券区分
|
|
34
|
-
* ムビチケ・MG連携情報より(01:電子、02:紙)
|
|
35
|
-
* ※ムビチケ・MG以外は"00"をセット
|
|
36
|
-
* ※MGはチケット媒体区分
|
|
37
|
-
*/
|
|
38
|
-
mvtkKbnDenshiken: string;
|
|
39
|
-
/**
|
|
40
|
-
* ムビチケ・MG前売券区分
|
|
41
|
-
* ムビチケ・MG連携情報より(01:全国券、02:劇場券)
|
|
42
|
-
* ※ムビチケ・MG以外は"00"をセット
|
|
43
|
-
* ※MGはスコープ区分
|
|
44
|
-
*/
|
|
45
|
-
mvtkKbnMaeuriken: string;
|
|
46
|
-
/**
|
|
47
|
-
* ムビチケ・MG券種区分
|
|
48
|
-
* ムビチケ・MG連携情報より(01:一般2D、02:小人2D、03:一般3D、…)
|
|
49
|
-
* ※ムビチケ・MG以外は"00"をセット
|
|
50
|
-
*/
|
|
51
|
-
mvtkKbnKensyu: string;
|
|
52
|
-
/**
|
|
53
|
-
* ムビチケ・MG販売単価
|
|
54
|
-
* ムビチケ・MG連携情報より(ムビチケ・MG以外は0をセット)
|
|
55
|
-
*/
|
|
56
|
-
mvtkSalesPrice: number;
|
|
57
|
-
/**
|
|
58
|
-
* MGチケット区分
|
|
59
|
-
* MGチケットの場合は"MG"(MG以外は""をセット)
|
|
60
|
-
*/
|
|
61
|
-
kbnMgtk?: string;
|
|
62
|
-
/**
|
|
63
|
-
* ポイント割引の場合の消費ポイント
|
|
64
|
-
*/
|
|
65
|
-
usePoint?: number;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* COA券種情報
|
|
69
|
-
*/
|
|
70
|
-
export type ICOATicketInfoWithDetails = COA.factory.reserve.IUpdReserveTicket & {
|
|
71
|
-
/**
|
|
72
|
-
* チケット名
|
|
73
|
-
*/
|
|
74
|
-
ticketName: string;
|
|
75
|
-
/**
|
|
76
|
-
* チケット名(カナ)
|
|
77
|
-
*/
|
|
78
|
-
ticketNameKana: string;
|
|
79
|
-
/**
|
|
80
|
-
* チケット名(英)
|
|
81
|
-
*/
|
|
82
|
-
ticketNameEng: string;
|
|
83
|
-
/**
|
|
84
|
-
* ポイント割引の場合の消費ポイント
|
|
85
|
-
*/
|
|
86
|
-
usePoint: number;
|
|
87
|
-
/**
|
|
88
|
-
* 制限単位(001:n人単位、002:n人以上)
|
|
89
|
-
*/
|
|
90
|
-
limitUnit: string;
|
|
91
|
-
/**
|
|
92
|
-
* 人数制限
|
|
93
|
-
*/
|
|
94
|
-
limitCount: number;
|
|
95
|
-
/**
|
|
96
|
-
* 販売可能チケットのsalePrice
|
|
97
|
-
* COA予約確定時に指定するsalePriceと異なる
|
|
98
|
-
*/
|
|
99
|
-
salesTicketSalePrice: number;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* 座席予約供給情報インターフェース
|
|
103
|
-
*/
|
|
104
|
-
export interface IAcceptedCOAOffer {
|
|
105
|
-
/**
|
|
106
|
-
* seat section
|
|
107
|
-
*/
|
|
108
|
-
seatSection: string;
|
|
109
|
-
/**
|
|
110
|
-
* seat number
|
|
111
|
-
*/
|
|
112
|
-
seatNumber: string;
|
|
113
|
-
/**
|
|
114
|
-
* ticket info
|
|
115
|
-
*/
|
|
116
|
-
ticketInfo: ICOATicketInfo;
|
|
117
|
-
}
|