@cinerino/sdk 3.167.0 → 3.168.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.
@@ -40,7 +40,10 @@ async function main() {
40
40
  // const selectedEvent = { id: '7iri100jqrrpxy1' };
41
41
 
42
42
  console.log('searching ticket types...');
43
- const ticketOffers = await eventService.searchTicketOffers({ id: selectedEvent.id });
43
+ const ticketOffers = await eventService.searchTicketOffers({
44
+ id: selectedEvent.id,
45
+ priceSpecification: {}
46
+ });
44
47
  console.log(ticketOffers.length, 'ticketOffers found');
45
48
  console.log('チケットオファーは以下の通りです');
46
49
  console.log(ticketOffers.map((o) => {
@@ -20,7 +20,8 @@ async function main() {
20
20
  const offers = await eventService.searchTicketOffers({
21
21
  // limit: 2,
22
22
  // page: 9,
23
- id: 'al6aff83o'
23
+ id: 'al6aff83o',
24
+ priceSpecification: {}
24
25
  // availableAt?: {
25
26
  // id?: string;
26
27
  // };
@@ -101,6 +101,7 @@ export declare class EventService extends Service {
101
101
  id?: string;
102
102
  };
103
103
  onlyValid?: boolean;
104
+ priceSpecification: Pick<factory.unitPriceOffer.IPriceSpecificationSearchConditions, 'appliesToMovieTicket'>;
104
105
  }): Promise<factory.product.ITicketOffer[]>;
105
106
  /**
106
107
  * イベントに対する座席検索
@@ -147,6 +147,27 @@ export declare class EventService extends Service {
147
147
  event: {
148
148
  id: string;
149
149
  };
150
+ priceSpecification?: {
151
+ /**
152
+ * 適用決済カード条件
153
+ */
154
+ appliesToMovieTicket?: {
155
+ serviceType?: {
156
+ /**
157
+ * 適用決済カード区分が存在するかどうか
158
+ */
159
+ $exists?: boolean;
160
+ };
161
+ serviceOutput?: {
162
+ typeOf?: {
163
+ /**
164
+ * 適用決済方法タイプ(完全一致)
165
+ */
166
+ $eq?: string;
167
+ };
168
+ };
169
+ };
170
+ };
150
171
  }): Promise<Omit<factory.product.ITicketOffer, 'availableAtOrFrom'>[]>;
151
172
  /**
152
173
  * イベントに対する券種オファー検索(COA券種)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cinerino/sdk",
3
- "version": "3.167.0",
3
+ "version": "3.168.0",
4
4
  "description": "Cinerino SDK",
5
5
  "main": "./lib/index.js",
6
6
  "browser": {