@chevre/factory 11.1.0-alpha.0 → 11.1.0-alpha.10
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/chevre/acceptedOffer.d.ts +173 -0
- package/lib/chevre/{event.js → acceptedOffer.js} +1 -0
- package/lib/chevre/action/accept/coaOffer.d.ts +1 -1
- package/lib/chevre/action/transfer/send/message/email.d.ts +15 -4
- package/lib/chevre/action/update/delete.d.ts +1 -1
- package/lib/chevre/action/update/update/object.d.ts +1 -1
- package/lib/chevre/action/update/update/result.d.ts +1 -1
- package/lib/chevre/action/update/update/targetCollection.d.ts +1 -1
- package/lib/chevre/assetTransaction/reserve.d.ts +1 -16
- package/lib/chevre/creativeWork/message/email.d.ts +9 -1
- package/lib/chevre/event/anyEvent.d.ts +0 -5
- package/lib/chevre/event/screeningEvent.d.ts +90 -35
- package/lib/chevre/event/sellerMakesOffer.d.ts +7 -6
- package/lib/chevre/{event/eventSeries.d.ts → eventSeries.d.ts} +91 -32
- package/lib/chevre/index.d.ts +3 -1
- package/lib/chevre/index.js +5 -3
- package/lib/chevre/invoice.d.ts +2 -1
- package/lib/chevre/issuer.d.ts +0 -8
- package/lib/chevre/notification/eventSeries.d.ts +10 -3
- package/lib/chevre/notification/offer.d.ts +7 -1
- package/lib/chevre/notification/order.d.ts +22 -7
- package/lib/chevre/offer/eventOffer.d.ts +0 -1
- package/lib/chevre/order.d.ts +1 -176
- package/lib/chevre/project.d.ts +21 -6
- package/lib/chevre/reservation/event.d.ts +1 -2
- package/lib/chevre/role/organizationRole.d.ts +6 -1
- package/lib/chevre/role/organizationRole.js +5 -0
- package/package.json +1 -1
- package/lib/chevre/event.d.ts +0 -94
- /package/lib/chevre/{event/eventSeries.js → eventSeries.js} +0 -0
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { COAFactory } from '@coasystems/factory';
|
|
2
|
-
import { ICreativeWork as IMovie } from '
|
|
3
|
-
import {
|
|
4
|
-
import { EventType } from '
|
|
5
|
-
import { ILanguage } from '
|
|
6
|
-
import { IMultilingualString } from '
|
|
7
|
-
import { OfferType } from '
|
|
8
|
-
import { PlaceType } from '
|
|
2
|
+
import { ICreativeWork as IMovie } from './creativeWork/movie';
|
|
3
|
+
import { EventStatusType } from './eventStatusType';
|
|
4
|
+
import { EventType } from './eventType';
|
|
5
|
+
import { ILanguage } from './language';
|
|
6
|
+
import { IMultilingualString } from './multilingualString';
|
|
7
|
+
import { OfferType } from './offerType';
|
|
8
|
+
import { PlaceType } from './placeType';
|
|
9
|
+
import { IProject } from './project';
|
|
10
|
+
import { IPropertyValue } from './propertyValue';
|
|
11
|
+
import { SortType } from './sortType';
|
|
9
12
|
export type IUnacceptedPaymentMethodType = 'MovieTicket';
|
|
10
13
|
/**
|
|
11
14
|
* 施設コンテンツに対する単一オファー
|
|
@@ -17,14 +20,6 @@ export interface ISingleOffer {
|
|
|
17
20
|
*/
|
|
18
21
|
unacceptedPaymentMethod?: IUnacceptedPaymentMethodType[];
|
|
19
22
|
}
|
|
20
|
-
export interface IVideoFormat {
|
|
21
|
-
typeOf: string;
|
|
22
|
-
name: string;
|
|
23
|
-
}
|
|
24
|
-
export interface ISoundFormat {
|
|
25
|
-
typeOf: string;
|
|
26
|
-
name: string;
|
|
27
|
-
}
|
|
28
23
|
/**
|
|
29
24
|
* サブイベント
|
|
30
25
|
* 施設コンテンツに所属するScreeningEventの属性など
|
|
@@ -94,7 +89,20 @@ export interface ILocation {
|
|
|
94
89
|
*/
|
|
95
90
|
name?: IMultilingualString;
|
|
96
91
|
}
|
|
97
|
-
export interface IAttributes
|
|
92
|
+
export interface IAttributes {
|
|
93
|
+
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
94
|
+
typeOf: EventType.ScreeningEventSeries;
|
|
95
|
+
/**
|
|
96
|
+
* 施設コンテンツ識別子(COAのみ)
|
|
97
|
+
* プロジェクト内でユニーク必須
|
|
98
|
+
*/
|
|
99
|
+
identifier?: string;
|
|
100
|
+
/**
|
|
101
|
+
* イベント説明
|
|
102
|
+
*/
|
|
103
|
+
description?: IMultilingualString;
|
|
104
|
+
eventStatus: EventStatusType.EventScheduled;
|
|
105
|
+
additionalProperty?: IPropertyValue<string>[];
|
|
98
106
|
alternativeHeadline?: IMultilingualString | string;
|
|
99
107
|
headline?: IMultilingualString;
|
|
100
108
|
/**
|
|
@@ -110,10 +118,6 @@ export interface IAttributes extends Pick<IBaseAttributes<EventType.ScreeningEve
|
|
|
110
118
|
* 吹替利用可能言語
|
|
111
119
|
*/
|
|
112
120
|
dubLanguage?: ILanguage;
|
|
113
|
-
/**
|
|
114
|
-
* 音響方式
|
|
115
|
-
*/
|
|
116
|
-
soundFormat?: ISoundFormat[];
|
|
117
121
|
subEvent?: ISubEvent;
|
|
118
122
|
/**
|
|
119
123
|
* コンテンツ
|
|
@@ -154,7 +158,9 @@ export interface IAttributes extends Pick<IBaseAttributes<EventType.ScreeningEve
|
|
|
154
158
|
/**
|
|
155
159
|
* 施設コンテンツ
|
|
156
160
|
*/
|
|
157
|
-
export type IEvent =
|
|
161
|
+
export type IEvent = IAttributes & {
|
|
162
|
+
id: string;
|
|
163
|
+
};
|
|
158
164
|
/**
|
|
159
165
|
* 施設コンテンツ追加時の利用不可決済方法区分指定
|
|
160
166
|
* offerType:AggregateOfferの場合、指定は無視される
|
|
@@ -188,10 +194,64 @@ export type ICreateParams = Pick<IAttributes, 'name' | 'duration' | 'endDate' |
|
|
|
188
194
|
typeOf: string;
|
|
189
195
|
}[];
|
|
190
196
|
};
|
|
197
|
+
/**
|
|
198
|
+
* ソート条件
|
|
199
|
+
*/
|
|
200
|
+
export interface ISortOrder {
|
|
201
|
+
startDate?: SortType;
|
|
202
|
+
}
|
|
191
203
|
/**
|
|
192
204
|
* 検索条件
|
|
193
205
|
*/
|
|
194
|
-
export interface ISearchConditions
|
|
206
|
+
export interface ISearchConditions {
|
|
207
|
+
limit?: number;
|
|
208
|
+
page?: number;
|
|
209
|
+
sort?: ISortOrder;
|
|
210
|
+
id?: {
|
|
211
|
+
$eq?: string;
|
|
212
|
+
$in?: string[];
|
|
213
|
+
};
|
|
214
|
+
identifiers?: string[];
|
|
215
|
+
organizer?: {
|
|
216
|
+
id?: {
|
|
217
|
+
$eq?: string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
project?: {
|
|
221
|
+
id?: {
|
|
222
|
+
$eq?: string;
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* 開催中 from
|
|
227
|
+
* ISO 8601 date format
|
|
228
|
+
*/
|
|
229
|
+
inSessionFrom?: Date;
|
|
230
|
+
/**
|
|
231
|
+
* 開催中 through
|
|
232
|
+
* ISO 8601 date format
|
|
233
|
+
*/
|
|
234
|
+
inSessionThrough?: Date;
|
|
235
|
+
/**
|
|
236
|
+
* 開始日時 from
|
|
237
|
+
* ISO 8601 date format
|
|
238
|
+
*/
|
|
239
|
+
startFrom?: Date;
|
|
240
|
+
/**
|
|
241
|
+
* 開始日時 through
|
|
242
|
+
* ISO 8601 date format
|
|
243
|
+
*/
|
|
244
|
+
startThrough?: Date;
|
|
245
|
+
/**
|
|
246
|
+
* 終了日時 from
|
|
247
|
+
* ISO 8601 date format
|
|
248
|
+
*/
|
|
249
|
+
endFrom?: Date;
|
|
250
|
+
/**
|
|
251
|
+
* 終了日時 through
|
|
252
|
+
* ISO 8601 date format
|
|
253
|
+
*/
|
|
254
|
+
endThrough?: Date;
|
|
195
255
|
additionalProperty?: {
|
|
196
256
|
$elemMatch?: {
|
|
197
257
|
name?: {
|
|
@@ -202,7 +262,6 @@ export interface ISearchConditions extends Pick<IBaseSearchConditions, 'endFrom'
|
|
|
202
262
|
};
|
|
203
263
|
};
|
|
204
264
|
};
|
|
205
|
-
typeOf?: EventType.ScreeningEventSeries;
|
|
206
265
|
name?: string;
|
|
207
266
|
location?: {
|
|
208
267
|
branchCode?: {
|
|
@@ -230,13 +289,13 @@ export interface ISearchConditions extends Pick<IBaseSearchConditions, 'endFrom'
|
|
|
230
289
|
$in?: string[];
|
|
231
290
|
};
|
|
232
291
|
};
|
|
233
|
-
workPerformed?:
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
292
|
+
workPerformed?: never;
|
|
293
|
+
/**
|
|
294
|
+
* コンテンツコード
|
|
295
|
+
*/
|
|
296
|
+
movieIdentifier?: string;
|
|
297
|
+
/**
|
|
298
|
+
* コンテンツバージョン
|
|
299
|
+
*/
|
|
300
|
+
movieVersion?: string;
|
|
242
301
|
}
|
package/lib/chevre/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as waiter from '@waiter/factory';
|
|
2
2
|
export * as cognito from './cognito';
|
|
3
|
+
import * as AcceptedOfferFactory from './acceptedOffer';
|
|
3
4
|
import * as ActionFactory from './action';
|
|
4
5
|
import * as AcceptCOAOfferActionFactory from './action/accept/coaOffer';
|
|
5
6
|
import * as AcceptPayActionFactory from './action/accept/pay';
|
|
@@ -50,7 +51,7 @@ import * as CustomerFactory from './customer';
|
|
|
50
51
|
import * as EncodingFormat from './encodingFormat';
|
|
51
52
|
import * as entryPoint from './entryPoint';
|
|
52
53
|
import * as ScreeningEventFactory from './event/screeningEvent';
|
|
53
|
-
export * as eventSeries from './
|
|
54
|
+
export * as eventSeries from './eventSeries';
|
|
54
55
|
import { EventStatusType } from './eventStatusType';
|
|
55
56
|
import { EventType } from './eventType';
|
|
56
57
|
import * as IAMFactory from './iam';
|
|
@@ -194,6 +195,7 @@ import { ErrorCode } from './errorCode';
|
|
|
194
195
|
export * as errors from './errors';
|
|
195
196
|
export * as recipe from './recipe';
|
|
196
197
|
export import errorCode = ErrorCode;
|
|
198
|
+
export import acceptedOffer = AcceptedOfferFactory;
|
|
197
199
|
export import actionStatusType = ActionStatusType;
|
|
198
200
|
export import actionType = ActionType;
|
|
199
201
|
export declare namespace action {
|
package/lib/chevre/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = void 0;
|
|
3
|
+
exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregation = exports.additionalProperty = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.acceptedOffer = exports.errorCode = exports.recipe = exports.errors = exports.unitPriceOffer = exports.project = exports.order = exports.eventOffer = exports.aggregateOffer = exports.offer = exports.eventSeries = exports.cognito = exports.waiter = void 0;
|
|
4
|
+
exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = void 0;
|
|
5
5
|
exports.waiter = require("@waiter/factory");
|
|
6
6
|
exports.cognito = require("./cognito");
|
|
7
|
+
const AcceptedOfferFactory = require("./acceptedOffer");
|
|
7
8
|
const AcceptCOAOfferActionFactory = require("./action/accept/coaOffer");
|
|
8
9
|
const AcceptPayActionFactory = require("./action/accept/pay");
|
|
9
10
|
const AuthorizeInvoiceActionFactory = require("./action/authorize/invoice");
|
|
@@ -55,7 +56,7 @@ const EncodingFormat = require("./encodingFormat");
|
|
|
55
56
|
const entryPoint = require("./entryPoint");
|
|
56
57
|
exports.entryPoint = entryPoint;
|
|
57
58
|
const ScreeningEventFactory = require("./event/screeningEvent");
|
|
58
|
-
exports.eventSeries = require("./
|
|
59
|
+
exports.eventSeries = require("./eventSeries");
|
|
59
60
|
const eventStatusType_1 = require("./eventStatusType");
|
|
60
61
|
const eventType_1 = require("./eventType");
|
|
61
62
|
const IAMFactory = require("./iam");
|
|
@@ -182,6 +183,7 @@ const errorCode_1 = require("./errorCode");
|
|
|
182
183
|
exports.errors = require("./errors");
|
|
183
184
|
exports.recipe = require("./recipe");
|
|
184
185
|
exports.errorCode = errorCode_1.ErrorCode;
|
|
186
|
+
exports.acceptedOffer = AcceptedOfferFactory;
|
|
185
187
|
exports.actionStatusType = actionStatusType_1.ActionStatusType;
|
|
186
188
|
exports.actionType = actionType_1.ActionType;
|
|
187
189
|
var action;
|
package/lib/chevre/invoice.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IMonetaryAmount } from './monetaryAmount';
|
|
2
|
-
import { ITicketPriceSpecification
|
|
2
|
+
import { ITicketPriceSpecification } from './acceptedOffer';
|
|
3
|
+
import { ICustomer, ITotalPaymentDue } from './order';
|
|
3
4
|
import { PaymentStatusType } from './paymentStatusType';
|
|
4
5
|
import { IPerson } from './person';
|
|
5
6
|
import { IAccounting } from './priceSpecification';
|
package/lib/chevre/issuer.d.ts
CHANGED
|
@@ -28,14 +28,6 @@ export declare namespace issuer {
|
|
|
28
28
|
typeOf: 'MemberProgram';
|
|
29
29
|
identifier: string;
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
32
|
-
* メンバープログラムティア
|
|
33
|
-
*/
|
|
34
|
-
interface IMemberProgramTier {
|
|
35
|
-
typeOf: 'MemberProgramTier';
|
|
36
|
-
identifier: string;
|
|
37
|
-
isTierOf: IMemberProgram;
|
|
38
|
-
}
|
|
39
31
|
interface ISearchConditions {
|
|
40
32
|
limit?: number;
|
|
41
33
|
page?: number;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import { IEvent as IEventSeries
|
|
1
|
+
import { IEvent as IEventSeries } from '../eventSeries';
|
|
2
|
+
export interface IVideoFormat {
|
|
3
|
+
typeOf: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
2
6
|
/**
|
|
3
7
|
* 外部への施設コンテンツ通知
|
|
4
8
|
* redefine(2025-11-01~)
|
|
5
9
|
*/
|
|
6
|
-
export type IEventSeriesAsNotification = Pick<IEventSeries, 'project' | 'organizer' | 'typeOf' | 'name' | 'endDate' | 'location' | 'startDate' | 'id' | 'additionalProperty' | 'subtitleLanguage' | 'dubLanguage' | '
|
|
10
|
+
export type IEventSeriesAsNotification = Pick<IEventSeries, 'project' | 'organizer' | 'typeOf' | 'name' | 'endDate' | 'location' | 'startDate' | 'id' | 'additionalProperty' | 'subtitleLanguage' | 'dubLanguage' | 'workPerformed' | 'kanaName' | 'alternativeHeadline' | 'description' | 'duration' | 'eventStatus' | 'headline'> & {
|
|
7
11
|
offers?: never;
|
|
8
|
-
|
|
12
|
+
/**
|
|
13
|
+
* 上映方式区分リスト
|
|
14
|
+
*/
|
|
15
|
+
videoFormat: IVideoFormat[] | string[];
|
|
9
16
|
};
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
import { IUnitPriceOffer } from '../unitPriceOffer';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* 通知開始
|
|
4
|
+
* 2026-10-21~
|
|
5
|
+
*/
|
|
6
|
+
export type IOfferAsNotification = Pick<IUnitPriceOffer, 'id' | 'identifier' | 'name' | 'description' | 'typeOf' | 'additionalProperty' | 'project'> & {
|
|
7
|
+
priceSpecification?: never;
|
|
8
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IAction as IReturnOrderAction } from '../action/transfer/return/order';
|
|
2
|
-
import {
|
|
2
|
+
import { IEventReservation, ICOAAcceptedOffer, IOptimizedAcceptedOffer } from '../acceptedOffer';
|
|
3
|
+
import { IOrder } from '../order';
|
|
3
4
|
import { OrderStatus } from '../orderStatus';
|
|
4
5
|
/**
|
|
5
6
|
* 返品通知
|
|
@@ -15,16 +16,30 @@ export type IProcessingOrder4inform = Pick<IOrder, 'project' | 'typeOf' | 'selle
|
|
|
15
16
|
numAcceptedOffers: number;
|
|
16
17
|
orderStatus: OrderStatus.OrderProcessing;
|
|
17
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* 配送中通知における予約
|
|
21
|
+
*/
|
|
22
|
+
export type IEventReservation4inform = Pick<IEventReservation, 'additionalTicketText' | 'id' | 'reservationNumber' | 'reservedTicket' | 'typeOf'> & {
|
|
23
|
+
reservationFor: Pick<IEventReservation['reservationFor'], 'id' | 'typeOf'>;
|
|
24
|
+
issuedThrough?: never;
|
|
25
|
+
programMembershipUsed?: never;
|
|
26
|
+
};
|
|
27
|
+
export type ICOAAcceptedOffer4inform = Pick<ICOAAcceptedOffer, 'id' | 'offeredThrough' | 'serialNumber' | 'typeOf' | 'priceSpecification' | 'itemOffered'>;
|
|
28
|
+
export type IOptimizedAcceptedOffer4inform = Pick<IOptimizedAcceptedOffer, 'id' | 'offeredThrough' | 'serialNumber' | 'typeOf' | 'priceSpecification'> & {
|
|
29
|
+
/**
|
|
30
|
+
* COA以外では最適化する
|
|
31
|
+
*/
|
|
32
|
+
itemOffered: IEventReservation4inform;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* 配送中通知における注文オファー
|
|
36
|
+
*/
|
|
37
|
+
export type IAcceptedOffer4inform = ICOAAcceptedOffer4inform | IOptimizedAcceptedOffer4inform;
|
|
18
38
|
/**
|
|
19
39
|
* 配送中通知
|
|
20
40
|
*/
|
|
21
41
|
export type IInTransitOrder4inform = Pick<IOrder, 'project' | 'typeOf' | 'orderNumber'> & {
|
|
22
|
-
acceptedOffers:
|
|
23
|
-
/**
|
|
24
|
-
* COA以外では注文ドキュメントにpriceSpecificationが存在しないのでIFを補完
|
|
25
|
-
*/
|
|
26
|
-
priceSpecification?: ITicketPriceSpecification;
|
|
27
|
-
})[];
|
|
42
|
+
acceptedOffers: IAcceptedOffer4inform[];
|
|
28
43
|
id?: string;
|
|
29
44
|
orderStatus: OrderStatus.OrderInTransit;
|
|
30
45
|
};
|
package/lib/chevre/order.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import type { COAFactory } from '@coasystems/factory';
|
|
2
1
|
import { IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from './action';
|
|
3
|
-
import {
|
|
2
|
+
import { IServiceTypeOfIssuedThrough } from './assetTransaction/reserve';
|
|
4
3
|
import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplication/webApplication';
|
|
5
4
|
import { ICustomer as ICustomerOrganization } from './customer';
|
|
6
|
-
import { ICOAInfo, ISuperEvent as IEventSeries } from './event/screeningEvent';
|
|
7
5
|
import { EventType } from './eventType';
|
|
8
6
|
import { IMonetaryAmount } from './monetaryAmount';
|
|
9
7
|
import { IMultilingualString } from './multilingualString';
|
|
10
|
-
import { IOffer } from './offer';
|
|
11
8
|
import { OrderStatus } from './orderStatus';
|
|
12
9
|
import { OrderType } from './orderType';
|
|
13
10
|
import { OrganizationType } from './organizationType';
|
|
@@ -16,14 +13,11 @@ import { IPerson, IProfile } from './person';
|
|
|
16
13
|
import { PersonType } from './personType';
|
|
17
14
|
import { PlaceType } from './placeType';
|
|
18
15
|
import { PriceCurrency } from './priceCurrency';
|
|
19
|
-
import { IPriceSpecification as ICompoundPriceSpecification } from './priceSpecification/compoundPriceSpecification';
|
|
20
16
|
import { ProductType } from './product';
|
|
21
17
|
import { IPropertyValue } from './propertyValue';
|
|
22
|
-
import { IReservation as IRawReservation, IReservedTicket as IRawReservedTicket } from './reservation/event';
|
|
23
18
|
import { ReservationType } from './reservationType';
|
|
24
19
|
import { ISeller as IBaseSeller } from './seller';
|
|
25
20
|
import { IPaymentMethodAsServiceOutput, PaymentServiceType } from './service/paymentService';
|
|
26
|
-
import { IService, Identifier } from './service/webAPI';
|
|
27
21
|
import { SortType } from './sortType';
|
|
28
22
|
import { UnitCode } from './unitCode';
|
|
29
23
|
export { OrderType };
|
|
@@ -90,175 +84,6 @@ export interface IReferencedInvoice {
|
|
|
90
84
|
issuedThrough: IOrderPaymentMethodIssuedThrough;
|
|
91
85
|
referencesOrder?: never;
|
|
92
86
|
}
|
|
93
|
-
export type IWorkPerformed = Pick<IOptimizedWorkPerformedLegacy, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
94
|
-
export type ISuperEvent = Pick<IOptimizedSuperEventLegacy, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & {
|
|
95
|
-
workPerformed: IWorkPerformed;
|
|
96
|
-
identifier?: never;
|
|
97
|
-
alternativeHeadline?: never;
|
|
98
|
-
duration?: never;
|
|
99
|
-
coaInfo?: never;
|
|
100
|
-
};
|
|
101
|
-
/**
|
|
102
|
-
* COAの場合の施設コンテンツ
|
|
103
|
-
*/
|
|
104
|
-
export type ICOASuperEvent = Pick<IOptimizedSuperEventLegacy, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline'> & Pick<IEventSeries, 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
105
|
-
workPerformed: IWorkPerformed;
|
|
106
|
-
};
|
|
107
|
-
export type IEventAsReservationFor = Omit<IReservationForLegacy, 'superEvent' | 'identifier' | 'coaInfo'> & {
|
|
108
|
-
superEvent: ISuperEvent;
|
|
109
|
-
/**
|
|
110
|
-
* COA予約でのみ使用されている
|
|
111
|
-
*/
|
|
112
|
-
identifier?: never;
|
|
113
|
-
/**
|
|
114
|
-
* その他COA情報
|
|
115
|
-
* 基本的にsskts対応
|
|
116
|
-
*/
|
|
117
|
-
coaInfo?: never;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* COAの場合のイベント
|
|
121
|
-
*/
|
|
122
|
-
export type ICOAEventAsReservationFor = Omit<IReservationForLegacy, 'superEvent' | 'identifier' | 'coaInfo'> & {
|
|
123
|
-
superEvent: ICOASuperEvent;
|
|
124
|
-
/**
|
|
125
|
-
* COA予約でのみ使用されている
|
|
126
|
-
*/
|
|
127
|
-
identifier?: string;
|
|
128
|
-
/**
|
|
129
|
-
* その他COA情報
|
|
130
|
-
* 基本的にsskts対応
|
|
131
|
-
*/
|
|
132
|
-
coaInfo?: ICOAInfo;
|
|
133
|
-
};
|
|
134
|
-
/**
|
|
135
|
-
* COA券種情報
|
|
136
|
-
*/
|
|
137
|
-
export type ICOATicketInfoWithDetails = COAFactory.reserve.IUpdReserveTicket & {
|
|
138
|
-
/**
|
|
139
|
-
* チケット名
|
|
140
|
-
*/
|
|
141
|
-
ticketName: string;
|
|
142
|
-
/**
|
|
143
|
-
* チケット名(カナ)
|
|
144
|
-
*/
|
|
145
|
-
ticketNameKana: string;
|
|
146
|
-
/**
|
|
147
|
-
* チケット名(英)
|
|
148
|
-
*/
|
|
149
|
-
ticketNameEng: string;
|
|
150
|
-
/**
|
|
151
|
-
* ポイント割引の場合の消費ポイント
|
|
152
|
-
*/
|
|
153
|
-
usePoint: number;
|
|
154
|
-
};
|
|
155
|
-
export type ITicketTypeInOrder = Pick<ITicketType, 'id' | 'identifier' | 'name' | 'typeOf' | 'additionalProperty' | 'description'>;
|
|
156
|
-
export type IReservedTicket = Pick<IRawReservedTicket, 'typeOf' | 'ticketedSeat' | 'identifier'> & {
|
|
157
|
-
ticketType: ITicketTypeInOrder;
|
|
158
|
-
ticketNumber?: never;
|
|
159
|
-
dateIssued?: never;
|
|
160
|
-
ticketToken?: never;
|
|
161
|
-
coaTicketInfo?: never;
|
|
162
|
-
coaReserveAmount?: never;
|
|
163
|
-
};
|
|
164
|
-
export type ICOATicketType = Pick<ITicketType, 'id' | 'identifier' | 'name' | 'typeOf'>;
|
|
165
|
-
/**
|
|
166
|
-
* COAの場合の予約チケット
|
|
167
|
-
*/
|
|
168
|
-
export type ICOAReservedTicket = Pick<IRawReservedTicket, 'typeOf' | 'ticketedSeat' | 'identifier' | // 追加(2024-04-15~)
|
|
169
|
-
'dateIssued'> & {
|
|
170
|
-
ticketType: ICOATicketType;
|
|
171
|
-
/**
|
|
172
|
-
* COA券種情報
|
|
173
|
-
*/
|
|
174
|
-
coaTicketInfo?: ICOATicketInfoWithDetails;
|
|
175
|
-
coaReserveAmount?: number;
|
|
176
|
-
/**
|
|
177
|
-
* The unique identifier for the ticket.
|
|
178
|
-
*/
|
|
179
|
-
ticketNumber?: string;
|
|
180
|
-
/**
|
|
181
|
-
* If the barcode image is hosted on your site, the value of the field is URL of the image, or a barcode or QR URI,
|
|
182
|
-
* such as "barcode128:AB34" (ISO-15417 barcodes), "qrCode:AB34" (QR codes),
|
|
183
|
-
* "aztecCode:AB34" (Aztec codes), "barcodeEAN:1234" (EAN codes) and "barcodeUPCA:1234" (UPCA codes).
|
|
184
|
-
*/
|
|
185
|
-
ticketToken?: string;
|
|
186
|
-
};
|
|
187
|
-
export interface ICOAIssuedThrough {
|
|
188
|
-
typeOf: ProductType.EventService;
|
|
189
|
-
serviceType?: never;
|
|
190
|
-
/**
|
|
191
|
-
* 興行管理をしていないためid未定義
|
|
192
|
-
*/
|
|
193
|
-
id?: never;
|
|
194
|
-
}
|
|
195
|
-
export type IEventReservation = Pick<IRawReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
196
|
-
issuedThrough: IIssuedThrough;
|
|
197
|
-
reservationFor: IEventAsReservationFor;
|
|
198
|
-
reservedTicket: IReservedTicket;
|
|
199
|
-
};
|
|
200
|
-
/**
|
|
201
|
-
* COAの場合の予約
|
|
202
|
-
*/
|
|
203
|
-
export type ICOAEventReservation = Pick<IRawReservation, 'additionalTicketText' | 'id' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
|
|
204
|
-
issuedThrough: ICOAIssuedThrough;
|
|
205
|
-
reservationFor: ICOAEventAsReservationFor;
|
|
206
|
-
reservedTicket: ICOAReservedTicket;
|
|
207
|
-
additionalProperty?: IPropertyValue<string>[];
|
|
208
|
-
};
|
|
209
|
-
/**
|
|
210
|
-
* オファー提供アイテムとしての予約
|
|
211
|
-
*/
|
|
212
|
-
export type IReservation = IEventReservation | ICOAEventReservation;
|
|
213
|
-
/**
|
|
214
|
-
* 注文アイテム
|
|
215
|
-
*/
|
|
216
|
-
export type IItemOffered = IReservation;
|
|
217
|
-
export { ICategoryChargePriceComponent };
|
|
218
|
-
export { IMovieTicketTypeChargePriceComponent };
|
|
219
|
-
export { IUnitPriceComponent };
|
|
220
|
-
export type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
|
|
221
|
-
/**
|
|
222
|
-
* 注文オファーの価格仕様
|
|
223
|
-
*/
|
|
224
|
-
export type ITicketPriceSpecification = Pick<ICompoundPriceSpecification<ITicketPriceComponent>, 'priceComponent' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
225
|
-
export type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough'> & {
|
|
226
|
-
name?: never;
|
|
227
|
-
};
|
|
228
|
-
export interface ICOAAcceptedOffer extends IOfferOptimized4acceptedOffer {
|
|
229
|
-
/**
|
|
230
|
-
* オファー対象アイテム
|
|
231
|
-
*/
|
|
232
|
-
itemOffered: ICOAEventReservation;
|
|
233
|
-
offeredThrough: Pick<IService<Identifier>, 'typeOf'> & {
|
|
234
|
-
identifier: Identifier.COA;
|
|
235
|
-
};
|
|
236
|
-
priceSpecification?: ITicketPriceSpecification;
|
|
237
|
-
/**
|
|
238
|
-
* 資産取引番号
|
|
239
|
-
* 2024-01-30~
|
|
240
|
-
*/
|
|
241
|
-
serialNumber: string;
|
|
242
|
-
}
|
|
243
|
-
export interface IOptimizedAcceptedOffer extends IOfferOptimized4acceptedOffer {
|
|
244
|
-
/**
|
|
245
|
-
* オファー対象アイテム
|
|
246
|
-
*/
|
|
247
|
-
itemOffered: IEventReservation;
|
|
248
|
-
offeredThrough: Pick<IService<Identifier>, 'typeOf'> & {
|
|
249
|
-
identifier: Identifier.Chevre;
|
|
250
|
-
};
|
|
251
|
-
priceSpecification?: ITicketPriceSpecification;
|
|
252
|
-
/**
|
|
253
|
-
* 資産取引番号
|
|
254
|
-
* 2024-01-30~
|
|
255
|
-
*/
|
|
256
|
-
serialNumber: string;
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
* 受け入れオファー
|
|
260
|
-
*/
|
|
261
|
-
export type IAcceptedOffer = ICOAAcceptedOffer | IOptimizedAcceptedOffer;
|
|
262
87
|
/**
|
|
263
88
|
* 販売者
|
|
264
89
|
*/
|
package/lib/chevre/project.d.ts
CHANGED
|
@@ -26,22 +26,38 @@ export interface ISendEmailMessageSettings {
|
|
|
26
26
|
* プロジェクト設定
|
|
27
27
|
*/
|
|
28
28
|
export interface ISettings {
|
|
29
|
+
/**
|
|
30
|
+
* 注文照会結果にcustomerを含めるかどうか
|
|
31
|
+
* 2025-09-10=
|
|
32
|
+
* tttsのみtrue(2026-10-19時点)
|
|
33
|
+
*/
|
|
34
|
+
includeCustomerAsFindByConfirmationNumberResult?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* ssktsとtttsのみ(2026-10-19時点)
|
|
37
|
+
* Eメール送信元アドレス設定
|
|
38
|
+
*/
|
|
29
39
|
sendEmailMessage?: ISendEmailMessageSettings;
|
|
40
|
+
/**
|
|
41
|
+
* ssktsのみ(2026-10-19時点)
|
|
42
|
+
*/
|
|
30
43
|
sendgridApiKey?: string;
|
|
31
|
-
|
|
44
|
+
/**
|
|
45
|
+
* tttsのみ(2026-10-19時点)
|
|
46
|
+
*/
|
|
32
47
|
useAggregateReservation?: {
|
|
33
48
|
/**
|
|
34
49
|
* aggregateReservationsを利用する施設コンテンツID
|
|
35
50
|
*/
|
|
36
51
|
eventSeriesIds?: string[];
|
|
37
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* tttsのみ(2026-10-19時点)
|
|
55
|
+
*/
|
|
38
56
|
useAggregateOffer?: boolean;
|
|
39
|
-
useOfferRateLimit?: boolean;
|
|
40
57
|
/**
|
|
41
|
-
*
|
|
42
|
-
* 2025-09-10=
|
|
58
|
+
* tttsのみ(2026-10-19時点)
|
|
43
59
|
*/
|
|
44
|
-
|
|
60
|
+
useOfferRateLimit?: boolean;
|
|
45
61
|
}
|
|
46
62
|
export interface ISubscription {
|
|
47
63
|
identifier?: string;
|
|
@@ -79,7 +95,6 @@ export interface IMemberProgramTier {
|
|
|
79
95
|
*/
|
|
80
96
|
identifier: string;
|
|
81
97
|
};
|
|
82
|
-
secret?: never;
|
|
83
98
|
}
|
|
84
99
|
export interface IMakesOffer extends Pick<IOffer, 'typeOf'> {
|
|
85
100
|
availableAtOrFrom: IAvailableAtOrFrom;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ILocation as IEventLocation, ISuperEvent } from '../event/screeningEvent';
|
|
2
|
-
import { IWorkPerformed } from '../
|
|
2
|
+
import { IWorkPerformed } from '../eventSeries';
|
|
3
3
|
import { EventType } from '../eventType';
|
|
4
4
|
import { TicketType, ISeat as IReservationSeat, IReservation as IBaseReservation, IAvailableReservationStatusType, ITicket } from '../reservation';
|
|
5
5
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
@@ -22,7 +22,6 @@ export type IMinimizedSuperEvent = Pick<ISuperEvent, 'id' | 'typeOf'> & {
|
|
|
22
22
|
} & {
|
|
23
23
|
additionalProperty?: never;
|
|
24
24
|
name?: never;
|
|
25
|
-
soundFormat?: never;
|
|
26
25
|
headline?: never;
|
|
27
26
|
};
|
|
28
27
|
export type IMinimizedRoom = Pick<IEventLocation, 'branchCode' | 'typeOf'> & {
|
|
@@ -56,7 +56,12 @@ export declare enum RoleName {
|
|
|
56
56
|
/**
|
|
57
57
|
* adminapisの在庫管理ロール
|
|
58
58
|
*/
|
|
59
|
-
AdminInventoryManager = "admin.inventoryManager"
|
|
59
|
+
AdminInventoryManager = "admin.inventoryManager",
|
|
60
|
+
/**
|
|
61
|
+
* adminapisの在庫管理ロール(Preview)
|
|
62
|
+
* 将来的な権限を定義する
|
|
63
|
+
*/
|
|
64
|
+
AdminInventoryManagerPreview = "admin.inventoryManagerPreview"
|
|
60
65
|
}
|
|
61
66
|
export type IMemberType = PersonType.Person | CreativeWorkType.WebApplication | CreativeWorkType.SoftwareApplication;
|
|
62
67
|
/**
|
|
@@ -57,4 +57,9 @@ var RoleName;
|
|
|
57
57
|
* adminapisの在庫管理ロール
|
|
58
58
|
*/
|
|
59
59
|
RoleName["AdminInventoryManager"] = "admin.inventoryManager";
|
|
60
|
+
/**
|
|
61
|
+
* adminapisの在庫管理ロール(Preview)
|
|
62
|
+
* 将来的な権限を定義する
|
|
63
|
+
*/
|
|
64
|
+
RoleName["AdminInventoryManagerPreview"] = "admin.inventoryManagerPreview";
|
|
60
65
|
})(RoleName || (exports.RoleName = RoleName = {}));
|