@cinerino/sdk 18.3.0-alpha.0 → 18.3.0-alpha.1

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.
@@ -1,9 +1,25 @@
1
1
  import { factory } from '../../factory';
2
2
  type IKeyOfProjection = keyof factory.event.screeningEvent.IEvent;
3
3
  type IProjection = Partial<Record<IKeyOfProjection, 0>>;
4
- export type IFindParams = Pick<factory.event.screeningEvent.ISearchConditions, 'limit' | 'page' | 'sort' | 'eventStatuses' | 'id' | 'identifiers' | 'inSessionFrom' | 'inSessionThrough' | 'location' | 'startFrom' | 'startThrough' | 'superEvent'> & {
4
+ export type IFindParams = Pick<factory.event.screeningEvent.ISearchConditions, 'limit' | 'page' | 'sort' | 'eventStatuses' | 'id' | 'identifiers' | 'inSessionFrom' | 'inSessionThrough' | 'startFrom' | 'startThrough'> & {
5
+ superEvent?: {
6
+ /**
7
+ * 施設コンテンツID
8
+ * 最大1つ指定可能
9
+ */
10
+ ids?: string[];
11
+ /**
12
+ * 施設コード
13
+ * 最大1つ指定可能
14
+ */
15
+ locationBranchCodes?: string[];
16
+ /**
17
+ * コンテンツコード
18
+ * 最大1つ指定可能
19
+ */
20
+ workPerformedIdentifiers?: string[];
21
+ };
5
22
  typeOf: factory.eventType.ScreeningEvent;
6
- $projection?: IProjection;
7
23
  /**
8
24
  * offer.seller.makesOfferをアプリケーションIDでfilterする(max:2)
9
25
  */
@@ -26,6 +42,7 @@ export type IFindParams = Pick<factory.event.screeningEvent.ISearchConditions, '
26
42
  */
27
43
  validThrough?: Date;
28
44
  };
45
+ $projection?: IProjection;
29
46
  };
30
47
  /**
31
48
  * イベントのサブカタログ検索結果
@@ -5,7 +5,6 @@ import type { EmailMessageService } from './chevre/emailMessage';
5
5
  import type { EventService } from './chevre/event';
6
6
  import type { EventOfferService } from './chevre/eventOffer';
7
7
  import type { EventSeriesService } from './chevre/eventSeries';
8
- import type { PaymentProductService } from './chevre/paymentService';
9
8
  import type { PlaceService } from './chevre/place';
10
9
  import type { ProductService } from './chevre/product';
11
10
  import type { SeatOfferService } from './chevre/seatOffer';
@@ -54,13 +53,6 @@ export declare namespace service {
54
53
  namespace EventSeries {
55
54
  let svc: typeof EventSeriesService | undefined;
56
55
  }
57
- /**
58
- * 決済商品サービス
59
- */
60
- type PaymentProduct = PaymentProductService;
61
- namespace PaymentProduct {
62
- let svc: typeof PaymentProductService | undefined;
63
- }
64
56
  /**
65
57
  * 施設サービス
66
58
  */
@@ -102,7 +94,6 @@ export declare class Chevre {
102
94
  createEventInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventService>;
103
95
  createEventOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventOfferService>;
104
96
  createEventSeriesInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<EventSeriesService>;
105
- createPaymentProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PaymentProductService>;
106
97
  createPlaceInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<PlaceService>;
107
98
  createProductInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<ProductService>;
108
99
  createSeatOfferInstance(params: Pick<IOptions, 'project'> & Pick<IAdditionalOptions, 'seller'>): Promise<SeatOfferService>;
@@ -54,9 +54,6 @@ var service;
54
54
  let EventSeries;
55
55
  (function (EventSeries) {
56
56
  })(EventSeries = service.EventSeries || (service.EventSeries = {}));
57
- let PaymentProduct;
58
- (function (PaymentProduct) {
59
- })(PaymentProduct = service.PaymentProduct || (service.PaymentProduct = {}));
60
57
  let Place;
61
58
  (function (Place) {
62
59
  })(Place = service.Place || (service.Place = {}));
@@ -114,12 +111,6 @@ class Chevre {
114
111
  }
115
112
  return new service.EventSeries.svc({ ...this.options, ...params, retryableStatusCodes: [] });
116
113
  }
117
- async createPaymentProductInstance(params) {
118
- if (service.PaymentProduct.svc === undefined) {
119
- service.PaymentProduct.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/paymentService.js')))).PaymentProductService;
120
- }
121
- return new service.PaymentProduct.svc({ ...this.options, ...params, retryableStatusCodes: [] });
122
- }
123
114
  async createPlaceInstance(params) {
124
115
  if (service.Place.svc === undefined) {
125
116
  service.Place.svc = (await Promise.resolve().then(() => __importStar(require('./chevre/place.js')))).PlaceService;
@@ -31,25 +31,7 @@ export declare class EventService extends Service {
31
31
  /**
32
32
  * イベント(公開属性)検索
33
33
  */
34
- findEvents(params: Pick<IFindParams, 'limit' | 'page' | 'sort' | 'eventStatuses' | 'id' | 'identifiers' | 'inSessionFrom' | 'inSessionThrough' | 'offers' | 'startFrom' | 'startThrough' | '$projection' | 'sellerMakesOfferAvailableAtIn' | 'typeOf'> & {
35
- superEvent?: {
36
- /**
37
- * 施設コンテンツID
38
- * 最大1つ指定可能
39
- */
40
- ids?: string[];
41
- /**
42
- * 施設コード
43
- * 最大1つ指定可能
44
- */
45
- locationBranchCodes?: string[];
46
- /**
47
- * コンテンツコード
48
- * 最大1つ指定可能
49
- */
50
- workPerformedIdentifiers?: string[];
51
- };
52
- }): Promise<IEventAsFindResult[]>;
34
+ findEvents(params: Pick<IFindParams, 'limit' | 'page' | 'sort' | 'eventStatuses' | 'id' | 'identifiers' | 'inSessionFrom' | 'inSessionThrough' | 'offers' | 'startFrom' | 'startThrough' | 'superEvent' | 'sellerMakesOfferAvailableAtIn' | 'typeOf' | '$projection'>): Promise<IEventAsFindResult[]>;
53
35
  /**
54
36
  * イベントの予約集計検索
55
37
  * @deprecated ttts専用