@chevre/factory 5.4.0-alpha.16 → 5.4.0-alpha.18
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.
|
@@ -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 { 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,7 @@ export type IRecipient = Pick<ActionFactory.IParticipantAsWebApplication, 'name'
|
|
|
34
34
|
id?: never;
|
|
35
35
|
url?: never;
|
|
36
36
|
};
|
|
37
|
-
export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
|
|
37
|
+
export type IAnyResourceAsObject = IPlaceOrderAsNotification | IOfferCatalogAsNotification | IHasPOSAsNotification | IMovieTheaterAsNotification | IRoomAsNotification | IOfferAsNotification | IAccountTitleAsNotification | IProductAsNotification | ICategoryCodeAsNotification | IMovieAsNotification | INoteDigitalDocumentAsNotification | IPersonAsNotification | IEvent4inform2agg | IEventAsNotification | IEventSeriesAsNotification;
|
|
38
38
|
export type IObject = IAnyResourceAsObject | IOrder4inform | IReservation4inform | IPayAction4inform | IRefundAction4inform | ITask4inform;
|
|
39
39
|
export interface IPayTransactionAsPurpose {
|
|
40
40
|
id: string;
|
|
@@ -4,6 +4,24 @@ export type IHasPOSAsNotification = Pick<IMovieTheater, 'id' | 'typeOf'> & {
|
|
|
4
4
|
hasPOS: IPOS[];
|
|
5
5
|
};
|
|
6
6
|
export type IContainsPlace = Pick<IScreeningRoom, 'branchCode' | 'name' | 'typeOf' | 'additionalProperty' | 'address'>;
|
|
7
|
+
/**
|
|
8
|
+
* ルーム通知
|
|
9
|
+
*/
|
|
10
|
+
export type IRoomAsNotification = IContainsPlace & {
|
|
11
|
+
/**
|
|
12
|
+
* 施設IDとルームコードで一意性を担保するので、現時点でルームIDは通知しない(2026-01-16~)
|
|
13
|
+
*/
|
|
14
|
+
id?: never;
|
|
15
|
+
containedInPlace: {
|
|
16
|
+
/**
|
|
17
|
+
* 施設ID
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* 施設通知
|
|
24
|
+
*/
|
|
7
25
|
export type IMovieTheaterAsNotification = Pick<IMovieTheater, 'id' | 'additionalProperty' | 'branchCode' | 'hasEntranceGate' | 'kanaName' | 'name' | 'parentOrganization' | 'project' | 'telephone' | 'url' | 'typeOf'> & {
|
|
8
26
|
containsPlace: IContainsPlace[];
|
|
9
27
|
};
|
|
@@ -15,6 +15,9 @@ 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;
|
|
@@ -27,12 +30,16 @@ export interface IData4common {
|
|
|
27
30
|
* typeOf: OfferCatalogのリポジトリを判定するため
|
|
28
31
|
*/
|
|
29
32
|
isOfferCatalogItem?: boolean;
|
|
33
|
+
branchCode?: 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,6 +50,7 @@ export interface IData4screeningRoom {
|
|
|
43
50
|
id: string;
|
|
44
51
|
};
|
|
45
52
|
typeOf: PlaceType.ScreeningRoom;
|
|
53
|
+
isNew?: never;
|
|
46
54
|
isDeleted: boolean;
|
|
47
55
|
useInform: boolean;
|
|
48
56
|
}
|
|
@@ -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 { 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 | 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~)
|