@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "18.0.0-alpha.12",
3
+ "version": "18.0.0-alpha.13",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {
@@ -1,26 +0,0 @@
1
- import { factory } from '../../factory';
2
- import { Service } from '../../service';
3
- /**
4
- * 施設のPOSサービス
5
- */
6
- export declare class HasPOSService extends Service {
7
- search(params: {
8
- operater: {
9
- /**
10
- * 施設ID
11
- */
12
- id: string;
13
- };
14
- /**
15
- * 検索条件
16
- */
17
- qs: {
18
- limit?: number;
19
- page?: number;
20
- branchCode?: {
21
- $eq?: string;
22
- $regex?: string;
23
- };
24
- };
25
- }): Promise<Pick<factory.place.movieTheater.IPOS, 'branchCode' | 'name'>[]>;
26
- }
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.HasPOSService = void 0;
4
- const http_status_1 = require("http-status");
5
- const factory_1 = require("../../factory");
6
- const service_1 = require("../../service");
7
- /**
8
- * 施設のPOSサービス
9
- */
10
- class HasPOSService extends service_1.Service {
11
- async search(params) {
12
- return this.fetch({
13
- uri: `/places/${factory_1.factory.placeType.MovieTheater}/${encodeURIComponent(String(params.operater.id))}/hasPOS`,
14
- method: 'GET',
15
- qs: params.qs,
16
- expectedStatusCodes: [http_status_1.status.OK]
17
- })
18
- .then(async (response) => response.json());
19
- }
20
- }
21
- exports.HasPOSService = HasPOSService;