@cinerino/sdk 18.0.0-alpha.9 → 18.0.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.
Files changed (36) hide show
  1. package/lib/abstract/chevre/categoryCode.d.ts +3 -6
  2. package/lib/abstract/chevre/categoryCode.js +2 -6
  3. package/lib/abstract/chevre/creativeWork.d.ts +7 -4
  4. package/lib/abstract/chevre/creativeWork.js +2 -6
  5. package/lib/abstract/chevre/eventSeries.d.ts +17 -4
  6. package/lib/abstract/chevre/eventSeries.js +1 -1
  7. package/lib/abstract/chevre/place.d.ts +23 -2
  8. package/lib/abstract/chevre/place.js +17 -3
  9. package/lib/abstract/chevre/seller.d.ts +5 -6
  10. package/lib/abstract/chevre/seller.js +2 -5
  11. package/lib/abstract/chevre.d.ts +0 -11
  12. package/lib/abstract/chevre.js +0 -12
  13. package/lib/abstract/chevreAdmin/seller.js +0 -4
  14. package/lib/abstract/chevreConsole/{place/hasPOS.d.ts → pos.d.ts} +7 -7
  15. package/lib/abstract/chevreConsole/{place/hasPOS.js → pos.js} +9 -9
  16. package/lib/abstract/chevreConsole/seller.d.ts +2 -2
  17. package/lib/abstract/chevreConsole.d.ts +8 -10
  18. package/lib/abstract/chevreConsole.js +7 -10
  19. package/lib/abstract/cinerino/service/categoryCode.d.ts +4 -4
  20. package/lib/abstract/cinerino/service/categoryCode.js +1 -1
  21. package/lib/abstract/cinerino/service/place/hasPOS.d.ts +2 -11
  22. package/lib/abstract/cinerino/service/place/hasPOS.js +2 -1
  23. package/lib/abstract/cinerino/service/place.d.ts +4 -4
  24. package/lib/abstract/cinerino/service/seller.d.ts +4 -8
  25. package/lib/abstract/cinerino/service/seller.js +1 -6
  26. package/lib/abstract/cloud/search/creativeWork.d.ts +1 -1
  27. package/lib/abstract/cloud/search/creativeWork.js +0 -3
  28. package/lib/abstract/cloud/search/eventSeries.d.ts +1 -9
  29. package/lib/abstract/cloud/search/eventSeries.js +0 -3
  30. package/lib/bundle.js +3 -3
  31. package/lib/bundle.js.map +4 -4
  32. package/package.json +2 -2
  33. package/lib/abstract/chevre/place/hasPOS.d.ts +0 -26
  34. package/lib/abstract/chevre/place/hasPOS.js +0 -21
  35. package/lib/abstract/cinerino/service/event.d.ts +0 -92
  36. package/lib/abstract/cinerino/service/event.js +0 -22
@@ -1,8 +1,6 @@
1
1
  import { IPaymentAccepted, IPaymentServiceByProvider, ISearchPaymentServiceConditions } from '../../chevre/seller/factory';
2
2
  import { factory } from '../../factory';
3
3
  import { IFetchOptions, IOptions, ISearchResult, Service } from '../../service';
4
- type IKeyOfProjection = keyof Omit<factory.seller.ISeller, 'makesOffer' | 'paymentAccepted'>;
5
- type IProjection = Partial<Record<IKeyOfProjection, 0>>;
6
4
  /**
7
5
  * 販売者サービス
8
6
  */
