@cinerino/sdk 18.0.0-alpha.3 → 18.0.0-alpha.5
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/abstract/chevre/event/factory.d.ts +1 -1
- package/lib/abstract/chevre/event.d.ts +2 -1
- package/lib/abstract/chevre/place.d.ts +0 -4
- package/lib/abstract/chevreAsset/order.d.ts +2 -0
- package/lib/abstract/chevreAsset/order.js +5 -3
- package/lib/abstract/chevreConsole/event.d.ts +1 -1
- package/lib/abstract/chevreConsole/transaction/placeOrder.d.ts +1 -1
- package/lib/abstract/cloud/asset/order.js +2 -1
- package/lib/abstract/cloud/search/event.d.ts +4 -2
- package/lib/abstract/cloud/search/place.d.ts +0 -4
- package/lib/bundle.js +1 -1
- package/lib/bundle.js.map +3 -3
- package/package.json +2 -2
|
@@ -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;
|
|
@@ -22,10 +22,6 @@ export declare class PlaceService extends Service {
|
|
|
22
22
|
id?: {
|
|
23
23
|
$eq?: string;
|
|
24
24
|
};
|
|
25
|
-
/**
|
|
26
|
-
* 名称
|
|
27
|
-
*/
|
|
28
|
-
name?: string;
|
|
29
25
|
limit: number;
|
|
30
26
|
page: number;
|
|
31
27
|
}): Promise<Pick<factory.place.movieTheater.IPlace, 'additionalProperty' | 'branchCode' | 'id' | 'kanaName' | 'name' | 'parentOrganization' | 'telephone' | 'url'> & {
|
|
@@ -91,12 +91,14 @@ class OrderService extends service_1.Service {
|
|
|
91
91
|
/**
|
|
92
92
|
* 確認番号で注文オファー検索
|
|
93
93
|
*/
|
|
94
|
-
async searchAcceptedOffersByConfirmationNumber(params) {
|
|
95
|
-
const { orderNumber,
|
|
94
|
+
async searchAcceptedOffersByConfirmationNumber(params, options) {
|
|
95
|
+
const { orderNumber, limit, page, confirmationNumber } = params;
|
|
96
|
+
const { minimizeReservationFor } = options;
|
|
96
97
|
return this.fetch({
|
|
97
98
|
uri: `/orders/${orderNumber}/acceptedOffersByConfirmationNumber`,
|
|
98
99
|
method: 'POST',
|
|
99
|
-
body,
|
|
100
|
+
body: { limit, page, confirmationNumber },
|
|
101
|
+
qs: { minimizeReservationFor },
|
|
100
102
|
expectedStatusCodes: [http_status_1.status.OK]
|
|
101
103
|
})
|
|
102
104
|
.then(async (response) => response.json());
|
|
@@ -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
|
*/
|
|
@@ -156,7 +156,8 @@ class OrderService extends service_1.Service {
|
|
|
156
156
|
confirmationNumber, orderNumber,
|
|
157
157
|
...(typeof limit === 'number') ? { limit } : undefined,
|
|
158
158
|
...(typeof page === 'number') ? { page } : undefined
|
|
159
|
-
}
|
|
159
|
+
}, { minimizeReservationFor: true } // 2026-09-12~
|
|
160
|
+
);
|
|
160
161
|
}
|
|
161
162
|
}
|
|
162
163
|
exports.OrderService = OrderService;
|
|
@@ -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
|
* ルームの複数セクション非対応
|