@cinerino/sdk 18.1.0-alpha.4 → 18.1.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.
|
@@ -49,7 +49,9 @@ export declare class EventService extends Service {
|
|
|
49
49
|
*/
|
|
50
50
|
findSeatOffersDeprecated(params: {
|
|
51
51
|
id: string;
|
|
52
|
-
|
|
52
|
+
limit: number;
|
|
53
|
+
page: number;
|
|
54
|
+
}): Promise<ISeatAsEventOffer[]>;
|
|
53
55
|
/**
|
|
54
56
|
* オファーで利用可能な適用決済カード条件を検索する
|
|
55
57
|
*/
|
|
@@ -49,15 +49,11 @@ class EventService extends service_1.Service {
|
|
|
49
49
|
* @deprecated use find seatOffers
|
|
50
50
|
*/
|
|
51
51
|
async findSeatOffersDeprecated(params) {
|
|
52
|
-
const { id,
|
|
53
|
-
// const { useDefaultSection } = options;
|
|
52
|
+
const { id, limit, page } = params;
|
|
54
53
|
return this.fetch({
|
|
55
54
|
uri: `/events/${encodeURIComponent(String(id))}/seats`,
|
|
56
55
|
method: 'GET',
|
|
57
|
-
qs: {
|
|
58
|
-
...query,
|
|
59
|
-
// useDefaultSection
|
|
60
|
-
},
|
|
56
|
+
qs: { limit, page },
|
|
61
57
|
expectedStatusCodes: [http_status_1.status.OK]
|
|
62
58
|
})
|
|
63
59
|
.then(async (response) => response.json());
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { factory } from '../factory';
|
|
2
2
|
import { Service } from '../service';
|
|
3
|
-
type IKeyOfProjection = keyof factory.eventSeries.IEvent;
|
|
4
|
-
type IProjection = Partial<Record<IKeyOfProjection, 0>>;
|
|
5
3
|
export type IFindParamsLegacy = Pick<factory.eventSeries.ISearchConditions, 'endFrom' | 'endThrough' | 'id' | 'limit' | 'name' | 'page' | 'sort' | 'startFrom' | 'startThrough'> & {
|
|
6
4
|
location?: {
|
|
7
5
|
branchCode?: {
|
|
@@ -15,7 +13,7 @@ export type IFindParamsLegacy = Pick<factory.eventSeries.ISearchConditions, 'end
|
|
|
15
13
|
identifiers?: string[];
|
|
16
14
|
};
|
|
17
15
|
typeOf: factory.eventType.ScreeningEventSeries;
|
|
18
|
-
$projection?:
|
|
16
|
+
$projection?: never;
|
|
19
17
|
};
|
|
20
18
|
export interface IFindParamsNew {
|
|
21
19
|
limit: number;
|
|
@@ -60,4 +58,3 @@ export type IEventSeriesAsFindResult = Pick<factory.eventSeries.IEvent, 'additio
|
|
|
60
58
|
export declare class EventSeriesService extends Service {
|
|
61
59
|
findEventSeries(params: IFindParamsNew): Promise<IEventSeriesAsFindResult[]>;
|
|
62
60
|
}
|
|
63
|
-
export {};
|