@cinerino/sdk 18.0.0-alpha.3 → 18.0.0-alpha.4
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { factory } from '../../factory';
|
|
2
2
|
type IKeyOfProjection = keyof factory.event.screeningEvent.IEvent;
|
|
3
3
|
type IProjection = Partial<Record<IKeyOfProjection, 0>>;
|
|
4
|
-
export type IFindParams = Pick<factory.event.screeningEvent.ISearchConditions, 'limit' | 'page' | 'sort' | '
|
|
4
|
+
export type IFindParams = Pick<factory.event.screeningEvent.ISearchConditions, 'limit' | 'page' | 'sort' | 'eventStatuses' | 'id' | 'identifiers' | 'inSessionFrom' | 'inSessionThrough' | 'location' | 'startFrom' | 'startThrough' | 'superEvent'> & {
|
|
5
5
|
typeOf: factory.eventType.ScreeningEvent;
|
|
6
6
|
$projection?: IProjection;
|
|
7
7
|
/**
|
|
@@ -13,7 +13,8 @@ export declare class EventService extends Service {
|
|
|
13
13
|
/**
|
|
14
14
|
* イベント集計検索
|
|
15
15
|
*/
|
|
16
|
-
searchAggregations(params: Pick<factory.event.screeningEvent.ISearchConditions, 'page' | 'limit' | 'sort' | '
|
|
16
|
+
searchAggregations(params: Pick<factory.event.screeningEvent.ISearchConditions, 'page' | 'limit' | 'sort' | 'id' | 'startFrom' | 'startThrough'> & {
|
|
17
|
+
typeOf: factory.eventType.ScreeningEvent;
|
|
17
18
|
$projection?: {
|
|
18
19
|
aggregateEntranceGate?: 1;
|
|
19
20
|
aggregateOffer?: 1;
|
|
@@ -19,7 +19,7 @@ export declare class EventService extends Service {
|
|
|
19
19
|
/**
|
|
20
20
|
* イベント検索
|
|
21
21
|
*/
|
|
22
|
-
projectFields(params: Pick<factory.event.screeningEvent.ISearchConditions, 'additionalProperty' | 'endFrom' | 'endThrough' | 'eventStatuses' | 'id' | 'identifiers' | 'inSessionFrom' | 'inSessionThrough' | 'limit' | 'location' | 'offers' | 'page' | 'sort' | 'startFrom' | 'startThrough' | 'superEvent'
|
|
22
|
+
projectFields(params: Pick<factory.event.screeningEvent.ISearchConditions, 'additionalProperty' | 'endFrom' | 'endThrough' | 'eventStatuses' | 'id' | 'identifiers' | 'inSessionFrom' | 'inSessionThrough' | 'limit' | 'location' | 'offers' | 'page' | 'sort' | 'startFrom' | 'startThrough' | 'superEvent'> & {
|
|
23
23
|
typeOf: factory.eventType.ScreeningEvent;
|
|
24
24
|
$projection?: IProjection;
|
|
25
25
|
}): Promise<IAdminSearchedEvent[]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { factory } from '../../factory';
|
|
2
2
|
import { Service } from '../../service';
|
|
3
3
|
type IAction4transaction = factory.action.accept.coaOffer.IAction | factory.action.accept.pay.IAction | factory.action.authorize.offer.eventService.IAction | factory.action.authorize.paymentMethod.any.IAction;
|
|
4
|
-
type IFindParams = Pick<factory.transaction.placeOrder.ISearchConditions, 'agent' | 'ids' | 'limit' | 'object' | 'page' | 'project' | 'seller' | 'sort' | 'startFrom' | 'startThrough' | 'status' | 'statuses'
|
|
4
|
+
type IFindParams = Pick<factory.transaction.placeOrder.ISearchConditions, 'agent' | 'ids' | 'limit' | 'object' | 'page' | 'project' | 'seller' | 'sort' | 'startFrom' | 'startThrough' | 'status' | 'statuses'>;
|
|
5
5
|
/**
|
|
6
6
|
* 注文取引サービス
|
|
7
7
|
*/
|
|
@@ -31,12 +31,14 @@ export declare class EventService extends Service {
|
|
|
31
31
|
/**
|
|
32
32
|
* イベント(公開属性)検索
|
|
33
33
|
*/
|
|
34
|
-
findEvents(params: Pick<IFindParams, 'limit' | 'page' | 'sort' | '
|
|
34
|
+
findEvents(params: Pick<IFindParams, 'limit' | 'page' | 'sort' | 'eventStatuses' | 'id' | 'identifiers' | 'inSessionFrom' | 'inSessionThrough' | 'location' | 'offers' | 'startFrom' | 'startThrough' | 'superEvent' | '$projection' | 'sellerMakesOfferAvailableAtIn' | 'typeOf'>): Promise<IEventAsFindResult[]>;
|
|
35
35
|
/**
|
|
36
36
|
* イベントの予約集計検索
|
|
37
37
|
* @deprecated ttts専用
|
|
38
38
|
*/
|
|
39
|
-
findAggregateReservations4ttts(params: Pick<factory.event.screeningEvent.ISearchConditions, 'page' | 'limit' | 'sort' | '
|
|
39
|
+
findAggregateReservations4ttts(params: Pick<factory.event.screeningEvent.ISearchConditions, 'page' | 'limit' | 'sort' | 'id' | 'startFrom' | 'startThrough'> & {
|
|
40
|
+
typeOf: factory.eventType.ScreeningEvent;
|
|
41
|
+
}): Promise<ISearchWithReservationForIdResult[]>;
|
|
40
42
|
/**
|
|
41
43
|
* イベントに対する座席検索
|
|
42
44
|
* ルームの複数セクション非対応
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cinerino/sdk",
|
|
3
|
-
"version": "18.0.0-alpha.
|
|
3
|
+
"version": "18.0.0-alpha.4",
|
|
4
4
|
"description": "Cinerino SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"browser": {
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"watchify": "3.11.1"
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
|
-
"@chevre/factory": "11.0.0-alpha.
|
|
75
|
+
"@chevre/factory": "11.0.0-alpha.2",
|
|
76
76
|
"debug": "4.4.3",
|
|
77
77
|
"http-status": "2.1.0",
|
|
78
78
|
"idtoken-verifier": "2.2.4",
|