@cinerino/sdk 18.0.0-alpha.4 → 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.
@@ -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'> & {
@@ -90,6 +90,8 @@ export declare class OrderService extends Service {
90
90
  page?: number;
91
91
  confirmationNumber: string;
92
92
  orderNumber: string;
93
+ }, options: {
94
+ minimizeReservationFor: boolean;
93
95
  }): Promise<factory.order.IAcceptedOffer[]>;
94
96
  /**
95
97
  * 注文コードを発行する
@@ -91,12 +91,14 @@ class OrderService extends service_1.Service {
91
91
  /**
92
92
  * 確認番号で注文オファー検索
93
93
  */
94
- async searchAcceptedOffersByConfirmationNumber(params) {
95
- const { orderNumber, ...body } = params;
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());
@@ -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;
@@ -4,10 +4,6 @@ type IFindMovieTheatersParams = Pick<factory.place.movieTheater.ISearchCondition
4
4
  id?: {
5
5
  $eq?: string;
6
6
  };
7
- /**
8
- * 名称
9
- */
10
- name?: string;
11
7
  limit: number;
12
8
  page: number;
13
9
  };