@cinerino/sdk 16.2.0-alpha.0 → 16.3.0-alpha.0

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.
@@ -3,7 +3,6 @@ import { Service } from '../service';
3
3
  export type IScreeningRoom = Omit<factory.place.screeningRoom.IPlace, 'containsPlace' | 'parentOrganization'>;
4
4
  export type IScreeningRoomSection = Omit<factory.place.screeningRoomSection.IPlace, 'containsPlace' | 'parentOrganization'>;
5
5
  export type ISeat = Omit<factory.place.seat.IPlace, 'parentOrganization'>;
6
- export type IMovieTheater = Pick<factory.place.movieTheater.IPlace, 'typeOf' | 'additionalProperty' | 'branchCode' | 'hasEntranceGate' | 'id' | 'kanaName' | 'name' | 'offers' | 'parentOrganization' | 'telephone' | 'project'>;
7
6
  interface IFindMovieTheaterParams {
8
7
  limit: number;
9
8
  page: number;
@@ -19,9 +18,19 @@ export declare class PlaceService extends Service {
19
18
  * 施設検索
20
19
  * @deprecated use findMovieTheaters
21
20
  */
22
- searchMovieTheaters(params: Omit<factory.place.movieTheater.ISearchConditions, 'project'>): Promise<{
23
- data: IMovieTheater[];
24
- }>;
21
+ searchMovieTheatersLegacy(params: Pick<factory.place.movieTheater.ISearchConditions, 'sort'> & {
22
+ id?: {
23
+ $eq?: string;
24
+ };
25
+ /**
26
+ * 名称
27
+ */
28
+ name?: string;
29
+ limit: number;
30
+ page: number;
31
+ }): Promise<Pick<factory.place.movieTheater.IPlace, 'additionalProperty' | 'branchCode' | 'id' | 'kanaName' | 'name' | 'parentOrganization' | 'telephone' | 'url'> & {
32
+ offers?: Pick<factory.place.movieTheater.IOffer, 'availabilityStartsGraceTime'>;
33
+ }[]>;
25
34
  /**
26
35
  * 施設検索
27
36
  * 2026-01-03~
@@ -12,18 +12,14 @@ class PlaceService extends service_1.Service {
12
12
  * 施設検索
13
13
  * @deprecated use findMovieTheaters
14
14
  */
15
- async searchMovieTheaters(params) {
15
+ async searchMovieTheatersLegacy(params) {
16
16
  return this.fetch({
17
17
  uri: `/places/${factory_1.factory.placeType.MovieTheater}`,
18
18
  method: 'GET',
19
19
  qs: params,
20
20
  expectedStatusCodes: [http_status_1.status.OK]
21
21
  })
22
- .then(async (response) => {
23
- return {
24
- data: await response.json()
25
- };
26
- });
22
+ .then(async (response) => response.json());
27
23
  }
28
24
  /**
29
25
  * 施設検索
@@ -1,6 +1,13 @@
1
1
  import { factory } from '../../factory';
2
2
  import { Service } from '../../service';
3
- type IFindMovieTheatersParams = Pick<factory.place.movieTheater.ISearchConditions, 'id' | 'limit' | 'name' | 'page' | 'sort'> & {
3
+ type IFindMovieTheatersParams = Pick<factory.place.movieTheater.ISearchConditions, 'sort'> & {
4
+ id?: {
5
+ $eq?: string;
6
+ };
7
+ /**
8
+ * 名称
9
+ */
10
+ name?: string;
4
11
  limit: number;
5
12
  page: number;
6
13
  };