@chevre/factory 5.4.0-alpha.21 → 5.4.0-alpha.23
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/interact/inform.d.ts +2 -2
- package/lib/event/screeningEvent.d.ts +2 -2
- package/lib/notification/place.d.ts +2 -0
- package/lib/placeType.d.ts +1 -0
- package/lib/placeType.js +1 -0
- package/lib/task/onResourceUpdated.d.ts +23 -1
- package/lib/task/triggerWebhook.d.ts +2 -2
- package/package.json +1 -1
|
@@ -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, IRoomAsNotification } 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';
|
|
@@ -37,7 +37,7 @@ export type IRecipient = Pick<ActionFactory.IParticipantAsWebApplication, 'name'
|
|
|
37
37
|
/**
|
|
38
38
|
* 取引、タスク以外の通知対象リソース
|
|
39
39
|
*/
|
|
40
|
-
export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
|
|
40
|
+
export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IEntranceGateAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
|
|
41
41
|
export type IObject = IAnyResourceAsObject | IOrder4inform | IReservation4inform | IPayAction4inform | IRefundAction4inform | ITask4inform;
|
|
42
42
|
export interface IPayTransactionAsPurpose {
|
|
43
43
|
id: string;
|
|
@@ -178,9 +178,9 @@ export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod' | 'identifie
|
|
|
178
178
|
*/
|
|
179
179
|
eligibleQuantity: Pick<IEligibleQuantity, 'maxValue'>;
|
|
180
180
|
/**
|
|
181
|
-
* 興行ID
|
|
181
|
+
* 興行ID
|
|
182
182
|
*/
|
|
183
|
-
itemOffered: Pick<IItemOffered, 'id'
|
|
183
|
+
itemOffered: Pick<IItemOffered, 'id'>;
|
|
184
184
|
/**
|
|
185
185
|
* アプリケーション設定
|
|
186
186
|
*/
|
|
@@ -29,6 +29,7 @@ export type IEntranceGateAsNotification = Pick<IMovieTheater, 'id' | 'typeOf'> &
|
|
|
29
29
|
*/
|
|
30
30
|
hasEntranceGate: IEntranceGate[];
|
|
31
31
|
branchCode?: never;
|
|
32
|
+
hasPOS?: never;
|
|
32
33
|
};
|
|
33
34
|
/**
|
|
34
35
|
* 施設のPOS通知
|
|
@@ -46,5 +47,6 @@ export type IHasPOSAsNotification = Pick<IMovieTheater, 'id' | 'typeOf'> & {
|
|
|
46
47
|
*/
|
|
47
48
|
export type IMovieTheaterAsNotification = Pick<IMovieTheater, 'id' | 'additionalProperty' | 'branchCode' | 'kanaName' | 'name' | 'parentOrganization' | 'project' | 'telephone' | 'url' | 'typeOf'> & {
|
|
48
49
|
containsPlace?: never;
|
|
50
|
+
hasPOS?: never;
|
|
49
51
|
hasEntranceGate?: never;
|
|
50
52
|
};
|
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";
|
|
@@ -73,7 +73,29 @@ export interface IData4pos {
|
|
|
73
73
|
useInform: boolean;
|
|
74
74
|
isDeleted?: never;
|
|
75
75
|
}
|
|
76
|
-
|
|
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;
|
|
97
|
+
}
|
|
98
|
+
export type IData = IData4common | IData4screeningRoom | IData4pos | IData4entranceGate;
|
|
77
99
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
78
100
|
name: TaskName.OnResourceUpdated;
|
|
79
101
|
data: IData;
|
|
@@ -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, IRoomAsNotification } 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 | IRoomAsNotification | 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~)
|