@cinerino/sdk 16.4.0-alpha.3 → 16.4.0-alpha.4

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.
@@ -65,9 +65,7 @@ export declare class EventService extends Service {
65
65
  */
66
66
  findSeatOffersDeprecated(params: {
67
67
  id: string;
68
- } & Pick<factory.place.seat.ISearchConditions, 'additionalProperty' | 'branchCode' | 'containedInPlace' | 'limit' | 'name' | 'page' | 'parentOrganization' | 'seatingType' | 'sort'>, options: {
69
- useDefaultSection: boolean;
70
- }): Promise<ISeatAsEventOffer[]>;
68
+ } & Pick<factory.place.seat.ISearchConditions, 'additionalProperty' | 'branchCode' | 'containedInPlace' | 'limit' | 'name' | 'page' | 'parentOrganization' | 'seatingType' | 'sort'>): Promise<ISeatAsEventOffer[]>;
71
69
  /**
72
70
  * オファーで利用可能な適用決済カード条件を検索する
73
71
  */
@@ -67,15 +67,15 @@ class EventService extends service_1.Service {
67
67
  * イベントに対する座席検索
68
68
  * @deprecated use find seatOffers
69
69
  */
70
- async findSeatOffersDeprecated(params, options) {
70
+ async findSeatOffersDeprecated(params) {
71
71
  const { id, ...query } = params;
72
- const { useDefaultSection } = options;
72
+ // const { useDefaultSection } = options;
73
73
  return this.fetch({
74
74
  uri: `/events/${encodeURIComponent(String(id))}/seats`,
75
75
  method: 'GET',
76
76
  qs: {
77
77
  ...query,
78
- useDefaultSection
78
+ // useDefaultSection
79
79
  },
80
80
  expectedStatusCodes: [http_status_1.status.OK]
81
81
  })
@@ -183,8 +183,6 @@ export declare class EventService extends Service {
183
183
  };
184
184
  limit: number;
185
185
  page: number;
186
- }, options?: {
187
- useDefaultSection?: boolean;
188
186
  }): Promise<ISearchResult<Omit<ISeatAsEventOffer, 'containedInPlace'>[]> & {
189
187
  /**
190
188
  * デフォルトセクションコード
@@ -112,16 +112,12 @@ class EventService extends service_1.Service {
112
112
  * 自動的にルームのひとつめのセクションが選択されます
113
113
  * @deprecated use SeatOfferService
114
114
  */
115
- async findSeatOffersDeprecated(params, options) {
116
- const { event, ...query } = params;
117
- const useDefaultSection = options?.useDefaultSection === true;
115
+ async findSeatOffersDeprecated(params) {
116
+ const { event, limit, page } = params;
118
117
  return this.fetch({
119
118
  uri: `/events/${encodeURIComponent(String(event.id))}/seats`,
120
119
  method: 'GET',
121
- qs: {
122
- ...query,
123
- useDefaultSection
124
- },
120
+ qs: { limit, page },
125
121
  expectedStatusCodes: [http_status_1.status.OK]
126
122
  })
127
123
  .then(async (response) => {