@cinerino/sdk 18.0.0-alpha.12 → 18.0.0-alpha.13

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.
@@ -83,5 +83,14 @@ export declare class PlaceService extends Service {
83
83
  */
84
84
  seatingType?: string;
85
85
  }): Promise<ISeat[]>;
86
+ /**
87
+ * 施設のPOS検索
88
+ * 管理者権限が必要
89
+ */
90
+ adminFindPOS(params: {
91
+ movieTheaterId: string;
92
+ limit: number;
93
+ page: number;
94
+ }): Promise<Pick<factory.place.movieTheater.IPOS, 'branchCode' | 'name'>[]>;
86
95
  }
87
96
  export {};
@@ -33,19 +33,6 @@ class PlaceService extends service_1.Service {
33
33
  })
34
34
  .then(async (response) => response.json());
35
35
  }
36
- // discontinue findRoomsLegacy(2026-09-15~)
37
- // /**
38
- // * ルーム検索(legacy)
39
- // */
40
- // public async findRoomsLegacy(params: Pick<factory.place.screeningRoom.ISearchConditions, 'branchCode' | 'containedInPlace'>): Promise<IScreeningRoomLegacy[]> {
41
- // return this.fetch({
42
- // uri: `/places/${factory.placeType.ScreeningRoom}`,
43
- // method: 'GET',
44
- // qs: params,
45
- // expectedStatusCodes: [status.OK]
46
- // })
47
- // .then(async (response) => response.json());
48
- // }
49
36
  /**
50
37
  * ルーム指定でセクション検索
51
38
  * ルーティングによる販売者指定が必須
@@ -74,5 +61,19 @@ class PlaceService extends service_1.Service {
74
61
  })
75
62
  .then(async (response) => response.json());
76
63
  }
64
+ /**
65
+ * 施設のPOS検索
66
+ * 管理者権限が必要
67
+ */
68
+ async adminFindPOS(params) {
69
+ const { movieTheaterId, limit, page } = params;
70
+ return this.fetch({
71
+ uri: '/pos',
72
+ method: 'GET',
73
+ qs: { movieTheaterId, limit, page },
74
+ expectedStatusCodes: [http_status_1.status.OK]
75
+ })
76
+ .then(async (response) => response.json());
77
+ }
77
78
  }
78
79
  exports.PlaceService = PlaceService;
@@ -7,7 +7,6 @@ import type { EventOfferService } from './chevre/eventOffer';
7
7
  import type { EventSeriesService } from './chevre/eventSeries';
8
8
  import type { PaymentProductService } from './chevre/paymentService';
9
9
  import type { PlaceService } from './chevre/place';
10
- import type { HasPOSService } from './chevre/place/hasPOS';
11
10
  import type { ProductService } from './chevre/product';
12
11
  import type { SeatOfferService } from './chevre/seatOffer';
13
12
  import type { SellerService } from './chevre/seller';
@@ -69,15 +68,6 @@ export declare namespace service {
69
68
  namespace Place {
70
69
  let svc: typeof PlaceService | undefined;
71
70
  }
72
- namespace place {
73
- /**
74
- * 施設のPoints-of-Salesサービス
75
- */
76
- type HasPOS = HasPOSService;
77
- namespace HasPOS {
78
- let svc: typeof HasPOSService | undefined;
79
- }
80
- }
81
71
  /**
82
72
  * プロダクトサービス
83
73
  */
@@ -114,7 +104,6 @@ export declare class Chevre {
114
104
  createEventSeriesInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventSeriesService>;
115
105
  createPaymentProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentProductService>;
116
106
  createPlaceInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PlaceService>;
117
- createHasPOSInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<HasPOSService>;
118
107
  createProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductService>;
119
108
  createSeatOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<SeatOfferService>;
120
109
  createSellerInstance(params: Pick<IOptions, 'project'>): Promise<SellerService>;
@@ -60,12 +60,6 @@ var service;
60
60
  let Place;
61
61
  (function (Place) {
62
62
  })(Place = service.Place || (service.Place = {}));
63
- let place;
64
- (function (place) {
65
- let HasPOS;
66
- (function (HasPOS) {
67
- })(HasPOS = place.HasPOS || (place.HasPOS = {}));
68
- })(place = service.place || (service.place = {}));
69
63
  let Product;
70
64
  (function (Product) {
71
65
  })(Product = service.Product || (service.Product = {}));
@@ -132,12 +126,6 @@ class Chevre {
132
126
  }
133
127
  return new service.Place.svc({ ...this.options, ...params, retryableStatusCodes: [] });
134
128
  }
135
- async createHasPOSInstance(params) {
136
- if (service.place.HasPOS.svc === undefined) {
137
- service.place.HasPOS.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/place/hasPOS.js')))).HasPOSService;
138
- }
139
- return new service.place.HasPOS.svc({ ...this.options, ...params, retryableStatusCodes: [] });
140
- }
141
129
  async createProductInstance(params) {
142
130
  if (service.Product.svc === undefined) {
143
131
  service.Product.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/product.js')))).ProductService;
@@ -6,7 +6,8 @@ import { IAdditionalOptions, IOptions, Service } from '../../../service';
6
6
  export declare class HasPOSService extends Service {
7
7
  constructor(options: IAdditionalOptions & Pick<IOptions, 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath'>);
8
8
  /**
9
- * 施設のPOSを検索する
9
+ * 施設のPOS検索
10
+ * 管理者権限が必要
10
11
  */
11
12
  search(params: {
12
13
  operater: {
@@ -21,16 +22,6 @@ export declare class HasPOSService extends Service {
21
22
  qs: {
22
23
  limit?: number;
23
24
  page?: number;
24
- branchCode?: {
25
- /**
26
- * POSコード完全一致
27
- */
28
- $eq?: string;
29
- /**
30
- * POSコード部分一致
31
- */
32
- $regex?: string;
33
- };
34
25
  };
35
26
  }): Promise<Pick<factory.place.movieTheater.IPOS, 'branchCode' | 'name'>[]>;
36
27
  }
@@ -12,7 +12,8 @@ class HasPOSService extends service_1.Service {
12
12
  super({ ...options, retryableStatusCodes: [http_status_1.status.BAD_GATEWAY, http_status_1.status.FORBIDDEN, http_status_1.status.UNAUTHORIZED] });
13
13
  }
14
14
  /**
15
- * 施設のPOSを検索する
15
+ * 施設のPOS検索
16
+ * 管理者権限が必要
16
17
  */
17
18
  async search(params) {
18
19
  return this.fetch({