@@ -21,11 +19,10 @@ export declare class SellerService extends Service<IOptions> {
21
19
  /**
22
20
  * 販売者検索
23
21
  */
24
- search(params: Omit<factory.seller.ISearchConditions, 'project' | 'id'> & {
25
- /**
26
- * 取得属性指定
27
- */
28
- $projection?: IProjection;
22
+ search(params: Pick<factory.seller.ISearchConditions, 'limit' | 'page'> & {
23
+ branchCode?: {
24
+ $eq?: string;
25
+ };
29
26
  }): Promise<ISearchResult<Pick<factory.seller.ISeller, 'additionalProperty' | 'branchCode' | 'id' | 'name' | 'telephone' | 'typeOf' | 'url'>[]>>;
30
27
  /**
31
28
  * 提供決済サービス検索(public)
@@ -57,4 +54,3 @@ export declare class SellerService extends Service<IOptions> {
57
54
  };
58
55
  }): Promise<ISearchResult<IPaymentAccepted[]>>;
59
56
  }
60
- export {};
@@ -31,12 +31,7 @@ class SellerService extends service_1.Service {
31
31
  /**
32
32
  * 販売者検索
33
33
  */
34
- async search(params
35
- // ): Promise<ISearchResult<Omit<
36
- // factory.seller.ISeller,
37
- // 'hasMerchantReturnPolicy' | 'makesOffer' | 'paymentAccepted' | 'project'
38
- // >[]>> {
39
- ) {
34
+ async search(params) {
40
35
  return this.fetch({
41
36
  uri: '/sellers',
42
37
  method: 'GET',
@@ -7,5 +7,5 @@ export declare class CreativeWorkService extends Service {
7
7
  /**
8
8
  * コンテンツ検索
9
9
  */
10
- findMovies(params: Pick<IFindParams, 'identifier' | 'limit' | 'page' | 'sort'>): Promise<Omit<IMovieAsFindResult, 'project'>[]>;
10
+ findMovies(params: Pick<IFindParams, 'identifier' | 'limit' | 'page'>): Promise<Omit<IMovieAsFindResult, 'project'>[]>;
11
11
  }
@@ -7,9 +7,6 @@ const service_1 = require("../../service");
7
7
  * コンテンツサービス
8
8
  */
9
9
  class CreativeWorkService extends service_1.Service {
10
- // constructor(options: IAdditionalOptions & Pick<IOptions, 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath'>) {
11
- // super({ ...options, retryableStatusCodes: [BAD_GATEWAY, FORBIDDEN, UNAUTHORIZED] });
12
- // }
13
10
  /**
14
11
  * コンテンツ検索
15
12
  */
@@ -1,12 +1,5 @@
1
- import { factory } from '../../factory';
2
1
  import { Service } from '../../service';
3
- type IEventSeriesAsFindResult = Pick<factory.eventSeries.IEvent, 'additionalProperty' | 'alternativeHeadline' | 'coaInfo' | 'description' | 'dubLanguage' | 'duration' | 'endDate' | 'eventStatus' | 'headline' | 'identifier' | 'kanaName' | 'location' | 'name' | 'offers' | 'organizer' | 'project' | 'startDate' | 'subtitleLanguage' | 'typeOf' | 'workPerformed' | 'subEvent' | 'id'>;
4
- type IFindParams = Pick<factory.eventSeries.ISearchConditions, 'additionalProperty' | 'endFrom' | 'endThrough' | 'id' | 'inSessionFrom' | 'inSessionThrough' | 'limit' | 'location' | 'name' | 'page' | 'sort' | 'startFrom' | 'startThrough' | 'videoFormat' | 'workPerformed'> & {
5
- typeOf: factory.eventType.ScreeningEventSeries;
6
- $projection?: {
7
- [key in keyof factory.eventSeries.IEvent]?: 0;
8
- };
9
- };
2
+ import { IFindParams, IEventSeriesAsFindResult } from '../../chevre/eventSeries';
10
3
  /**
11
4
  * 施設コンテンツサービス
12
5
  */
@@ -16,4 +9,3 @@ export declare class EventSeriesService extends Service {
16
9
  */
17
10
  findEventSeries(params: IFindParams): Promise<IEventSeriesAsFindResult[]>;
18
11
  }
19
- export {};
@@ -8,9 +8,6 @@ const BASE_URI = '/eventSeries';
8
8
  * 施設コンテンツサービス
9
9
  */
10
10
  class EventSeriesService extends service_1.Service {
11
- // constructor(options: IAdditionalOptions & Pick<IOptions, 'auth' | 'endpoint' | 'transporter' | 'project' | 'defaultPath'>) {
12
- // super({ ...options, retryableStatusCodes: [status.BAD_GATEWAY, status.FORBIDDEN, status.UNAUTHORIZED] });
13
- // }
14
11
  /**
15
12
  * 施設コンテンツ検索
16
13
  */