@chevre/factory 5.0.0-alpha.1 → 5.0.0-alpha.3
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/event/anyEvent.d.ts +19 -6
- package/lib/event/screeningEvent.d.ts +8 -5
- package/lib/event/screeningEventSeries.d.ts +12 -4
- package/lib/{offer/eventOffer.d.ts → event/sellerMakesOffer.d.ts} +2 -2
- package/lib/event.d.ts +0 -49
- package/lib/index.d.ts +2 -2
- package/lib/index.js +4 -4
- package/lib/reservation/event.d.ts +2 -1
- package/lib/reservedCodeValues.d.ts +2 -0
- package/lib/reservedCodeValues.js +142 -0
- package/package.json +1 -1
- /package/lib/{offer/eventOffer.js → event/sellerMakesOffer.js} +0 -0
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -2,12 +2,13 @@ import * as EventFactory from '../event';
|
|
|
2
2
|
import { EventType } from '../eventType';
|
|
3
3
|
import { IMultilingualString } from '../multilingualString';
|
|
4
4
|
import * as OfferFactory from '../offer';
|
|
5
|
-
import { IEventOffer, IMemberProgramTier } from '../offer/eventOffer';
|
|
6
5
|
import { OfferType } from '../offerType';
|
|
7
6
|
import { OrganizationType } from '../organizationType';
|
|
8
7
|
import { PlaceType } from '../placeType';
|
|
9
8
|
import { IServiceType as IProductServiceType } from '../product';
|
|
10
9
|
import { Identifier as WebAPIIdentifier, IService as IWebAPIService } from '../service/webAPI';
|
|
10
|
+
import { IEventOfferForMemberTier, IMemberProgramTier, ISellerMakesOffer } from './sellerMakesOffer';
|
|
11
|
+
export { IEventOfferForMemberTier, ISellerMakesOffer };
|
|
11
12
|
/**
|
|
12
13
|
* 予約集計
|
|
13
14
|
*/
|
|
@@ -74,7 +75,6 @@ export type IServiceType = IProductServiceType & {
|
|
|
74
75
|
};
|
|
75
76
|
export type IOfferedThrough = Pick<IWebAPIService<WebAPIIdentifier.Chevre>, 'identifier' | 'typeOf'>;
|
|
76
77
|
export type IOfferAvailableAtOrFrom = Pick<OfferFactory.IAvailableAtOrFrom, 'id'>;
|
|
77
|
-
export { IEventOffer as ISellerMakesOffer };
|
|
78
78
|
export interface ISeller {
|
|
79
79
|
typeOf: OrganizationType.Corporation;
|
|
80
80
|
/**
|
|
@@ -85,7 +85,7 @@ export interface ISeller {
|
|
|
85
85
|
/**
|
|
86
86
|
* アプリケーションごとのオファー
|
|
87
87
|
*/
|
|
88
|
-
makesOffer:
|
|
88
|
+
makesOffer: ISellerMakesOffer[];
|
|
89
89
|
}
|
|
90
90
|
export import IEligibleQuantity = OfferFactory.IEligibleQuantity;
|
|
91
91
|
/**
|
|
@@ -120,7 +120,20 @@ export interface IOrganizer {
|
|
|
120
120
|
/**
|
|
121
121
|
* イベント属性
|
|
122
122
|
*/
|
|
123
|
-
export interface IAttributes extends Pick<EventFactory.IAttributes<EventType>, '
|
|
123
|
+
export interface IAttributes extends Pick<EventFactory.IAttributes<EventType>, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'name' | 'typeOf'> {
|
|
124
|
+
/**
|
|
125
|
+
* 予約集計結果としてのキャパシティ
|
|
126
|
+
*/
|
|
127
|
+
maximumAttendeeCapacity?: number;
|
|
128
|
+
/**
|
|
129
|
+
* イベント固有のキャパシティ
|
|
130
|
+
* 施設のキャパシティに依存しない場合に使用
|
|
131
|
+
*/
|
|
132
|
+
maximumPhysicalAttendeeCapacity?: number;
|
|
133
|
+
/**
|
|
134
|
+
* 残り収容人数
|
|
135
|
+
*/
|
|
136
|
+
remainingAttendeeCapacity?: number;
|
|
124
137
|
/**
|
|
125
138
|
* ルーム
|
|
126
139
|
*/
|
|
@@ -162,7 +175,7 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType>, '
|
|
|
162
175
|
organizer: IOrganizer;
|
|
163
176
|
}
|
|
164
177
|
export type IMemberProgramTier4create = Pick<IMemberProgramTier, 'typeOf'>;
|
|
165
|
-
export type ISellerMakesOffer4create = Pick<
|
|
178
|
+
export type ISellerMakesOffer4create = Pick<ISellerMakesOffer, 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough' | 'typeOf'> & {
|
|
166
179
|
availableAtOrFrom: Pick<IOfferAvailableAtOrFrom, 'id'>;
|
|
167
180
|
/**
|
|
168
181
|
* 有効なメンバープログラムティア条件
|
|
@@ -175,5 +188,5 @@ export interface ISeller4create {
|
|
|
175
188
|
/**
|
|
176
189
|
* POS以外のアプリケーションの共通設定
|
|
177
190
|
*/
|
|
178
|
-
makesOfferDefault?: Pick<
|
|
191
|
+
makesOfferDefault?: Pick<ISellerMakesOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'>;
|
|
179
192
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as COA from '@motionpicture/coa-service';
|
|
2
2
|
import * as EventFactory from '../event';
|
|
3
|
-
import
|
|
3
|
+
import { IEvent as IEventSeries, IUnacceptedPaymentMethodType } from '../event/screeningEventSeries';
|
|
4
4
|
import { EventType } from '../eventType';
|
|
5
5
|
import { OfferType } from '../offerType';
|
|
6
6
|
import { PlaceType } from '../placeType';
|
|
@@ -14,6 +14,8 @@ export import IOfferWithAggregateReservation = AnyEventFactory.IOfferWithAggrega
|
|
|
14
14
|
export import IAggregateOffer = AnyEventFactory.IAggregateOffer;
|
|
15
15
|
export import IAggregateEntranceGate = AnyEventFactory.IAggregateEntranceGate;
|
|
16
16
|
export import IOfferAvailableAtOrFrom = AnyEventFactory.IOfferAvailableAtOrFrom;
|
|
17
|
+
export import IEventOfferForMemberTier = AnyEventFactory.IEventOfferForMemberTier;
|
|
18
|
+
export import ISellerMakesOffer = AnyEventFactory.ISellerMakesOffer;
|
|
17
19
|
export interface IServiceOutput {
|
|
18
20
|
typeOf: ReservationType.EventReservation;
|
|
19
21
|
reservedTicket?: {
|
|
@@ -51,7 +53,6 @@ export interface IItemOffered {
|
|
|
51
53
|
availableChannel: ReservationFactory.IServiceChannel;
|
|
52
54
|
}
|
|
53
55
|
export import IOfferedThrough = AnyEventFactory.IOfferedThrough;
|
|
54
|
-
export import ISellerMakesOffer = AnyEventFactory.ISellerMakesOffer;
|
|
55
56
|
export import ISeller = AnyEventFactory.ISeller;
|
|
56
57
|
export import IEligibleQuantity = AnyEventFactory.IEligibleQuantity;
|
|
57
58
|
/**
|
|
@@ -64,7 +65,7 @@ export interface IOffer {
|
|
|
64
65
|
* オファー供給サービス
|
|
65
66
|
*/
|
|
66
67
|
offeredThrough?: IOfferedThrough;
|
|
67
|
-
unacceptedPaymentMethod?:
|
|
68
|
+
unacceptedPaymentMethod?: IUnacceptedPaymentMethodType[];
|
|
68
69
|
seller: ISeller;
|
|
69
70
|
/**
|
|
70
71
|
* プロダクトオファーコレクションコード
|
|
@@ -121,9 +122,11 @@ export type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
|
|
|
121
122
|
*/
|
|
122
123
|
usePoint: number;
|
|
123
124
|
};
|
|
124
|
-
export type IWorkPerformed = ScreeningEventSeriesFactory.IWorkPerformed;
|
|
125
125
|
export import ILocation = AnyEventFactory.ILocation;
|
|
126
|
-
export type ISuperEvent = Pick<
|
|
126
|
+
export type ISuperEvent = Pick<IEventSeries, 'typeOf' | 'id' | 'videoFormat' | 'soundFormat' | 'workPerformed' | 'location' | 'kanaName' | 'name' | 'additionalProperty' | 'description' | 'headline' | 'dubLanguage' | 'subtitleLanguage' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
127
|
+
startDate?: Date;
|
|
128
|
+
endDate?: Date;
|
|
129
|
+
};
|
|
127
130
|
export import IName = AnyEventFactory.IName;
|
|
128
131
|
/**
|
|
129
132
|
* イベント属性
|
|
@@ -6,6 +6,7 @@ import { ILanguage } from '../language';
|
|
|
6
6
|
import { IMultilingualString } from '../multilingualString';
|
|
7
7
|
import { OfferType } from '../offerType';
|
|
8
8
|
import { PlaceType } from '../placeType';
|
|
9
|
+
export type IUnacceptedPaymentMethodType = 'MovieTicket';
|
|
9
10
|
/**
|
|
10
11
|
* 施設コンテンツに対するオファー
|
|
11
12
|
*/
|
|
@@ -14,7 +15,7 @@ export interface IOffer {
|
|
|
14
15
|
/**
|
|
15
16
|
* 利用不可決済方法区分
|
|
16
17
|
*/
|
|
17
|
-
unacceptedPaymentMethod?:
|
|
18
|
+
unacceptedPaymentMethod?: IUnacceptedPaymentMethodType[];
|
|
18
19
|
}
|
|
19
20
|
export interface IVideoFormat {
|
|
20
21
|
typeOf: string;
|
|
@@ -76,7 +77,14 @@ export interface ILocation {
|
|
|
76
77
|
*/
|
|
77
78
|
name?: IMultilingualString;
|
|
78
79
|
}
|
|
79
|
-
export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.ScreeningEventSeries>, 'project' | 'typeOf' | 'identifier' | 'name' | '
|
|
80
|
+
export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.ScreeningEventSeries>, 'project' | 'typeOf' | 'identifier' | 'name' | 'description' | 'eventStatus' | 'additionalProperty'> {
|
|
81
|
+
alternativeHeadline?: IMultilingualString | string;
|
|
82
|
+
headline?: IMultilingualString;
|
|
83
|
+
/**
|
|
84
|
+
* イベント上演時間
|
|
85
|
+
* ISO 8601 date format
|
|
86
|
+
*/
|
|
87
|
+
duration?: string;
|
|
80
88
|
/**
|
|
81
89
|
* 字幕利用可能言語
|
|
82
90
|
*/
|
|
@@ -115,12 +123,12 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
|
|
|
115
123
|
* 終了日時
|
|
116
124
|
* ISO 8601 date format
|
|
117
125
|
*/
|
|
118
|
-
endDate
|
|
126
|
+
endDate: Date;
|
|
119
127
|
/**
|
|
120
128
|
* 開始日時
|
|
121
129
|
* ISO 8601 date format
|
|
122
130
|
*/
|
|
123
|
-
startDate
|
|
131
|
+
startDate: Date;
|
|
124
132
|
/**
|
|
125
133
|
* 販売情報
|
|
126
134
|
*/
|
|
@@ -44,5 +44,5 @@ interface IEventOfferForMemberTier extends Pick<ISingleEventOffer, 'typeOf' | 'a
|
|
|
44
44
|
* アプリケーションごとのイベントに対するオファー
|
|
45
45
|
* 基本的に有効期間を定義
|
|
46
46
|
*/
|
|
47
|
-
type
|
|
48
|
-
export {
|
|
47
|
+
type ISellerMakesOffer = ISingleEventOffer | IEventOfferForMemberTier;
|
|
48
|
+
export { ISellerMakesOffer, IEventOfferForMemberTier, IMemberProgramTier };
|
package/lib/event.d.ts
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { EventStatusType } from './eventStatusType';
|
|
2
2
|
import { EventType } from './eventType';
|
|
3
3
|
import { IMultilingualString } from './multilingualString';
|
|
4
|
-
import * as OfferFactory from './offer';
|
|
5
|
-
import * as PlaceFactory from './place';
|
|
6
4
|
import { IProject } from './project';
|
|
7
5
|
import { IPropertyValue } from './propertyValue';
|
|
8
6
|
import { SortType } from './sortType';
|
|
9
|
-
export type IUnacceptedPaymentMethodType = 'MovieTicket';
|
|
10
|
-
export type IOffer = Pick<OfferFactory.IOffer, 'typeOf' | 'unacceptedPaymentMethod' | 'seller' | 'eligibleQuantity' | 'itemOffered' | 'offeredThrough'>;
|
|
11
7
|
export interface IAttributes<T extends EventType> {
|
|
12
8
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
13
9
|
/**
|
|
@@ -23,60 +19,15 @@ export interface IAttributes<T extends EventType> {
|
|
|
23
19
|
* イベント名称
|
|
24
20
|
*/
|
|
25
21
|
name: IMultilingualString;
|
|
26
|
-
alternateName?: IMultilingualString;
|
|
27
|
-
alternativeHeadline?: IMultilingualString | string;
|
|
28
22
|
/**
|
|
29
23
|
* イベント説明
|
|
30
24
|
*/
|
|
31
25
|
description?: IMultilingualString;
|
|
32
|
-
/**
|
|
33
|
-
* 開場日時
|
|
34
|
-
* ISO 8601 date format
|
|
35
|
-
*/
|
|
36
|
-
doorTime?: Date;
|
|
37
|
-
/**
|
|
38
|
-
* イベント上演時間
|
|
39
|
-
* ISO 8601 date format
|
|
40
|
-
*/
|
|
41
|
-
duration?: string;
|
|
42
|
-
/**
|
|
43
|
-
* 終了日時
|
|
44
|
-
* ISO 8601 date format
|
|
45
|
-
*/
|
|
46
|
-
endDate?: Date;
|
|
47
26
|
/**
|
|
48
27
|
* イベントステータス
|
|
49
28
|
* イベントがキャンセル、あるいは、延期された場合に主に使用されます。
|
|
50
29
|
*/
|
|
51
30
|
eventStatus: EventStatusType;
|
|
52
|
-
headline?: IMultilingualString;
|
|
53
|
-
/**
|
|
54
|
-
* イベントが実行される場所
|
|
55
|
-
*/
|
|
56
|
-
location?: Omit<PlaceFactory.IPlace, 'project'>;
|
|
57
|
-
/**
|
|
58
|
-
* 予約集計結果としてのキャパシティ
|
|
59
|
-
*/
|
|
60
|
-
maximumAttendeeCapacity?: number;
|
|
61
|
-
/**
|
|
62
|
-
* イベント固有のキャパシティ
|
|
63
|
-
* 施設のキャパシティに依存しない場合に使用
|
|
64
|
-
*/
|
|
65
|
-
maximumPhysicalAttendeeCapacity?: number;
|
|
66
|
-
/**
|
|
67
|
-
* An offer to provide this item—for example, an offer to sell a product,
|
|
68
|
-
* rent the DVD of a movie, perform a service, or give away tickets to an event.
|
|
69
|
-
*/
|
|
70
|
-
offers?: IOffer | IOffer[];
|
|
71
|
-
/**
|
|
72
|
-
* 残り収容人数
|
|
73
|
-
*/
|
|
74
|
-
remainingAttendeeCapacity?: number;
|
|
75
|
-
/**
|
|
76
|
-
* 開始日時
|
|
77
|
-
* ISO 8601 date format
|
|
78
|
-
*/
|
|
79
|
-
startDate?: Date;
|
|
80
31
|
additionalProperty?: IPropertyValue<string>[];
|
|
81
32
|
}
|
|
82
33
|
/**
|
package/lib/index.d.ts
CHANGED
|
@@ -87,7 +87,6 @@ import * as MonetaryAmountFactory from './monetaryAmount';
|
|
|
87
87
|
import { IMultilingualString } from './multilingualString';
|
|
88
88
|
import * as OfferFactory from './offer';
|
|
89
89
|
import * as AggregateOfferFactory from './offer/aggregateOffer';
|
|
90
|
-
import * as EventOfferFactory from './offer/eventOffer';
|
|
91
90
|
import * as ProductOfferFactory from './offer/productOffer';
|
|
92
91
|
import * as OfferCatalogFactory from './offerCatalog';
|
|
93
92
|
import * as OfferItemConditionFactory from './offerItemCondition';
|
|
@@ -133,6 +132,7 @@ import * as EventReservationFactory from './reservation/event';
|
|
|
133
132
|
import * as ReservationPackageFactory from './reservation/reservationPackage';
|
|
134
133
|
import { ReservationStatusType } from './reservationStatusType';
|
|
135
134
|
import { ReservationType } from './reservationType';
|
|
135
|
+
import { RESERVED_CODE_VALUES } from './reservedCodeValues';
|
|
136
136
|
import * as RoleFactory from './role';
|
|
137
137
|
import * as OrganizationRoleFactory from './role/organizationRole';
|
|
138
138
|
import * as ScheduleFactory from './schedule';
|
|
@@ -380,7 +380,6 @@ export declare namespace event {
|
|
|
380
380
|
export import screeningEvent = ScreeningEventFactory;
|
|
381
381
|
}
|
|
382
382
|
export import eventSeries = ScreeningEventSeriesFactory;
|
|
383
|
-
export import eventOffer = EventOfferFactory;
|
|
384
383
|
export import encodingFormat = EncodingFormat;
|
|
385
384
|
export { entryPoint };
|
|
386
385
|
export import eventStatusType = EventStatusType;
|
|
@@ -496,6 +495,7 @@ export declare namespace reservation {
|
|
|
496
495
|
}
|
|
497
496
|
export import reservationStatusType = ReservationStatusType;
|
|
498
497
|
export import reservationType = ReservationType;
|
|
498
|
+
export { RESERVED_CODE_VALUES };
|
|
499
499
|
export declare namespace role {
|
|
500
500
|
export import RoleType = RoleFactory.RoleType;
|
|
501
501
|
export import organizationRole = OrganizationRoleFactory;
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.
|
|
4
|
-
exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place =
|
|
3
|
+
exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
|
|
4
|
+
exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = 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.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
@@ -85,7 +85,6 @@ var MerchantReturnPolicyFactory = require("./merchantReturnPolicy");
|
|
|
85
85
|
var MonetaryAmountFactory = require("./monetaryAmount");
|
|
86
86
|
var OfferFactory = require("./offer");
|
|
87
87
|
var AggregateOfferFactory = require("./offer/aggregateOffer");
|
|
88
|
-
var EventOfferFactory = require("./offer/eventOffer");
|
|
89
88
|
var ProductOfferFactory = require("./offer/productOffer");
|
|
90
89
|
var OfferCatalogFactory = require("./offerCatalog");
|
|
91
90
|
var OfferItemConditionFactory = require("./offerItemCondition");
|
|
@@ -125,6 +124,8 @@ var BusReservationFactory = require("./reservation/busReservation");
|
|
|
125
124
|
var EventReservationFactory = require("./reservation/event");
|
|
126
125
|
var reservationStatusType_1 = require("./reservationStatusType");
|
|
127
126
|
var reservationType_1 = require("./reservationType");
|
|
127
|
+
var reservedCodeValues_1 = require("./reservedCodeValues");
|
|
128
|
+
Object.defineProperty(exports, "RESERVED_CODE_VALUES", { enumerable: true, get: function () { return reservedCodeValues_1.RESERVED_CODE_VALUES; } });
|
|
128
129
|
var RoleFactory = require("./role");
|
|
129
130
|
var OrganizationRoleFactory = require("./role/organizationRole");
|
|
130
131
|
var ScheduleFactory = require("./schedule");
|
|
@@ -389,7 +390,6 @@ var event;
|
|
|
389
390
|
// export import screeningEventSeries = ScreeningEventSeriesFactory;
|
|
390
391
|
})(event = exports.event || (exports.event = {}));
|
|
391
392
|
exports.eventSeries = ScreeningEventSeriesFactory; // reimplement from event.screeningEventSeries
|
|
392
|
-
exports.eventOffer = EventOfferFactory;
|
|
393
393
|
exports.encodingFormat = EncodingFormat;
|
|
394
394
|
exports.eventStatusType = eventStatusType_1.EventStatusType;
|
|
395
395
|
exports.eventType = eventType_1.EventType;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ICOAInfo, ILocation as IEventLocation, IName as IEventName, ISuperEvent
|
|
1
|
+
import { ICOAInfo, ILocation as IEventLocation, IName as IEventName, ISuperEvent } from '../event/screeningEvent';
|
|
2
|
+
import { IWorkPerformed } from '../event/screeningEventSeries';
|
|
2
3
|
import { EventType } from '../eventType';
|
|
3
4
|
import { IMultilingualString } from '../multilingualString';
|
|
4
5
|
import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RESERVED_CODE_VALUES = void 0;
|
|
4
|
+
var account_1 = require("./account");
|
|
5
|
+
var assetTransactionType_1 = require("./assetTransactionType");
|
|
6
|
+
var certificationStatusEnumeration_1 = require("./certificationStatusEnumeration");
|
|
7
|
+
var creativeWorkType_1 = require("./creativeWorkType");
|
|
8
|
+
var eventStatusType_1 = require("./eventStatusType");
|
|
9
|
+
var eventType_1 = require("./eventType");
|
|
10
|
+
var merchantReturnPolicy_1 = require("./merchantReturnPolicy");
|
|
11
|
+
var offerType_1 = require("./offerType");
|
|
12
|
+
var order_1 = require("./order");
|
|
13
|
+
var orderStatus_1 = require("./orderStatus");
|
|
14
|
+
var organizationType_1 = require("./organizationType");
|
|
15
|
+
var paymentStatusType_1 = require("./paymentStatusType");
|
|
16
|
+
var personType_1 = require("./personType");
|
|
17
|
+
var placeType_1 = require("./placeType");
|
|
18
|
+
var priceCurrency_1 = require("./priceCurrency");
|
|
19
|
+
var priceSpecificationType_1 = require("./priceSpecificationType");
|
|
20
|
+
var product_1 = require("./product");
|
|
21
|
+
var reservationStatusType_1 = require("./reservationStatusType");
|
|
22
|
+
var reservationType_1 = require("./reservationType");
|
|
23
|
+
var sortType_1 = require("./sortType");
|
|
24
|
+
var taskStatus_1 = require("./taskStatus");
|
|
25
|
+
var transactionStatusType_1 = require("./transactionStatusType");
|
|
26
|
+
var transactionType_1 = require("./transactionType");
|
|
27
|
+
var unitCode_1 = require("./unitCode");
|
|
28
|
+
exports.RESERVED_CODE_VALUES = [
|
|
29
|
+
'AccountTitle',
|
|
30
|
+
assetTransactionType_1.AssetTransactionType.CancelReservation,
|
|
31
|
+
assetTransactionType_1.AssetTransactionType.MoneyTransfer,
|
|
32
|
+
assetTransactionType_1.AssetTransactionType.Pay,
|
|
33
|
+
assetTransactionType_1.AssetTransactionType.Refund,
|
|
34
|
+
assetTransactionType_1.AssetTransactionType.RegisterService,
|
|
35
|
+
assetTransactionType_1.AssetTransactionType.Reserve,
|
|
36
|
+
'Authorization',
|
|
37
|
+
certificationStatusEnumeration_1.CertificationStatusEnumeration.CertificationActive,
|
|
38
|
+
certificationStatusEnumeration_1.CertificationStatusEnumeration.CertificationInactive,
|
|
39
|
+
creativeWorkType_1.CreativeWorkType.Certification,
|
|
40
|
+
creativeWorkType_1.CreativeWorkType.Comment,
|
|
41
|
+
creativeWorkType_1.CreativeWorkType.EmailMessage,
|
|
42
|
+
creativeWorkType_1.CreativeWorkType.Movie,
|
|
43
|
+
creativeWorkType_1.CreativeWorkType.NoteDigitalDocument,
|
|
44
|
+
creativeWorkType_1.CreativeWorkType.SoftwareApplication,
|
|
45
|
+
creativeWorkType_1.CreativeWorkType.WebApplication,
|
|
46
|
+
creativeWorkType_1.CreativeWorkType.WebSite,
|
|
47
|
+
'Event',
|
|
48
|
+
eventStatusType_1.EventStatusType.EventCancelled,
|
|
49
|
+
eventStatusType_1.EventStatusType.EventPostponed,
|
|
50
|
+
eventStatusType_1.EventStatusType.EventRescheduled,
|
|
51
|
+
eventStatusType_1.EventStatusType.EventScheduled,
|
|
52
|
+
eventType_1.EventType.ScreeningEvent,
|
|
53
|
+
eventType_1.EventType.ScreeningEventSeries,
|
|
54
|
+
merchantReturnPolicy_1.MerchantReturnEnumeration.MerchantReturnFiniteReturnWindow,
|
|
55
|
+
merchantReturnPolicy_1.MerchantReturnEnumeration.MerchantReturnNotPermitted,
|
|
56
|
+
merchantReturnPolicy_1.MerchantReturnEnumeration.MerchantReturnUnlimitedWindow,
|
|
57
|
+
merchantReturnPolicy_1.MerchantReturnEnumeration.MerchantReturnUnspecified,
|
|
58
|
+
merchantReturnPolicy_1.RefundTypeEnumeration.ExchangeRefund,
|
|
59
|
+
merchantReturnPolicy_1.RefundTypeEnumeration.FullRefund,
|
|
60
|
+
merchantReturnPolicy_1.RefundTypeEnumeration.StoreCreditRefund,
|
|
61
|
+
merchantReturnPolicy_1.ReturnFeesEnumeration.FreeReturn,
|
|
62
|
+
merchantReturnPolicy_1.ReturnFeesEnumeration.RestockingFees,
|
|
63
|
+
merchantReturnPolicy_1.ReturnFeesEnumeration.ReturnFeesCustomerResponsibility,
|
|
64
|
+
'MonetaryAmount',
|
|
65
|
+
offerType_1.OfferType.AggregateOffer,
|
|
66
|
+
offerType_1.OfferType.Offer,
|
|
67
|
+
'OfferCatalog',
|
|
68
|
+
'OfferCatalogItem',
|
|
69
|
+
order_1.OrderType.Order,
|
|
70
|
+
orderStatus_1.OrderStatus.OrderCancelled,
|
|
71
|
+
orderStatus_1.OrderStatus.OrderDelivered,
|
|
72
|
+
orderStatus_1.OrderStatus.OrderInTransit,
|
|
73
|
+
orderStatus_1.OrderStatus.OrderPaymentDue,
|
|
74
|
+
'OrderPickupAvailable',
|
|
75
|
+
'OrderProblem',
|
|
76
|
+
orderStatus_1.OrderStatus.OrderProcessing,
|
|
77
|
+
orderStatus_1.OrderStatus.OrderReturned,
|
|
78
|
+
organizationType_1.OrganizationType.Corporation,
|
|
79
|
+
organizationType_1.OrganizationType.Organization,
|
|
80
|
+
organizationType_1.OrganizationType.Project,
|
|
81
|
+
'OwnershipInfo',
|
|
82
|
+
paymentStatusType_1.PaymentStatusType.PaymentAutomaticallyApplied,
|
|
83
|
+
paymentStatusType_1.PaymentStatusType.PaymentComplete,
|
|
84
|
+
paymentStatusType_1.PaymentStatusType.PaymentDeclined,
|
|
85
|
+
paymentStatusType_1.PaymentStatusType.PaymentDue,
|
|
86
|
+
paymentStatusType_1.PaymentStatusType.PaymentPastDue,
|
|
87
|
+
personType_1.PersonType.Person,
|
|
88
|
+
placeType_1.PlaceType.AggregatePlace,
|
|
89
|
+
placeType_1.PlaceType.BusStop,
|
|
90
|
+
placeType_1.PlaceType.MovieTheater,
|
|
91
|
+
placeType_1.PlaceType.Place,
|
|
92
|
+
placeType_1.PlaceType.ScreeningRoom,
|
|
93
|
+
placeType_1.PlaceType.ScreeningRoomSection,
|
|
94
|
+
placeType_1.PlaceType.Seat,
|
|
95
|
+
priceCurrency_1.PriceCurrency.JPY,
|
|
96
|
+
priceSpecificationType_1.PriceSpecificationType.CategoryCodeChargeSpecification,
|
|
97
|
+
priceSpecificationType_1.PriceSpecificationType.CompoundPriceSpecification,
|
|
98
|
+
priceSpecificationType_1.PriceSpecificationType.MovieTicketTypeChargeSpecification,
|
|
99
|
+
priceSpecificationType_1.PriceSpecificationType.PriceSpecification,
|
|
100
|
+
priceSpecificationType_1.PriceSpecificationType.UnitPriceSpecification,
|
|
101
|
+
product_1.ProductType.EventService,
|
|
102
|
+
product_1.ProductType.MembershipService,
|
|
103
|
+
product_1.ProductType.PaymentCard,
|
|
104
|
+
product_1.ProductType.Product,
|
|
105
|
+
product_1.ProductType.Transportation,
|
|
106
|
+
reservationStatusType_1.ReservationStatusType.ReservationCancelled,
|
|
107
|
+
reservationStatusType_1.ReservationStatusType.ReservationConfirmed,
|
|
108
|
+
reservationStatusType_1.ReservationStatusType.ReservationPending,
|
|
109
|
+
'ReservationHold',
|
|
110
|
+
reservationStatusType_1.ReservationStatusType.ReservationPending,
|
|
111
|
+
reservationType_1.ReservationType.BusReservation,
|
|
112
|
+
reservationType_1.ReservationType.EventReservation,
|
|
113
|
+
reservationType_1.ReservationType.ReservationPackage,
|
|
114
|
+
sortType_1.SortType.Ascending,
|
|
115
|
+
sortType_1.SortType.Descending,
|
|
116
|
+
taskStatus_1.TaskStatus.Aborted,
|
|
117
|
+
taskStatus_1.TaskStatus.Executed,
|
|
118
|
+
taskStatus_1.TaskStatus.Ready,
|
|
119
|
+
taskStatus_1.TaskStatus.Running,
|
|
120
|
+
taskStatus_1.TaskStatus.Expired,
|
|
121
|
+
transactionStatusType_1.TransactionStatusType.Canceled,
|
|
122
|
+
transactionStatusType_1.TransactionStatusType.Confirmed,
|
|
123
|
+
transactionStatusType_1.TransactionStatusType.Expired,
|
|
124
|
+
transactionStatusType_1.TransactionStatusType.InProgress,
|
|
125
|
+
transactionType_1.TransactionType.MoneyTransfer,
|
|
126
|
+
transactionType_1.TransactionType.PlaceOrder,
|
|
127
|
+
transactionType_1.TransactionType.ReturnOrder,
|
|
128
|
+
unitCode_1.UnitCode.Ann,
|
|
129
|
+
unitCode_1.UnitCode.C62,
|
|
130
|
+
unitCode_1.UnitCode.Day,
|
|
131
|
+
unitCode_1.UnitCode.Sec,
|
|
132
|
+
account_1.transactionType.Deposit,
|
|
133
|
+
account_1.transactionType.Transfer,
|
|
134
|
+
account_1.transactionType.Withdraw,
|
|
135
|
+
'MemberProgram',
|
|
136
|
+
'MemberProgramTier',
|
|
137
|
+
'Enduser',
|
|
138
|
+
'POS',
|
|
139
|
+
'TVM',
|
|
140
|
+
'Member',
|
|
141
|
+
'Fan'
|
|
142
|
+
];
|
package/package.json
CHANGED
|
File without changes
|