@chevre/factory 5.4.0-alpha.3 → 5.4.0-alpha.31
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/pay.d.ts +2 -2
- package/lib/action/authorize/paymentMethod/any.d.ts +9 -1
- package/lib/action/interact/inform.d.ts +5 -2
- package/lib/action/trade/pay.d.ts +13 -2
- package/lib/action/update/add/object.d.ts +1 -13
- package/lib/action/update/add/object.js +2 -0
- package/lib/action/update/add.d.ts +1 -10
- package/lib/creativeWork/movie.d.ts +1 -0
- package/lib/event/anyEvent.d.ts +0 -13
- package/lib/event/screeningEvent.d.ts +3 -4
- package/lib/event/screeningEventSeries.d.ts +28 -17
- package/lib/index.d.ts +9 -5
- package/lib/index.js +6 -2
- package/lib/notification/eventSeries.d.ts +3 -2
- package/lib/notification/place.d.ts +47 -4
- package/lib/offer/acceptedPaymentMethod.d.ts +1 -0
- package/lib/offer/eventOffer.d.ts +4 -0
- package/lib/offerCatalog.d.ts +8 -0
- package/lib/order.d.ts +1 -1
- package/lib/place/entranceGate.d.ts +28 -0
- package/lib/place/movieTheater.d.ts +12 -9
- package/lib/place/screeningRoomSection.d.ts +16 -1
- package/lib/placeType.d.ts +1 -0
- package/lib/placeType.js +1 -0
- package/lib/reservation/event.d.ts +1 -1
- package/lib/task/authorizePayment.d.ts +6 -1
- package/lib/task/onAuthorizationCreated.d.ts +1 -0
- package/lib/task/onResourceDeleted.d.ts +81 -0
- package/lib/task/onResourceDeleted.js +2 -0
- package/lib/task/onResourceUpdated.d.ts +36 -6
- package/lib/task/publishPaymentUrl.d.ts +6 -1
- package/lib/task/syncResourcesFromCOA.d.ts +35 -0
- package/lib/task/syncResourcesFromCOA.js +2 -0
- package/lib/task/triggerWebhook.d.ts +2 -2
- package/lib/taskName.d.ts +2 -4
- package/lib/taskName.js +6 -4
- package/package.json +2 -2
- package/lib/task/createEvent.d.ts +0 -24
- /package/lib/{task/createEvent.js → place/entranceGate.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
|
-
import { IPaymentMethodTicketAsInstrument } from '../../action/trade/pay';
|
|
2
|
+
import { IAcceptedPaymentMethodOfferAsInstrument, IPaymentMethodTicketAsInstrument } from '../../action/trade/pay';
|
|
3
3
|
import { ActionType } from '../../actionType';
|
|
4
4
|
import { IAgent, IObjectWithoutDetail, IPaymentMethodWithoutDetail } from '../../assetTransaction/pay';
|
|
5
5
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
@@ -30,7 +30,7 @@ export interface IPurpose {
|
|
|
30
30
|
typeOf: TransactionType.PlaceOrder;
|
|
31
31
|
id: string;
|
|
32
32
|
}
|
|
33
|
-
export type IInstrument = IPaymentMethodTicketAsInstrument;
|
|
33
|
+
export type IInstrument = IPaymentMethodTicketAsInstrument | IAcceptedPaymentMethodOfferAsInstrument;
|
|
34
34
|
/**
|
|
35
35
|
* 決済採用アクション属性
|
|
36
36
|
*/
|
|
@@ -132,6 +132,10 @@ export type IAuthorizePaymentCardObject = Pick<IObjectIncludingPaymentMethodDeta
|
|
|
132
132
|
* 決済承認リクエストの承認対象オブジェクト
|
|
133
133
|
*/
|
|
134
134
|
export type IObjectWithoutDetail = IAuthorizeAnyPaymentObject | IAuthorizeCreditCardObject | IAuthorizeMovieTicketObject | IAuthorizePaymentCardObject;
|
|
135
|
+
/**
|
|
136
|
+
* 決済承認アクションオブジェクト
|
|
137
|
+
* paymentMethodIdが決済取引の取引番号に等しい
|
|
138
|
+
*/
|
|
135
139
|
export type IObject = Pick<IObjectIncludingPaymentMethodDetails, 'typeOf' | 'paymentMethodId' | 'accountId'>;
|
|
136
140
|
export interface IResultPaymentMethod {
|
|
137
141
|
/**
|
|
@@ -205,10 +209,14 @@ export interface IInstrumentAsAssetTransaction {
|
|
|
205
209
|
identifier: ServiceIdentifier;
|
|
206
210
|
}
|
|
207
211
|
export type IInstrument = IInstrumentAsAssetTransaction;
|
|
208
|
-
export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject, IResult> {
|
|
212
|
+
export interface IAttributes extends Pick<AuthorizeActionFactory.IAttributes<IObject, IResult>, 'typeOf' | 'sameAs' | 'result' | 'recipient' | 'purpose' | 'project' | 'object' | 'identifier' | 'error' | 'agent'> {
|
|
209
213
|
typeOf: ActionType.AuthorizeAction;
|
|
210
214
|
object: IObject;
|
|
211
215
|
agent: IAgent;
|
|
216
|
+
/**
|
|
217
|
+
* 決済取引としてのinstrument
|
|
218
|
+
* @deprecated object.paymentMethodIdに依存すること
|
|
219
|
+
*/
|
|
212
220
|
instrument: IInstrument;
|
|
213
221
|
recipient: IRecipient;
|
|
214
222
|
purpose: IPurpose;
|
|
@@ -13,7 +13,7 @@ import { IOfferCatalogAsNotification } from '../../notification/offerCatalog';
|
|
|
13
13
|
import { IOrder4inform } from '../../notification/order';
|
|
14
14
|
import { IPayAction4inform } from '../../notification/payAction';
|
|
15
15
|
import { IPersonAsNotification } from '../../notification/person';
|
|
16
|
-
import { IHasPOSAsNotification, IMovieTheaterAsNotification } from '../../notification/place';
|
|
16
|
+
import { IEntranceGateAsNotification, IHasPOSAsNotification, IMovieTheaterAsNotification, IRoomAsNotification } from '../../notification/place';
|
|
17
17
|
import { IProductAsNotification } from '../../notification/product';
|
|
18
18
|
import { IRefundAction4inform } from '../../notification/refundAction';
|
|
19
19
|
import { IReservation4inform } from '../../notification/reservation';
|
|
@@ -34,7 +34,10 @@ export type IRecipient = Pick<ActionFactory.IParticipantAsWebApplication, 'name'
|
|
|
34
34
|
id?: never;
|
|
35
35
|
url?: never;
|
|
36
36
|
};
|
|
37
|
-
|
|
37
|
+
/**
|
|
38
|
+
* 取引、タスク以外の通知対象リソース
|
|
39
|
+
*/
|
|
40
|
+
export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IEntranceGateAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
|
|
38
41
|
export type IObject = IAnyResourceAsObject | IOrder4inform | IReservation4inform | IPayAction4inform | IRefundAction4inform | ITask4inform;
|
|
39
42
|
export interface IPayTransactionAsPurpose {
|
|
40
43
|
id: string;
|
|
@@ -5,6 +5,7 @@ import { ActionType } from '../../actionType';
|
|
|
5
5
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
6
6
|
import { CreativeWorkType } from '../../creativeWorkType';
|
|
7
7
|
import { IPaymentServiceOutput } from '../../invoice';
|
|
8
|
+
import { OfferType } from '../../offerType';
|
|
8
9
|
import { IOrder, ITotalPaymentDue, OrderType } from '../../order';
|
|
9
10
|
import { IMovieTicketPaymentCard } from '../../paymentMethod/paymentCard/movieTicket';
|
|
10
11
|
import { IPropertyValue } from '../../propertyValue';
|
|
@@ -118,16 +119,26 @@ export interface IPayTransactionAsInstrument {
|
|
|
118
119
|
}
|
|
119
120
|
export type IRefundActionAsInstrument = Pick<IRefundAction, 'id' | 'typeOf'>;
|
|
120
121
|
/**
|
|
121
|
-
*
|
|
122
|
+
* ツールとしての決済方法チケット
|
|
122
123
|
*/
|
|
123
124
|
export interface IPaymentMethodTicketAsInstrument {
|
|
124
125
|
ticketToken: string;
|
|
125
126
|
typeOf: 'Ticket';
|
|
126
127
|
}
|
|
128
|
+
/**
|
|
129
|
+
* ツールとしての対応決済方法オファー
|
|
130
|
+
*/
|
|
131
|
+
export interface IAcceptedPaymentMethodOfferAsInstrument {
|
|
132
|
+
/**
|
|
133
|
+
* 対応決済方法オファーID
|
|
134
|
+
*/
|
|
135
|
+
id: string;
|
|
136
|
+
typeOf: OfferType.Offer;
|
|
137
|
+
}
|
|
127
138
|
/**
|
|
128
139
|
* 注文時の決済アクションツール
|
|
129
140
|
*/
|
|
130
|
-
export type IPlaceOrderRelatedInstrument = IPayTransactionAsInstrument | IOrderAsInstrument | IAuthorizeActionAsInstrument | IPaymentMethodTicketAsInstrument;
|
|
141
|
+
export type IPlaceOrderRelatedInstrument = IPayTransactionAsInstrument | IOrderAsInstrument | IAuthorizeActionAsInstrument | IPaymentMethodTicketAsInstrument | IAcceptedPaymentMethodOfferAsInstrument;
|
|
131
142
|
/**
|
|
132
143
|
* 注文返品時の決済アクションツール
|
|
133
144
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CreativeWorkType } from '../../../creativeWorkType';
|
|
2
|
-
import { IAttributes as IEventSeriesAttributes } from '../../../event/screeningEventSeries';
|
|
3
2
|
import { EventType } from '../../../eventType';
|
|
4
3
|
import { OfferType } from '../../../offerType';
|
|
5
4
|
import { ProductType } from '../../../product';
|
|
@@ -14,15 +13,4 @@ export interface IObjectAsProduct {
|
|
|
14
13
|
export interface IObjectAsSingleResource {
|
|
15
14
|
typeOf: OfferType.Offer | 'ProductModel' | CreativeWorkType.Movie | EventType;
|
|
16
15
|
}
|
|
17
|
-
export type
|
|
18
|
-
export interface IObjectAsEventBySchedule {
|
|
19
|
-
/**
|
|
20
|
-
* スケジュールを作成し始める日(Asia/Tokyoでこの日から作成される)
|
|
21
|
-
*/
|
|
22
|
-
startDate?: Date;
|
|
23
|
-
eventSchedule: {
|
|
24
|
-
id: string;
|
|
25
|
-
};
|
|
26
|
-
typeOf: EventType.ScreeningEvent;
|
|
27
|
-
}
|
|
28
|
-
export type IObject = IObjectAsSingleResource | IObjectAsNote[] | IObjectAsProduct[] | IObjectAsEventSeriesAttributes[] | IObjectAsEventBySchedule;
|
|
16
|
+
export type IObject = IObjectAsSingleResource | IObjectAsNote[] | IObjectAsProduct[];
|
|
@@ -14,16 +14,7 @@ export interface IAddedObject {
|
|
|
14
14
|
typeOf: CreativeWorkType.NoteDigitalDocument | ProductType | OfferType.Offer | 'ProductModel' | CreativeWorkType.Movie | EventType;
|
|
15
15
|
}
|
|
16
16
|
export type IResult = IAddedObject[];
|
|
17
|
-
export
|
|
18
|
-
typeOf: CreativeWorkType.WebApplication;
|
|
19
|
-
id: string;
|
|
20
|
-
createScreeningEventSeriesIfNotExistByWorkPerformed: true;
|
|
21
|
-
/**
|
|
22
|
-
* 全施設に施設コンテンツを作成するかどうか
|
|
23
|
-
*/
|
|
24
|
-
createScreeningEventSeriesOnAllLocation?: boolean;
|
|
25
|
-
}
|
|
26
|
-
export type IInstrument = IInstrumentAsApplication | IInstrumentWithAddEventSeriesOption;
|
|
17
|
+
export type IInstrument = IInstrumentAsApplication;
|
|
27
18
|
export interface ITargetCollectionAsNote {
|
|
28
19
|
typeOf: CreativeWorkType.NoteDigitalDocument;
|
|
29
20
|
about: Pick<INoteAbout, 'typeOf'>;
|
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -57,19 +57,6 @@ export interface IAggregateOfferOfPlace {
|
|
|
57
57
|
aggregateReservation?: Pick<IAggregateReservation, 'typeOf' | 'useActionCount'>;
|
|
58
58
|
}[];
|
|
59
59
|
}
|
|
60
|
-
export interface IPlaceWithAggregateOffer {
|
|
61
|
-
typeOf: PlaceType;
|
|
62
|
-
identifier?: string;
|
|
63
|
-
aggregateOffer?: IAggregateOfferOfPlace;
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* 入場ゲート集計
|
|
67
|
-
*/
|
|
68
|
-
export interface IAggregateEntranceGate {
|
|
69
|
-
typeOf: PlaceType.AggregatePlace;
|
|
70
|
-
aggregateDate: Date;
|
|
71
|
-
places: IPlaceWithAggregateOffer[];
|
|
72
|
-
}
|
|
73
60
|
export type IServiceType = IProductServiceType & {
|
|
74
61
|
id?: string;
|
|
75
62
|
};
|
|
@@ -12,7 +12,6 @@ import * as AnyEventFactory from './anyEvent';
|
|
|
12
12
|
export import IAggregateReservation = AnyEventFactory.IAggregateReservation;
|
|
13
13
|
export import IOfferWithAggregateReservation = AnyEventFactory.IOfferWithAggregateReservation;
|
|
14
14
|
export import IAggregateOffer = AnyEventFactory.IAggregateOffer;
|
|
15
|
-
export import IAggregateEntranceGate = AnyEventFactory.IAggregateEntranceGate;
|
|
16
15
|
export import IOfferAvailableAtOrFrom = AnyEventFactory.IOfferAvailableAtOrFrom;
|
|
17
16
|
export import IEventOfferForMemberTier = AnyEventFactory.IEventOfferForMemberTier;
|
|
18
17
|
export import ISellerMakesOffer = AnyEventFactory.ISellerMakesOffer;
|
|
@@ -142,7 +141,7 @@ export type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
|
|
|
142
141
|
usePoint: number;
|
|
143
142
|
};
|
|
144
143
|
export import ILocation = AnyEventFactory.ILocation;
|
|
145
|
-
export type ISuperEvent = Pick<IEventSeries, 'typeOf' | 'id' | '
|
|
144
|
+
export type ISuperEvent = Pick<IEventSeries, 'typeOf' | 'id' | 'soundFormat' | 'workPerformed' | 'location' | 'kanaName' | 'name' | 'additionalProperty' | 'description' | 'headline' | 'dubLanguage' | 'subtitleLanguage' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
146
145
|
startDate?: Date;
|
|
147
146
|
endDate?: Date;
|
|
148
147
|
};
|
|
@@ -179,9 +178,9 @@ export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod' | 'identifie
|
|
|
179
178
|
*/
|
|
180
179
|
eligibleQuantity: Pick<IEligibleQuantity, 'maxValue'>;
|
|
181
180
|
/**
|
|
182
|
-
* 興行ID
|
|
181
|
+
* 興行ID
|
|
183
182
|
*/
|
|
184
|
-
itemOffered: Pick<IItemOffered, 'id'
|
|
183
|
+
itemOffered: Pick<IItemOffered, 'id'>;
|
|
185
184
|
/**
|
|
186
185
|
* アプリケーション設定
|
|
187
186
|
*/
|
|
@@ -33,6 +33,23 @@ export interface ISoundFormat {
|
|
|
33
33
|
typeOf: string;
|
|
34
34
|
name: string;
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* サブイベント
|
|
38
|
+
* 施設コンテンツに所属するScreeningEventの属性など
|
|
39
|
+
*/
|
|
40
|
+
export interface ISubEvent {
|
|
41
|
+
typeOf: EventType.ScreeningEvent;
|
|
42
|
+
/**
|
|
43
|
+
* 上映方式区分コードリスト
|
|
44
|
+
*/
|
|
45
|
+
videoFormat?: string[];
|
|
46
|
+
}
|
|
47
|
+
export interface IOrganizer {
|
|
48
|
+
/**
|
|
49
|
+
* 販売者ID
|
|
50
|
+
*/
|
|
51
|
+
id: string;
|
|
52
|
+
}
|
|
36
53
|
/**
|
|
37
54
|
* コンテンツ
|
|
38
55
|
* contentRatingはCOAのみ存在
|
|
@@ -101,15 +118,12 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
|
|
|
101
118
|
* 吹替利用可能言語
|
|
102
119
|
*/
|
|
103
120
|
dubLanguage?: ILanguage;
|
|
104
|
-
|
|
105
|
-
* 上映方式
|
|
106
|
-
* discontinue ICOAKubun(2024-09-18~)
|
|
107
|
-
*/
|
|
108
|
-
videoFormat: IVideoFormat[];
|
|
121
|
+
videoFormat?: never;
|
|
109
122
|
/**
|
|
110
123
|
* 音響方式
|
|
111
124
|
*/
|
|
112
|
-
soundFormat
|
|
125
|
+
soundFormat?: ISoundFormat[];
|
|
126
|
+
subEvent?: ISubEvent;
|
|
113
127
|
/**
|
|
114
128
|
* コンテンツ
|
|
115
129
|
*/
|
|
@@ -150,23 +164,20 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
|
|
|
150
164
|
* 施設コンテンツ
|
|
151
165
|
*/
|
|
152
166
|
export type IEvent = EventFactory.IEvent<IAttributes>;
|
|
167
|
+
/**
|
|
168
|
+
* 施設コンテンツ追加時の利用不可決済方法区分指定
|
|
169
|
+
* offerType:AggregateOfferの場合、指定は無視される
|
|
170
|
+
*/
|
|
153
171
|
export type IOffers4create = Pick<ISingleOffer, 'unacceptedPaymentMethod'> & {
|
|
154
172
|
typeOf?: never;
|
|
155
|
-
} | Pick<IAggregateOffer, 'typeOf'> & {
|
|
156
|
-
unacceptedPaymentMethod?: never;
|
|
157
173
|
};
|
|
158
174
|
/**
|
|
159
175
|
* 施設コンテンツ作成パラメータ
|
|
160
176
|
*/
|
|
161
|
-
export type ICreateParams = Pick<IAttributes, '
|
|
177
|
+
export type ICreateParams = Pick<IAttributes, 'name' | 'duration' | 'endDate' | 'headline' | 'startDate' | 'additionalProperty' | 'kanaName' | 'description'> & {
|
|
162
178
|
subtitleLanguage?: Pick<ILanguage, 'name'>;
|
|
163
179
|
dubLanguage?: Pick<ILanguage, 'name'>;
|
|
164
|
-
location
|
|
165
|
-
/**
|
|
166
|
-
* 施設ID
|
|
167
|
-
*/
|
|
168
|
-
id: string;
|
|
169
|
-
};
|
|
180
|
+
location?: never;
|
|
170
181
|
offers?: IOffers4create;
|
|
171
182
|
workPerformed: {
|
|
172
183
|
/**
|
|
@@ -175,9 +186,9 @@ export type ICreateParams = Pick<IAttributes, 'typeOf' | 'name' | 'duration' | '
|
|
|
175
186
|
identifier: string;
|
|
176
187
|
/**
|
|
177
188
|
* 同コンテンツに対する複数施設コンテンツのバージョン
|
|
178
|
-
*
|
|
189
|
+
* 施設+コンテンツ+バージョンでuniqueな想定
|
|
179
190
|
*/
|
|
180
|
-
version
|
|
191
|
+
version: string;
|
|
181
192
|
};
|
|
182
193
|
videoFormat: {
|
|
183
194
|
/**
|
package/lib/index.d.ts
CHANGED
|
@@ -106,6 +106,7 @@ import * as PermitFactory from './permit';
|
|
|
106
106
|
import * as PersonFactory from './person';
|
|
107
107
|
import { PersonType } from './personType';
|
|
108
108
|
import * as BusStopFactory from './place/busStop';
|
|
109
|
+
import * as EntranceGateFactory from './place/entranceGate';
|
|
109
110
|
import * as MovieTheaterPlaceFactory from './place/movieTheater';
|
|
110
111
|
import * as ScreeningRoomPlaceFactory from './place/screeningRoom';
|
|
111
112
|
import * as ScreeningRoomSectionPlaceFactory from './place/screeningRoomSection';
|
|
@@ -184,7 +185,6 @@ import * as ConfirmRegisterServiceTaskFactory from './task/confirmRegisterServic
|
|
|
184
185
|
import * as ConfirmRegisterServiceTransactionTaskFactory from './task/confirmRegisterServiceTransaction';
|
|
185
186
|
import * as ConfirmReserveTransactionTaskFactory from './task/confirmReserveTransaction';
|
|
186
187
|
import * as CreateAccountingReportTaskFactory from './task/createAccountingReport';
|
|
187
|
-
import * as CreateEventTaskFactory from './task/createEvent';
|
|
188
188
|
import * as DeletePersonTaskFactory from './task/deletePerson';
|
|
189
189
|
import * as DeleteTransactionTaskFactory from './task/deleteTransaction';
|
|
190
190
|
import * as GivePointAwardTaskFactory from './task/givePointAward';
|
|
@@ -198,6 +198,7 @@ import * as OnAssetTransactionStatusChangedTaskFactory from './task/onAssetTrans
|
|
|
198
198
|
import * as OnAuthorizationCreatedTaskFactory from './task/onAuthorizationCreated';
|
|
199
199
|
import * as OnEventChangedTaskFactory from './task/onEventChanged';
|
|
200
200
|
import * as OnOrderPaymentCompletedTaskFactory from './task/onOrderPaymentCompleted';
|
|
201
|
+
import * as OnResourceDeletedTaskFactory from './task/onResourceDeleted';
|
|
201
202
|
import * as OnResourceUpdatedTaskFactory from './task/onResourceUpdated';
|
|
202
203
|
import * as PayTaskFactory from './task/pay';
|
|
203
204
|
import * as PlaceOrderTaskFactory from './task/placeOrder';
|
|
@@ -212,6 +213,7 @@ import * as ReturnPointAwardTaskFactory from './task/returnPointAward';
|
|
|
212
213
|
import * as ReturnReserveTransactionTaskFactory from './task/returnReserveTransaction';
|
|
213
214
|
import * as SendEmailMessageTaskFactory from './task/sendEmailMessage';
|
|
214
215
|
import * as SendOrderTaskFactory from './task/sendOrder';
|
|
216
|
+
import * as SyncResourcesFromCOATaskFactory from './task/syncResourcesFromCOA';
|
|
215
217
|
import * as TriggerWebhookTaskFactory from './task/triggerWebhook';
|
|
216
218
|
import * as UseReservationTaskFactory from './task/useReservation';
|
|
217
219
|
import * as VoidMoneyTransferTransactionTaskFactory from './task/voidMoneyTransferTransaction';
|
|
@@ -450,6 +452,7 @@ export import personType = PersonType;
|
|
|
450
452
|
export import priceCurrency = PriceCurrency;
|
|
451
453
|
export declare namespace place {
|
|
452
454
|
export import busStop = BusStopFactory;
|
|
455
|
+
export import entranceGate = EntranceGateFactory;
|
|
453
456
|
export import movieTheater = MovieTheaterPlaceFactory;
|
|
454
457
|
export import screeningRoom = ScreeningRoomPlaceFactory;
|
|
455
458
|
export import screeningRoomSection = ScreeningRoomSectionPlaceFactory;
|
|
@@ -519,9 +522,9 @@ export import schedule = ScheduleFactory;
|
|
|
519
522
|
export import seller = SellerFactory;
|
|
520
523
|
export import sellerReturnPolicy = SellerReturnPolicyFactory;
|
|
521
524
|
export declare namespace task {
|
|
522
|
-
type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.
|
|
523
|
-
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.
|
|
524
|
-
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.
|
|
525
|
+
type IData<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IData : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IData : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IData : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IData : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IData : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IData : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IData : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IData : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IData : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IData : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IData : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IData : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IData : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IData : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IData : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IData : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IData : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IData : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IData : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IData : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IData : T extends TaskName.SendOrder ? SendOrderTaskFactory.IData : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IData : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IData : T extends TaskName.UseReservation ? UseReservationTaskFactory.IData : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IData : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IData : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IData : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IData : TaskFactory.IData;
|
|
526
|
+
type IAttributes<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.IAttributes : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.IAttributes : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.IAttributes : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.IAttributes : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.IAttributes : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.IAttributes : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.IAttributes : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.IAttributes : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.IAttributes : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.IAttributes : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.IAttributes : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.IAttributes : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.IAttributes : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.IAttributes : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.IAttributes : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.IAttributes : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.IAttributes : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.IAttributes : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.IAttributes : T extends TaskName.SendOrder ? SendOrderTaskFactory.IAttributes : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.IAttributes : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.IAttributes : T extends TaskName.UseReservation ? UseReservationTaskFactory.IAttributes : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.IAttributes : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.IAttributes : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.IAttributes : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.IAttributes : TaskFactory.IAttributes;
|
|
527
|
+
type ITask<T extends TaskName | string> = T extends TaskName.ConfirmReserveTransaction ? ConfirmReserveTransactionTaskFactory.ITask : T extends TaskName.CreateAccountingReport ? CreateAccountingReportTaskFactory.ITask : T extends TaskName.DeletePerson ? DeletePersonTaskFactory.ITask : T extends TaskName.DeleteTransaction ? DeleteTransactionTaskFactory.ITask : T extends TaskName.GivePointAward ? GivePointAwardTaskFactory.ITask : T extends TaskName.ConfirmMoneyTransfer ? ConfirmMoneyTransferTaskFactory.ITask : T extends TaskName.OnAssetTransactionStatusChanged ? OnAssetTransactionStatusChangedTaskFactory.ITask : T extends TaskName.OnAuthorizationCreated ? OnAuthorizationCreatedTaskFactory.ITask : T extends TaskName.OnEventChanged ? OnEventChangedTaskFactory.ITask : T extends TaskName.OnOrderPaymentCompleted ? OnOrderPaymentCompletedTaskFactory.ITask : T extends TaskName.OnResourceDeleted ? OnResourceDeletedTaskFactory.ITask : T extends TaskName.OnResourceUpdated ? OnResourceUpdatedTaskFactory.ITask : T extends TaskName.PlaceOrder ? PlaceOrderTaskFactory.ITask : T extends TaskName.ConfirmRegisterService ? ConfirmRegisterServiceTaskFactory.ITask : T extends TaskName.ConfirmRegisterServiceTransaction ? ConfirmRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.ReturnMoneyTransfer ? ReturnMoneyTransferTaskFactory.ITask : T extends TaskName.ReturnOrder ? ReturnOrderTaskFactory.ITask : T extends TaskName.ReturnPayTransaction ? ReturnPayTransactionTaskFactory.ITask : T extends TaskName.ReturnPointAward ? ReturnPointAwardTaskFactory.ITask : T extends TaskName.ReturnReserveTransaction ? ReturnReserveTransactionTaskFactory.ITask : T extends TaskName.SendEmailMessage ? SendEmailMessageTaskFactory.ITask : T extends TaskName.SendOrder ? SendOrderTaskFactory.ITask : T extends TaskName.ConfirmPayTransaction ? ConfirmPayTransactionTaskFactory.ITask : T extends TaskName.TriggerWebhook ? TriggerWebhookTaskFactory.ITask : T extends TaskName.UseReservation ? UseReservationTaskFactory.ITask : T extends TaskName.VoidMoneyTransferTransaction ? VoidMoneyTransferTransactionTaskFactory.ITask : T extends TaskName.VoidPayTransaction ? VoidPayTransactionTaskFactory.ITask : T extends TaskName.VoidRegisterServiceTransaction ? VoidRegisterServiceTransactionTaskFactory.ITask : T extends TaskName.VoidReserveTransaction ? VoidReserveTransactionTaskFactory.ITask : TaskFactory.ITask;
|
|
525
528
|
export import ISearchConditions = TaskFactory.ISearchConditions;
|
|
526
529
|
export import IExecutionResult = TaskFactory.IExecutionResult;
|
|
527
530
|
export import acceptCOAOffer = AcceptCOAOfferTaskFactory;
|
|
@@ -534,7 +537,6 @@ export declare namespace task {
|
|
|
534
537
|
export import cancelReservation = CancelReservationTaskFactory;
|
|
535
538
|
export import checkMovieTicket = CheckMovieTicketTaskFactory;
|
|
536
539
|
export import checkResource = CheckResourceTaskFactory;
|
|
537
|
-
export import createEvent = CreateEventTaskFactory;
|
|
538
540
|
export import CreateAccountingReport = CreateAccountingReportTaskFactory;
|
|
539
541
|
export import confirmReserveTransaction = ConfirmReserveTransactionTaskFactory;
|
|
540
542
|
export import deletePerson = DeletePersonTaskFactory;
|
|
@@ -551,11 +553,13 @@ export declare namespace task {
|
|
|
551
553
|
export import registerService = RegisterServiceTaskFactory;
|
|
552
554
|
export import reserve = ReserveTaskFactory;
|
|
553
555
|
export import sendEmailMessage = SendEmailMessageTaskFactory;
|
|
556
|
+
export import syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
|
|
554
557
|
export import triggerWebhook = TriggerWebhookTaskFactory;
|
|
555
558
|
export import useReservation = UseReservationTaskFactory;
|
|
556
559
|
export import voidPayment = VoidPaymentTaskFactory;
|
|
557
560
|
export import onAuthorizationCreated = OnAuthorizationCreatedTaskFactory;
|
|
558
561
|
export import onEventChanged = OnEventChangedTaskFactory;
|
|
562
|
+
export import onResourceDeleted = OnResourceDeletedTaskFactory;
|
|
559
563
|
export import onResourceUpdated = OnResourceUpdatedTaskFactory;
|
|
560
564
|
export import accountMoneyTransfer = AccountMoneyTransferTaskFactory;
|
|
561
565
|
export import cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
|
package/lib/index.js
CHANGED
|
@@ -105,6 +105,7 @@ var PermitFactory = require("./permit");
|
|
|
105
105
|
var PersonFactory = require("./person");
|
|
106
106
|
var personType_1 = require("./personType");
|
|
107
107
|
var BusStopFactory = require("./place/busStop");
|
|
108
|
+
var EntranceGateFactory = require("./place/entranceGate");
|
|
108
109
|
var MovieTheaterPlaceFactory = require("./place/movieTheater");
|
|
109
110
|
var ScreeningRoomPlaceFactory = require("./place/screeningRoom");
|
|
110
111
|
var ScreeningRoomSectionPlaceFactory = require("./place/screeningRoomSection");
|
|
@@ -174,7 +175,6 @@ var CheckMovieTicketTaskFactory = require("./task/checkMovieTicket");
|
|
|
174
175
|
var CheckResourceTaskFactory = require("./task/checkResource");
|
|
175
176
|
var ConfirmReserveTransactionTaskFactory = require("./task/confirmReserveTransaction");
|
|
176
177
|
var CreateAccountingReportTaskFactory = require("./task/createAccountingReport");
|
|
177
|
-
var CreateEventTaskFactory = require("./task/createEvent");
|
|
178
178
|
var DeletePersonTaskFactory = require("./task/deletePerson");
|
|
179
179
|
var DeleteTransactionTaskFactory = require("./task/deleteTransaction");
|
|
180
180
|
var HandleNotificationTaskFactory = require("./task/handleNotification");
|
|
@@ -185,6 +185,7 @@ var InvalidatePaymentUrlTaskFactory = require("./task/invalidatePaymentUrl");
|
|
|
185
185
|
var MoneyTransferTaskFactory = require("./task/moneyTransfer");
|
|
186
186
|
var OnAuthorizationCreatedTaskFactory = require("./task/onAuthorizationCreated");
|
|
187
187
|
var OnEventChangedTaskFactory = require("./task/onEventChanged");
|
|
188
|
+
var OnResourceDeletedTaskFactory = require("./task/onResourceDeleted");
|
|
188
189
|
var OnResourceUpdatedTaskFactory = require("./task/onResourceUpdated");
|
|
189
190
|
var PayTaskFactory = require("./task/pay");
|
|
190
191
|
var PublishPaymentUrlTaskFactory = require("./task/publishPaymentUrl");
|
|
@@ -192,6 +193,7 @@ var RefundTaskFactory = require("./task/refund");
|
|
|
192
193
|
var RegisterServiceTaskFactory = require("./task/registerService");
|
|
193
194
|
var ReserveTaskFactory = require("./task/reserve");
|
|
194
195
|
var SendEmailMessageTaskFactory = require("./task/sendEmailMessage");
|
|
196
|
+
var SyncResourcesFromCOATaskFactory = require("./task/syncResourcesFromCOA");
|
|
195
197
|
var TriggerWebhookTaskFactory = require("./task/triggerWebhook");
|
|
196
198
|
var UseReservationTaskFactory = require("./task/useReservation");
|
|
197
199
|
var VoidPaymentTaskFactory = require("./task/voidPayment");
|
|
@@ -479,6 +481,7 @@ exports.priceCurrency = priceCurrency_1.PriceCurrency;
|
|
|
479
481
|
var place;
|
|
480
482
|
(function (place) {
|
|
481
483
|
place.busStop = BusStopFactory;
|
|
484
|
+
place.entranceGate = EntranceGateFactory;
|
|
482
485
|
place.movieTheater = MovieTheaterPlaceFactory;
|
|
483
486
|
place.screeningRoom = ScreeningRoomPlaceFactory;
|
|
484
487
|
place.screeningRoomSection = ScreeningRoomSectionPlaceFactory;
|
|
@@ -533,7 +536,6 @@ var task;
|
|
|
533
536
|
task.cancelReservation = CancelReservationTaskFactory;
|
|
534
537
|
task.checkMovieTicket = CheckMovieTicketTaskFactory;
|
|
535
538
|
task.checkResource = CheckResourceTaskFactory;
|
|
536
|
-
task.createEvent = CreateEventTaskFactory;
|
|
537
539
|
task.CreateAccountingReport = CreateAccountingReportTaskFactory;
|
|
538
540
|
task.confirmReserveTransaction = ConfirmReserveTransactionTaskFactory;
|
|
539
541
|
task.deletePerson = DeletePersonTaskFactory;
|
|
@@ -550,11 +552,13 @@ var task;
|
|
|
550
552
|
task.registerService = RegisterServiceTaskFactory;
|
|
551
553
|
task.reserve = ReserveTaskFactory;
|
|
552
554
|
task.sendEmailMessage = SendEmailMessageTaskFactory;
|
|
555
|
+
task.syncResourcesFromCOA = SyncResourcesFromCOATaskFactory;
|
|
553
556
|
task.triggerWebhook = TriggerWebhookTaskFactory;
|
|
554
557
|
task.useReservation = UseReservationTaskFactory;
|
|
555
558
|
task.voidPayment = VoidPaymentTaskFactory;
|
|
556
559
|
task.onAuthorizationCreated = OnAuthorizationCreatedTaskFactory;
|
|
557
560
|
task.onEventChanged = OnEventChangedTaskFactory;
|
|
561
|
+
task.onResourceDeleted = OnResourceDeletedTaskFactory;
|
|
558
562
|
task.onResourceUpdated = OnResourceUpdatedTaskFactory;
|
|
559
563
|
task.accountMoneyTransfer = AccountMoneyTransferTaskFactory;
|
|
560
564
|
task.cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { IEvent as IEventSeries } from '../event/screeningEventSeries';
|
|
1
|
+
import { IEvent as IEventSeries, IVideoFormat } from '../event/screeningEventSeries';
|
|
2
2
|
/**
|
|
3
3
|
* 外部への施設コンテンツ通知
|
|
4
4
|
* redefine(2025-11-01~)
|
|
5
5
|
*/
|
|
6
|
-
export type IEventSeriesAsNotification = Pick<IEventSeries, 'project' | 'organizer' | 'typeOf' | 'name' | 'endDate' | 'location' | 'startDate' | 'id' | 'additionalProperty' | 'subtitleLanguage' | 'dubLanguage' | '
|
|
6
|
+
export type IEventSeriesAsNotification = Pick<IEventSeries, 'project' | 'organizer' | 'typeOf' | 'name' | 'endDate' | 'location' | 'startDate' | 'id' | 'additionalProperty' | 'subtitleLanguage' | 'dubLanguage' | 'soundFormat' | 'workPerformed' | 'kanaName' | 'alternativeHeadline' | 'description' | 'duration' | 'eventStatus' | 'headline'> & {
|
|
7
7
|
offers?: never;
|
|
8
|
+
videoFormat: IVideoFormat[];
|
|
8
9
|
};
|
|
@@ -1,9 +1,52 @@
|
|
|
1
|
-
import { IPlace as IMovieTheater, IPOS } from '../place/movieTheater';
|
|
1
|
+
import { IEntranceGate, IPlace as IMovieTheater, IPOS } from '../place/movieTheater';
|
|
2
2
|
import { IPlace as IScreeningRoom } from '../place/screeningRoom';
|
|
3
|
+
export type IContainsPlace = Pick<IScreeningRoom, 'branchCode' | 'name' | 'typeOf' | 'additionalProperty' | 'address'>;
|
|
4
|
+
/**
|
|
5
|
+
* ルーム通知
|
|
6
|
+
*/
|
|
7
|
+
export type IRoomAsNotification = IContainsPlace & {
|
|
8
|
+
/**
|
|
9
|
+
* 施設IDとルームコードで一意性を担保するので、現時点でルームIDは通知しない(2026-01-16~)
|
|
10
|
+
*/
|
|
11
|
+
id?: never;
|
|
12
|
+
containedInPlace: {
|
|
13
|
+
/**
|
|
14
|
+
* 施設ID
|
|
15
|
+
*/
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
project: {
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* 施設の入場ゲート通知
|
|
24
|
+
* define(2026-01-17~)
|
|
25
|
+
*/
|
|
26
|
+
export type IEntranceGateAsNotification = Pick<IMovieTheater, 'id' | 'typeOf'> & {
|
|
27
|
+
/**
|
|
28
|
+
* 編集分だけ通知
|
|
29
|
+
*/
|
|
30
|
+
hasEntranceGate: IEntranceGate[];
|
|
31
|
+
branchCode?: never;
|
|
32
|
+
hasPOS?: never;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* 施設のPOS通知
|
|
36
|
+
*/
|
|
3
37
|
export type IHasPOSAsNotification = Pick<IMovieTheater, 'id' | 'typeOf'> & {
|
|
38
|
+
/**
|
|
39
|
+
* 施設の全POSが通知
|
|
40
|
+
*/
|
|
4
41
|
hasPOS: IPOS[];
|
|
42
|
+
branchCode?: never;
|
|
43
|
+
hasEntranceGate?: never;
|
|
5
44
|
};
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
45
|
+
/**
|
|
46
|
+
* 施設通知
|
|
47
|
+
*/
|
|
48
|
+
export type IMovieTheaterAsNotification = Pick<IMovieTheater, 'id' | 'additionalProperty' | 'branchCode' | 'kanaName' | 'name' | 'parentOrganization' | 'project' | 'telephone' | 'url' | 'typeOf'> & {
|
|
49
|
+
containsPlace?: never;
|
|
50
|
+
hasPOS?: never;
|
|
51
|
+
hasEntranceGate?: never;
|
|
9
52
|
};
|
|
@@ -15,6 +15,10 @@ interface ISeller {
|
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
17
17
|
* 拡張可能なイベントオファー
|
|
18
|
+
* イベント(itemOffered)とアプリケーション(availableAtOrFrom)に対して有効期間を明確に定義する
|
|
19
|
+
* イベントIF内にもアプリケーションごとのオファー定義(makesOffer)が存在するが、そちらとのAND条件として検証される
|
|
20
|
+
* オファーコードはプロジェクトが任意に定義する(ただし、イベントID内でユニーク)
|
|
21
|
+
* 有効期間外のオファーは予告なく自動的に削除される
|
|
18
22
|
*/
|
|
19
23
|
interface IEventOffer extends Pick<IOffer, 'typeOf' | 'validFrom' | 'validThrough'> {
|
|
20
24
|
project: {
|
package/lib/offerCatalog.d.ts
CHANGED
|
@@ -159,3 +159,11 @@ export interface ISearchConditions {
|
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* カタログ編集パラメータ
|
|
164
|
+
*/
|
|
165
|
+
export type IUpdateOfferCatalogParams = Pick<IOfferCatalog, 'additionalProperty' | 'description' | 'identifier' | 'itemListElement' | 'itemOffered' | 'name'>;
|
|
166
|
+
/**
|
|
167
|
+
* サブカタログ編集パラメータ
|
|
168
|
+
*/
|
|
169
|
+
export type IUpdateOfferCatalogItemParams = Pick<IOfferCatalog, 'additionalProperty' | 'description' | 'identifier' | 'itemListElement' | 'itemOffered' | 'name' | 'relatedOffer'>;
|
package/lib/order.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export interface IReferencedInvoice {
|
|
|
88
88
|
referencesOrder?: never;
|
|
89
89
|
}
|
|
90
90
|
export type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
91
|
-
export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | '
|
|
91
|
+
export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
92
92
|
workPerformed: IWorkPerformed;
|
|
93
93
|
};
|
|
94
94
|
export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as PlaceFactory from '../place';
|
|
2
|
+
import { PlaceType } from '../placeType';
|
|
3
|
+
/**
|
|
4
|
+
* 入場ゲート
|
|
5
|
+
*/
|
|
6
|
+
export type IEntranceGate = Pick<PlaceFactory.IPlace, 'typeOf' | 'identifier' | 'name'> & {
|
|
7
|
+
typeOf: PlaceType.Place;
|
|
8
|
+
identifier: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 入場ゲート検索条件
|
|
12
|
+
*/
|
|
13
|
+
export interface ISearchConditions {
|
|
14
|
+
limit?: number;
|
|
15
|
+
page?: number;
|
|
16
|
+
/**
|
|
17
|
+
* プロジェクト
|
|
18
|
+
*/
|
|
19
|
+
project?: {
|
|
20
|
+
id?: {
|
|
21
|
+
$eq?: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
identifier?: {
|
|
25
|
+
$eq?: string;
|
|
26
|
+
$in?: string[];
|
|
27
|
+
};
|
|
28
|
+
}
|
|
@@ -6,6 +6,7 @@ import { IQuantitativeValue } from '../quantitativeValue';
|
|
|
6
6
|
import { ISeller } from '../seller';
|
|
7
7
|
import { SortType } from '../sortType';
|
|
8
8
|
import { UnitCode } from '../unitCode';
|
|
9
|
+
import { IEntranceGate } from './entranceGate';
|
|
9
10
|
export interface IAvailabilityStartsGraceTime extends Pick<IQuantitativeValue<UnitCode.Day>, 'typeOf' | 'value' | 'unitCode'> {
|
|
10
11
|
unitCode: UnitCode.Day;
|
|
11
12
|
value: number;
|
|
@@ -29,11 +30,11 @@ export interface IOffer extends Pick<OfferFactory.IOffer, 'typeOf' | 'eligibleQu
|
|
|
29
30
|
/**
|
|
30
31
|
* イベント開始前の販売猶予期間(POS)
|
|
31
32
|
*/
|
|
32
|
-
availabilityStartsGraceTimeOnPOS
|
|
33
|
+
availabilityStartsGraceTimeOnPOS?: never;
|
|
33
34
|
/**
|
|
34
35
|
* イベント開始後の販売猶予期間(POS)
|
|
35
36
|
*/
|
|
36
|
-
availabilityEndsGraceTimeOnPOS
|
|
37
|
+
availabilityEndsGraceTimeOnPOS?: never;
|
|
37
38
|
}
|
|
38
39
|
/**
|
|
39
40
|
* 施設の操作するPoints-of-Sales
|
|
@@ -53,13 +54,7 @@ export interface IPOS {
|
|
|
53
54
|
*/
|
|
54
55
|
name: string;
|
|
55
56
|
}
|
|
56
|
-
|
|
57
|
-
* 入場ゲート
|
|
58
|
-
*/
|
|
59
|
-
export type IEntranceGate = Pick<PlaceFactory.IPlace, 'typeOf' | 'identifier' | 'name'> & {
|
|
60
|
-
typeOf: PlaceType.Place;
|
|
61
|
-
identifier: string;
|
|
62
|
-
};
|
|
57
|
+
export { IEntranceGate };
|
|
63
58
|
/**
|
|
64
59
|
* 親組織
|
|
65
60
|
*/
|
|
@@ -123,6 +118,14 @@ export interface ISearchConditions {
|
|
|
123
118
|
$eq?: string;
|
|
124
119
|
};
|
|
125
120
|
};
|
|
121
|
+
/**
|
|
122
|
+
* 所属販売者
|
|
123
|
+
*/
|
|
124
|
+
seller?: {
|
|
125
|
+
id?: {
|
|
126
|
+
$eq?: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
126
129
|
id?: {
|
|
127
130
|
$eq?: string;
|
|
128
131
|
$in?: string[];
|
|
@@ -45,14 +45,29 @@ export interface ISearchConditions {
|
|
|
45
45
|
$eq?: string;
|
|
46
46
|
$regex?: string;
|
|
47
47
|
};
|
|
48
|
+
/**
|
|
49
|
+
* ルーム
|
|
50
|
+
*/
|
|
48
51
|
containedInPlace?: {
|
|
52
|
+
/**
|
|
53
|
+
* ルームコード
|
|
54
|
+
*/
|
|
49
55
|
branchCode?: {
|
|
50
56
|
$eq?: string;
|
|
51
57
|
};
|
|
52
|
-
containedInPlace
|
|
58
|
+
containedInPlace?: {
|
|
59
|
+
/**
|
|
60
|
+
* 施設コード
|
|
61
|
+
*/
|
|
53
62
|
branchCode?: {
|
|
54
63
|
$eq?: string;
|
|
55
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* 施設ID
|
|
67
|
+
*/
|
|
68
|
+
id?: {
|
|
69
|
+
$eq?: string;
|
|
70
|
+
};
|
|
56
71
|
};
|
|
57
72
|
};
|
|
58
73
|
name?: {
|
package/lib/placeType.d.ts
CHANGED
package/lib/placeType.js
CHANGED
|
@@ -8,6 +8,7 @@ var PlaceType;
|
|
|
8
8
|
(function (PlaceType) {
|
|
9
9
|
PlaceType["AggregatePlace"] = "AggregatePlace";
|
|
10
10
|
PlaceType["BusStop"] = "BusStop";
|
|
11
|
+
PlaceType["EntranceGate"] = "EntranceGate";
|
|
11
12
|
PlaceType["MovieTheater"] = "MovieTheater";
|
|
12
13
|
PlaceType["Place"] = "Place";
|
|
13
14
|
PlaceType["ScreeningRoom"] = "ScreeningRoom";
|
|
@@ -13,7 +13,7 @@ import { ReservationType } from '../reservationType';
|
|
|
13
13
|
export type IOptimizedWorkPerformed = Pick<IWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'duration' | 'contentRating' | 'version'> & {
|
|
14
14
|
name?: string | IMultilingualString;
|
|
15
15
|
};
|
|
16
|
-
export type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | '
|
|
16
|
+
export type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
17
17
|
workPerformed: IOptimizedWorkPerformed;
|
|
18
18
|
};
|
|
19
19
|
export interface IReservationFor {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { IObjectWithoutDetail, IPurpose } from '../action/authorize/paymentMethod/any';
|
|
2
|
-
import { ILocation } from '../action/trade/pay';
|
|
2
|
+
import { IAcceptedPaymentMethodOfferAsInstrument, ILocation } from '../action/trade/pay';
|
|
3
3
|
import { IExtendId } from '../autoGenerated';
|
|
4
4
|
import { PaymentServiceType } from '../service/paymentService';
|
|
5
5
|
import * as TaskFactory from '../task';
|
|
6
6
|
import { TaskName } from '../taskName';
|
|
7
|
+
export type IInstrument = IAcceptedPaymentMethodOfferAsInstrument;
|
|
7
8
|
export interface IData {
|
|
8
9
|
project: {
|
|
9
10
|
id: string;
|
|
@@ -28,6 +29,10 @@ export interface IData {
|
|
|
28
29
|
id: string;
|
|
29
30
|
};
|
|
30
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* クレジットカードIFあるいは決済カードIFの場合に対応決済方法オファーを指定する
|
|
34
|
+
*/
|
|
35
|
+
instrument?: IInstrument[];
|
|
31
36
|
}
|
|
32
37
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
33
38
|
name: TaskName.AuthorizePayment;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { IExtendId } from '../autoGenerated';
|
|
2
|
+
import { ICategoryCode } from '../categoryCode';
|
|
3
|
+
import { EventType } from '../eventType';
|
|
4
|
+
import { IOfferCatalog } from '../offerCatalog';
|
|
5
|
+
import { OfferType } from '../offerType';
|
|
6
|
+
import { OrganizationType } from '../organizationType';
|
|
7
|
+
import { PlaceType } from '../placeType';
|
|
8
|
+
import { ProductType } from '../product';
|
|
9
|
+
import * as TaskFactory from '../task';
|
|
10
|
+
import { TaskName } from '../taskName';
|
|
11
|
+
export type CategoryCodeType = ICategoryCode['typeOf'];
|
|
12
|
+
export type OfferCatalogType = IOfferCatalog['typeOf'];
|
|
13
|
+
export type IResourceTypeOf = CategoryCodeType | EventType.ScreeningEventSeries | OrganizationType.Corporation | PlaceType.MovieTheater | ProductType | OfferCatalogType | OfferType.AggregateOffer;
|
|
14
|
+
export interface IData4common {
|
|
15
|
+
/**
|
|
16
|
+
* リソースIDリスト
|
|
17
|
+
*/
|
|
18
|
+
id: string[];
|
|
19
|
+
project: {
|
|
20
|
+
id: string;
|
|
21
|
+
};
|
|
22
|
+
typeOf: IResourceTypeOf;
|
|
23
|
+
isNew: boolean;
|
|
24
|
+
isDeleted: true;
|
|
25
|
+
useInform: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* typeOf: OfferCatalogのリポジトリを判定するため
|
|
28
|
+
*/
|
|
29
|
+
isOfferCatalogItem?: boolean;
|
|
30
|
+
branchCode?: never;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* ルーム変更の場合のタスクデータ
|
|
34
|
+
*/
|
|
35
|
+
export interface IData4screeningRoom {
|
|
36
|
+
/**
|
|
37
|
+
* ルームコードリスト
|
|
38
|
+
*/
|
|
39
|
+
branchCode: string[];
|
|
40
|
+
containedInPlace: {
|
|
41
|
+
/**
|
|
42
|
+
* 施設ID
|
|
43
|
+
*/
|
|
44
|
+
id: string;
|
|
45
|
+
};
|
|
46
|
+
project: {
|
|
47
|
+
id: string;
|
|
48
|
+
};
|
|
49
|
+
typeOf: PlaceType.ScreeningRoom;
|
|
50
|
+
isNew?: never;
|
|
51
|
+
isDeleted: true;
|
|
52
|
+
useInform: boolean;
|
|
53
|
+
}
|
|
54
|
+
export interface IData4pos {
|
|
55
|
+
/**
|
|
56
|
+
* コード
|
|
57
|
+
*/
|
|
58
|
+
branchCode: string;
|
|
59
|
+
operator: {
|
|
60
|
+
/**
|
|
61
|
+
* 施設ID
|
|
62
|
+
*/
|
|
63
|
+
id: string;
|
|
64
|
+
};
|
|
65
|
+
project: {
|
|
66
|
+
id: string;
|
|
67
|
+
};
|
|
68
|
+
typeOf: 'POS';
|
|
69
|
+
isNew: boolean;
|
|
70
|
+
isDeleted: true;
|
|
71
|
+
useInform: boolean;
|
|
72
|
+
}
|
|
73
|
+
export type IData = IData4common | IData4screeningRoom | IData4pos;
|
|
74
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
75
|
+
name: TaskName.OnResourceDeleted;
|
|
76
|
+
data: IData;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* リソース変更時タスク
|
|
80
|
+
*/
|
|
81
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -15,24 +15,31 @@ export type CategoryCodeType = ICategoryCode['typeOf'];
|
|
|
15
15
|
export type OfferCatalogType = IOfferCatalog['typeOf'];
|
|
16
16
|
export type IResourceTypeOf = AccountTitleType | CategoryCodeType | CreativeWorkType.Movie | CreativeWorkType.NoteDigitalDocument | EventType.ScreeningEventSeries | OrganizationType.Corporation | PlaceType.MovieTheater | ProductType | OfferCatalogType | OfferType.AggregateOffer;
|
|
17
17
|
export interface IData4common {
|
|
18
|
+
/**
|
|
19
|
+
* リソースIDリスト
|
|
20
|
+
*/
|
|
18
21
|
id: string[];
|
|
19
22
|
project: {
|
|
20
23
|
id: string;
|
|
21
24
|
};
|
|
22
25
|
typeOf: IResourceTypeOf;
|
|
23
26
|
isNew: boolean;
|
|
24
|
-
isDeleted?: boolean;
|
|
25
27
|
useInform: boolean;
|
|
26
28
|
/**
|
|
27
29
|
* typeOf: OfferCatalogのリポジトリを判定するため
|
|
28
30
|
*/
|
|
29
31
|
isOfferCatalogItem?: boolean;
|
|
32
|
+
branchCode?: never;
|
|
33
|
+
isDeleted?: never;
|
|
30
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* ルーム変更の場合のタスクデータ
|
|
37
|
+
*/
|
|
31
38
|
export interface IData4screeningRoom {
|
|
32
39
|
/**
|
|
33
|
-
*
|
|
40
|
+
* ルームコードリスト
|
|
34
41
|
*/
|
|
35
|
-
branchCode: string;
|
|
42
|
+
branchCode: string[];
|
|
36
43
|
containedInPlace: {
|
|
37
44
|
/**
|
|
38
45
|
* 施設ID
|
|
@@ -43,8 +50,9 @@ export interface IData4screeningRoom {
|
|
|
43
50
|
id: string;
|
|
44
51
|
};
|
|
45
52
|
typeOf: PlaceType.ScreeningRoom;
|
|
46
|
-
|
|
53
|
+
isNew?: never;
|
|
47
54
|
useInform: boolean;
|
|
55
|
+
isDeleted?: never;
|
|
48
56
|
}
|
|
49
57
|
export interface IData4pos {
|
|
50
58
|
/**
|
|
@@ -62,10 +70,32 @@ export interface IData4pos {
|
|
|
62
70
|
};
|
|
63
71
|
typeOf: 'POS';
|
|
64
72
|
isNew: boolean;
|
|
65
|
-
isDeleted: boolean;
|
|
66
73
|
useInform: boolean;
|
|
74
|
+
isDeleted?: never;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* 入場ゲート変更の場合のタスクデータ
|
|
78
|
+
*/
|
|
79
|
+
export interface IData4entranceGate {
|
|
80
|
+
/**
|
|
81
|
+
* コードリスト
|
|
82
|
+
*/
|
|
83
|
+
identifier: string[];
|
|
84
|
+
containedInPlace: {
|
|
85
|
+
/**
|
|
86
|
+
* 施設ID
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
};
|
|
90
|
+
project: {
|
|
91
|
+
id: string;
|
|
92
|
+
};
|
|
93
|
+
typeOf: PlaceType.EntranceGate;
|
|
94
|
+
useInform: boolean;
|
|
95
|
+
isNew?: never;
|
|
96
|
+
isDeleted?: never;
|
|
67
97
|
}
|
|
68
|
-
export type IData = IData4common | IData4screeningRoom | IData4pos;
|
|
98
|
+
export type IData = IData4common | IData4screeningRoom | IData4pos | IData4entranceGate;
|
|
69
99
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
70
100
|
name: TaskName.OnResourceUpdated;
|
|
71
101
|
data: IData;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { IAuthorizeCreditCardObject, IPurpose } from '../action/authorize/paymentMethod/any';
|
|
2
|
-
import { ILocation } from '../action/trade/pay';
|
|
2
|
+
import { IAcceptedPaymentMethodOfferAsInstrument, ILocation } from '../action/trade/pay';
|
|
3
3
|
import { IExtendId } from '../autoGenerated';
|
|
4
4
|
import { PaymentServiceType } from '../service/paymentService';
|
|
5
5
|
import * as TaskFactory from '../task';
|
|
6
6
|
import { TaskName } from '../taskName';
|
|
7
|
+
export type IInstrument = IAcceptedPaymentMethodOfferAsInstrument;
|
|
7
8
|
export interface IData {
|
|
8
9
|
project: {
|
|
9
10
|
id: string;
|
|
@@ -20,6 +21,10 @@ export interface IData {
|
|
|
20
21
|
* authorize payment action identifier
|
|
21
22
|
*/
|
|
22
23
|
identifier?: string;
|
|
24
|
+
/**
|
|
25
|
+
* クレジットカードIFあるいは決済カードIFの場合に対応決済方法オファーを指定する
|
|
26
|
+
*/
|
|
27
|
+
instrument?: IInstrument[];
|
|
23
28
|
}
|
|
24
29
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
25
30
|
name: TaskName.PublishPaymentUrl;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IParticipantAsPerson, IParticipantAsSoftwareApplication, IParticipantAsWebApplication } from '../action';
|
|
2
|
+
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import { EventType } from '../eventType';
|
|
4
|
+
import * as TaskFactory from '../task';
|
|
5
|
+
import { TaskName } from '../taskName';
|
|
6
|
+
export type IAgent = IParticipantAsPerson | IParticipantAsSoftwareApplication | IParticipantAsWebApplication;
|
|
7
|
+
export interface IReplaceEventSeriesAction {
|
|
8
|
+
agent: IAgent;
|
|
9
|
+
object: {
|
|
10
|
+
locationBranchCode: string;
|
|
11
|
+
titleCode: string;
|
|
12
|
+
titleBranchNum: string;
|
|
13
|
+
typeOf: EventType.ScreeningEventSeries;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export interface IReplaceEventsAction {
|
|
17
|
+
agent: IAgent;
|
|
18
|
+
object: {
|
|
19
|
+
locationBranchCode: string;
|
|
20
|
+
roomCode: string;
|
|
21
|
+
titleCode: string;
|
|
22
|
+
titleBranchNum: string;
|
|
23
|
+
startDate: Date;
|
|
24
|
+
typeOf: EventType.ScreeningEvent;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export type IData = IReplaceEventSeriesAction | IReplaceEventsAction;
|
|
28
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
29
|
+
name: TaskName.SyncResourcesFromCOA;
|
|
30
|
+
data: IData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* リソース同期タスク
|
|
34
|
+
*/
|
|
35
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -11,7 +11,7 @@ import { IOfferCatalogAsNotification } from '../notification/offerCatalog';
|
|
|
11
11
|
import { IOrder4inform } from '../notification/order';
|
|
12
12
|
import { IPayAction4inform } from '../notification/payAction';
|
|
13
13
|
import { IPersonAsNotification } from '../notification/person';
|
|
14
|
-
import { IHasPOSAsNotification, IMovieTheaterAsNotification } from '../notification/place';
|
|
14
|
+
import { IEntranceGateAsNotification, IHasPOSAsNotification, IMovieTheaterAsNotification, IRoomAsNotification } from '../notification/place';
|
|
15
15
|
import { IProductAsNotification } from '../notification/product';
|
|
16
16
|
import { IRefundAction4inform } from '../notification/refundAction';
|
|
17
17
|
import { IReservation4inform } from '../notification/reservation';
|
|
@@ -25,7 +25,7 @@ export type IDeprecatedRecipient = Pick<IRecipientDeprecated, 'id' | 'name' | 't
|
|
|
25
25
|
/**
|
|
26
26
|
* define strictly(2025-02-20~)
|
|
27
27
|
*/
|
|
28
|
-
export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
|
|
28
|
+
export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IEntranceGateAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
|
|
29
29
|
export type IInformAnyResourceAction = Pick<IInformActionAttributes<IAnyResourceAsObject>, 'object' | 'about'> & {
|
|
30
30
|
/**
|
|
31
31
|
* 通知識別子(2024-10-24~)
|
package/lib/taskName.d.ts
CHANGED
|
@@ -53,10 +53,6 @@ export declare enum TaskName {
|
|
|
53
53
|
* 経理レポート作成
|
|
54
54
|
*/
|
|
55
55
|
CreateAccountingReport = "createAccountingReport",
|
|
56
|
-
/**
|
|
57
|
-
* イベント作成
|
|
58
|
-
*/
|
|
59
|
-
CreateEvent = "createEvent",
|
|
60
56
|
DeletePerson = "deletePerson",
|
|
61
57
|
DeleteTransaction = "deleteTransaction",
|
|
62
58
|
/**
|
|
@@ -72,6 +68,7 @@ export declare enum TaskName {
|
|
|
72
68
|
OnAssetTransactionStatusChanged = "onAssetTransactionStatusChanged",
|
|
73
69
|
OnAuthorizationCreated = "onAuthorizationCreated",
|
|
74
70
|
OnEventChanged = "onEventChanged",
|
|
71
|
+
OnResourceDeleted = "onResourceDeleted",
|
|
75
72
|
OnResourceUpdated = "onResourceUpdated",
|
|
76
73
|
OnOrderPaymentCompleted = "onOrderPaymentCompleted",
|
|
77
74
|
Pay = "pay",
|
|
@@ -114,6 +111,7 @@ export declare enum TaskName {
|
|
|
114
111
|
* 注文配送
|
|
115
112
|
*/
|
|
116
113
|
SendOrder = "sendOrder",
|
|
114
|
+
SyncResourcesFromCOA = "syncResourcesFromCOA",
|
|
117
115
|
/**
|
|
118
116
|
* ウェブフックをたたく
|
|
119
117
|
*/
|
package/lib/taskName.js
CHANGED
|
@@ -57,10 +57,10 @@ var TaskName;
|
|
|
57
57
|
* 経理レポート作成
|
|
58
58
|
*/
|
|
59
59
|
TaskName["CreateAccountingReport"] = "createAccountingReport";
|
|
60
|
-
/**
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
// /**
|
|
61
|
+
// * イベント作成
|
|
62
|
+
// */
|
|
63
|
+
// CreateEvent = 'createEvent', // discontinue(2026-02-14~)
|
|
64
64
|
TaskName["DeletePerson"] = "deletePerson";
|
|
65
65
|
TaskName["DeleteTransaction"] = "deleteTransaction";
|
|
66
66
|
/**
|
|
@@ -76,6 +76,7 @@ var TaskName;
|
|
|
76
76
|
TaskName["OnAssetTransactionStatusChanged"] = "onAssetTransactionStatusChanged";
|
|
77
77
|
TaskName["OnAuthorizationCreated"] = "onAuthorizationCreated";
|
|
78
78
|
TaskName["OnEventChanged"] = "onEventChanged";
|
|
79
|
+
TaskName["OnResourceDeleted"] = "onResourceDeleted";
|
|
79
80
|
TaskName["OnResourceUpdated"] = "onResourceUpdated";
|
|
80
81
|
TaskName["OnOrderPaymentCompleted"] = "onOrderPaymentCompleted";
|
|
81
82
|
// OrderProgramMembership = 'orderProgramMembership', // 廃止(2023-08-18~)
|
|
@@ -119,6 +120,7 @@ var TaskName;
|
|
|
119
120
|
* 注文配送
|
|
120
121
|
*/
|
|
121
122
|
TaskName["SendOrder"] = "sendOrder";
|
|
123
|
+
TaskName["SyncResourcesFromCOA"] = "syncResourcesFromCOA";
|
|
122
124
|
/**
|
|
123
125
|
* ウェブフックをたたく
|
|
124
126
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chevre/factory",
|
|
3
|
-
"version": "5.4.0-alpha.
|
|
3
|
+
"version": "5.4.0-alpha.31",
|
|
4
4
|
"description": "Chevre Factory Library for Javascript",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"license": "UNLICENSED",
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/mocha": "^5.2.7",
|
|
45
|
-
"@types/node": "
|
|
45
|
+
"@types/node": "22.19.7",
|
|
46
46
|
"coveralls": "3.1.1",
|
|
47
47
|
"mocha": "^5.2.0",
|
|
48
48
|
"nyc": "15.1.0",
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IAttributes as IAddActionAttributes, IInstrumentWithAddEventSeriesOption, IObjectAsEventBySchedule, IObjectAsEventSeriesAttributes } from '../action/update/add';
|
|
2
|
-
import { IExtendId } from '../autoGenerated';
|
|
3
|
-
import * as TaskFactory from '../task';
|
|
4
|
-
import { TaskName } from '../taskName';
|
|
5
|
-
export type IAddEventSeriesAction = Pick<IAddActionAttributes, 'agent' | 'object' | 'project' | 'targetCollection' | 'typeOf'> & {
|
|
6
|
-
object: IObjectAsEventSeriesAttributes[];
|
|
7
|
-
instrument: IInstrumentWithAddEventSeriesOption;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* スケジュールによるイベント作成アクション
|
|
11
|
-
*/
|
|
12
|
-
export type IAddEventByScheduleAction = Pick<IAddActionAttributes, 'agent' | 'object' | 'project' | 'targetCollection' | 'typeOf'> & {
|
|
13
|
-
object: IObjectAsEventBySchedule;
|
|
14
|
-
instrument?: never;
|
|
15
|
-
};
|
|
16
|
-
export type IData = IAddEventSeriesAction | IAddEventByScheduleAction;
|
|
17
|
-
export interface IAttributes extends TaskFactory.IAttributes {
|
|
18
|
-
name: TaskName.CreateEvent;
|
|
19
|
-
data: IData;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* イベント or 施設コンテンツ作成タスク
|
|
23
|
-
*/
|
|
24
|
-
export type ITask = IExtendId<IAttributes>;
|
|
File without changes
|