@cinerino/sdk 18.1.0-alpha.0 → 18.1.0-alpha.10

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,11 +1,7 @@
1
1
  import { factory } from '../factory';
2
2
  import { Service } from '../service';
3
3
  export type IFindParams = Pick<factory.categoryCode.ISearchConditions, 'limit' | 'page'> & {
4
- inCodeSet?: {
5
- identifier?: {
6
- $eq?: string;
7
- };
8
- };
4
+ inCodeSetIdentifier?: string;
9
5
  };
10
6
  export type ICategoryCodeAsFindResult = Pick<factory.categoryCode.ICategoryCode, 'additionalProperty' | 'codeValue' | 'color' | 'image' | 'name' | 'typeOf'>;
11
7
  /**
@@ -3,15 +3,21 @@ import { Service } from '../service';
3
3
  export type IMovieAsFindResult = Pick<factory.creativeWork.movie.ICreativeWork, 'additionalProperty' | 'alternativeHeadline' | 'contentRating' | 'datePublished' | 'distributor' | 'duration' | 'headline' | 'identifier' | 'name' | 'project' | 'thumbnailUrl' | 'typeOf'> & {
4
4
  id: string;
5
5
  };
6
- export type IFindParams = Pick<factory.creativeWork.movie.ISearchConditions, 'limit' | 'page'> & {
6
+ export type IFindParamsLegacy = Pick<factory.creativeWork.movie.ISearchConditions, 'limit' | 'page'> & {
7
7
  identifier?: string | {
8
8
  $eq?: string;
9
9
  $in?: string[];
10
10
  };
11
11
  };
12
+ export interface IFindParamsNew {
13
+ limit: number;
14
+ page: number;
15
+ identifier?: string;
16
+ identifiers?: string[];
17
+ }
12
18
  /**
13
19
  * コンテンツサービス
14
20
  */
15
21
  export declare class CreativeWorkService extends Service {
16
- findMovies(params: IFindParams): Promise<IMovieAsFindResult[]>;
22
+ findMovies(params: IFindParamsNew): Promise<IMovieAsFindResult[]>;
17
23
  }
@@ -3,16 +3,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreativeWorkService = void 0;
4
4
  const http_status_1 = require("http-status");
5
5
  const service_1 = require("../service");
6
+ ;
6
7
  /**
7
8
  * コンテンツサービス
8
9
  */
9
10
  class CreativeWorkService extends service_1.Service {
11
+ // public async findMovies(params: IFindParams): Promise<IMovieAsFindResult[]> {
12
+ // return this.fetch({
13
+ // uri: '/creativeWorks/movie',
14
+ // method: 'GET',
15
+ // qs: params,
16
+ // expectedStatusCodes: [status.OK]
17
+ // })
18
+ // .then(async (response) => response.json());
19
+ // }
10
20
  async findMovies(params) {
11
21
  return this.fetch({
12
- uri: '/creativeWorks/movie',
22
+ uri: '/movies',
13
23
  method: 'GET',
14
24
  qs: params,
15
- expectedStatusCodes: [http_status_1.status.OK]
25
+ expectedStatusCodes: [http_status_1.status.OK],
26
+ stringifyOptions: { arrayFormat: 'repeat' }
16
27
  })
17
28
  .then(async (response) => response.json());
18
29
  }
@@ -49,7 +49,9 @@ export declare class EventService extends Service {
49
49
  */
50
50
  findSeatOffersDeprecated(params: {
51
51
  id: string;
52
- } & Pick<factory.place.seat.ISearchConditions, 'additionalProperty' | 'branchCode' | 'containedInPlace' | 'limit' | 'name' | 'page' | 'parentOrganization' | 'seatingType' | 'sort'>): Promise<ISeatAsEventOffer[]>;
52
+ limit: number;
53
+ page: number;
54
+ }): Promise<ISeatAsEventOffer[]>;
53
55
  /**
54
56
  * オファーで利用可能な適用決済カード条件を検索する
55
57
  */
@@ -49,15 +49,11 @@ class EventService extends service_1.Service {
49
49
  * @deprecated use find seatOffers
50
50
  */
51
51
  async findSeatOffersDeprecated(params) {
52
- const { id, ...query } = params;
53
- // const { useDefaultSection } = options;
52
+ const { id, limit, page } = params;
54
53
  return this.fetch({
55
54
  uri: `/events/${encodeURIComponent(String(id))}/seats`,
56
55
  method: 'GET',
57
- qs: {
58
- ...query,
59
- // useDefaultSection
60
- },
56
+ qs: { limit, page },
61
57
  expectedStatusCodes: [http_status_1.status.OK]
62
58
  })
63
59
  .then(async (response) => response.json());
@@ -1,8 +1,6 @@
1
1
  import { factory } from '../factory';
2
2
  import { Service } from '../service';
3
- type IKeyOfProjection = keyof factory.eventSeries.IEvent;
4
- type IProjection = Partial<Record<IKeyOfProjection, 0>>;
5
- export type IFindParams = Pick<factory.eventSeries.ISearchConditions, 'endFrom' | 'endThrough' | 'id' | 'limit' | 'name' | 'page' | 'sort' | 'startFrom' | 'startThrough'> & {
3
+ export type IFindParamsLegacy = Pick<factory.eventSeries.ISearchConditions, 'endFrom' | 'endThrough' | 'id' | 'limit' | 'name' | 'page' | 'sort' | 'startFrom' | 'startThrough'> & {
6
4
  location?: {
7
5
  branchCode?: {
8
6
  $eq?: string;
@@ -10,18 +8,52 @@ export type IFindParams = Pick<factory.eventSeries.ISearchConditions, 'endFrom'
10
8
  };
11
9
  workPerformed?: {
12
10
  /**
13
- * コンテンツコード
11
+ * コンテンツコード(最大1つ指定可能)
14
12
  */
15
13
  identifiers?: string[];
16
14
  };
17
- typeOf: factory.eventType.ScreeningEventSeries;
18
- $projection?: IProjection;
15
+ $projection?: never;
19
16
  };
17
+ export interface IFindParamsNew {
18
+ limit: number;
19
+ page: number;
20
+ id?: string;
21
+ ids?: string[];
22
+ /**
23
+ * 開始日時 from
24
+ * ISO 8601 date format
25
+ */
26
+ startFrom?: Date;
27
+ /**
28
+ * 開始日時 through
29
+ * ISO 8601 date format
30
+ */
31
+ startThrough?: Date;
32
+ /**
33
+ * 終了日時 from
34
+ * ISO 8601 date format
35
+ */
36
+ endFrom?: Date;
37
+ /**
38
+ * 終了日時 through
39
+ * ISO 8601 date format
40
+ */
41
+ endThrough?: Date;
42
+ name?: string;
43
+ /**
44
+ * 施設コード
45
+ */
46
+ locationBranchCode?: string;
47
+ /**
48
+ * コンテンツコード
49
+ */
50
+ movieIdentifier?: string;
51
+ movieIdentifiers?: never;
52
+ }
20
53
  export 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'>;
21
54
  /**
22
55
  * 施設コンテンツサービス
23
56
  */
24
57
  export declare class EventSeriesService extends Service {
25
- findEventSeries(params: IFindParams): Promise<IEventSeriesAsFindResult[]>;
58
+ findEventSeries(params: IFindParamsNew): Promise<IEventSeriesAsFindResult[]>;
26
59
  }
27
- export {};
@@ -7,12 +7,22 @@ const service_1 = require("../service");
7
7
  * 施設コンテンツサービス
8
8
  */
9
9
  class EventSeriesService extends service_1.Service {
10
+ // public async findEventSeries(params: IFindParams): Promise<IEventSeriesAsFindResult[]> {
11
+ // return this.fetch({
12
+ // uri: '/eventSeries',
13
+ // method: 'GET',
14
+ // qs: params,
15
+ // expectedStatusCodes: [status.OK]
16
+ // })
17
+ // .then(async (response) => response.json());
18
+ // }
10
19
  async findEventSeries(params) {
11
20
  return this.fetch({
12
- uri: '/eventSeries',
21
+ uri: '/superEvents',
13
22
  method: 'GET',
14
23
  qs: params,
15
- expectedStatusCodes: [http_status_1.status.OK]
24
+ expectedStatusCodes: [http_status_1.status.OK],
25
+ stringifyOptions: { arrayFormat: 'repeat' }
16
26
  })
17
27
  .then(async (response) => response.json());
18
28
  }
@@ -8,5 +8,5 @@ export type IPaymentServiceByProvider = Pick<factory.service.paymentService.ISer
8
8
  /**
9
9
  * 販売者の提供決済サービス検索条件
10
10
  */
11
- export type ISearchPaymentServiceConditions = Pick<factory.service.paymentService.ISearchConditions, 'limit' | 'page' | 'sort' | 'typeOf'>;
11
+ export type ISearchPaymentServiceConditions = Pick<factory.service.paymentService.ISearchConditions, 'limit' | 'page'>;
12
12
  export type IPaymentAccepted = Pick<factory.categoryCode.ICategoryCode, 'codeValue' | 'additionalProperty' | 'color' | 'image' | 'name'>;
@@ -1,8 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // export type IMakesProductOffer = Pick<
4
- // factory.product.IOffer,
5
- // 'availabilityEnds' | 'availabilityStarts' | 'seller' | 'validFrom' | 'validThrough'
6
- // > & {
7
- // itemOffered: Pick<factory.product.IProduct, 'id' | 'name' | 'typeOf'>;
8
- // };
@@ -14,15 +14,13 @@ export declare class SellerService extends Service<IOptions> {
14
14
  /**
15
15
  * 販売者検索
16
16
  */
17
- findSellers(params: Pick<factory.seller.ISearchConditions, 'limit' | 'page' | 'sort'> & {
18
- branchCode?: {
19
- $eq?: string;
20
- };
17
+ findSellers(params: Pick<factory.seller.ISearchConditions, 'limit' | 'page'> & {
18
+ branchCode?: string;
21
19
  }): Promise<Pick<factory.seller.ISeller, 'additionalProperty' | 'branchCode' | 'id' | 'name' | 'project' | 'telephone' | 'typeOf' | 'url'>[]>;
22
20
  /**
23
21
  * 提供決済サービス検索(public)
24
22
  */
25
- searchPaymentServicesByProvider(params: {
23
+ findPaymentServicesByProvider(params: {
26
24
  provider: {
27
25
  /**
28
26
  * 販売者ID
@@ -32,7 +30,7 @@ export declare class SellerService extends Service<IOptions> {
32
30
  /**
33
31
  * 検索条件
34
32
  */
35
- qs: ISearchPaymentServiceConditions;
33
+ qs: Pick<ISearchPaymentServiceConditions, 'limit' | 'page'>;
36
34
  }): Promise<IPaymentServiceByProvider[]>;
37
35
  /**
38
36
  * 対応決済方法区分検索
@@ -33,7 +33,7 @@ class SellerService extends service_1.Service {
33
33
  /**
34
34
  * 提供決済サービス検索(public)
35
35
  */
36
- async searchPaymentServicesByProvider(params) {
36
+ async findPaymentServicesByProvider(params) {
37
37
  const { provider, qs } = params;
38
38
  return this.fetch({
39
39
  uri: `/sellers/${provider.id}/paymentServices`,
@@ -20,10 +20,6 @@ export interface IFindParams {
20
20
  * バージョン
21
21
  */
22
22
  workPerformedVersion?: string;
23
- /**
24
- * 音響方式区分コード
25
- */
26
- soundFormatType?: string;
27
23
  /**
28
24
  * 上映方式区分コード
29
25
  */
@@ -41,7 +37,7 @@ export interface IFindParams {
41
37
  */
42
38
  endDateGte?: Date;
43
39
  }
44
- export type IEventSeriesAsFindResult = Pick<factory.eventSeries.IEvent, 'additionalProperty' | 'alternativeHeadline' | 'description' | 'dubLanguage' | 'duration' | 'endDate' | 'headline' | 'kanaName' | 'location' | 'name' | 'offers' | 'organizer' | 'soundFormat' | 'startDate' | 'subtitleLanguage' | 'typeOf' | 'workPerformed' | 'id' | 'coaInfo' | 'identifier' | 'subEvent'>;
40
+ export type IEventSeriesAsFindResult = Pick<factory.eventSeries.IEvent, 'additionalProperty' | 'alternativeHeadline' | 'description' | 'dubLanguage' | 'duration' | 'endDate' | 'headline' | 'kanaName' | 'location' | 'name' | 'offers' | 'organizer' | 'startDate' | 'subtitleLanguage' | 'typeOf' | 'workPerformed' | 'id' | 'coaInfo' | 'identifier' | 'subEvent'>;
45
41
  /**
46
42
  * 施設コンテンツサービス
47
43
  */
@@ -21,15 +21,15 @@ export type IOrderAsFindByConfirmationNumberResult = Pick<factory.order.IOrder,
21
21
  telephone?: string;
22
22
  };
23
23
  };
24
- export type IItemOfferedMinimized = Pick<factory.order.IAcceptedOffer['itemOffered'], 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'reservedTicket' | 'typeOf'> & {
24
+ export type IItemOfferedMinimized = Pick<factory.acceptedOffer.IAcceptedOffer['itemOffered'], 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'reservedTicket' | 'typeOf'> & {
25
25
  /**
26
26
  * 注文オファー参照結果に含まれるイベント情報は基本的にidのみ
27
27
  */
28
- reservationFor: Pick<factory.order.IEventAsReservationFor, 'id' | 'typeOf'>;
28
+ reservationFor: Pick<factory.acceptedOffer.IEventAsReservationFor, 'id' | 'typeOf'>;
29
29
  };
30
30
  /**
31
31
  * 注文番号+確認番号による注文オファー検索結果としての注文オファー
32
32
  */
33
- export type IAcceptedOfferAsFindResult = Pick<factory.order.IAcceptedOffer, 'id' | 'offeredThrough' | 'priceSpecification' | 'serialNumber' | 'typeOf'> & {
33
+ export type IAcceptedOfferAsFindResult = Pick<factory.acceptedOffer.IAcceptedOffer, 'id' | 'offeredThrough' | 'priceSpecification' | 'serialNumber' | 'typeOf'> & {
34
34
  itemOffered: IItemOfferedMinimized;
35
35
  };
@@ -3,20 +3,6 @@ import { Service } from '../service';
3
3
  * 施設コンテンツサービス
4
4
  */
5
5
  export declare class EventSeriesService extends Service {
6
- aggregateMaxVersion(params: {
7
- workPerformed: {
8
- identifier: {
9
- $eq: string;
10
- };
11
- };
12
- location: {
13
- branchCode: {
14
- $in: string[];
15
- };
16
- };
17
- }): Promise<{
18
- maxVersion: string;
19
- }>;
20
6
  /**
21
7
  * 施設コンテンツ削除
22
8
  */
@@ -8,72 +8,23 @@ const service_1 = require("../service");
8
8
  * 施設コンテンツサービス
9
9
  */
10
10
  class EventSeriesService extends service_1.Service {
11
- // discontinue(2026-01-30~)
12
- // public async createIfNotExistByWorkPerformed(params: {
13
- // attributes: factory.eventSeries.ICreateParams[];
14
- // qs: {
15
- // /**
16
- // * 全施設に作成するかどうか
17
- // */
18
- // createScreeningEventSeriesOnAllLocation?: boolean;
11
+ // discontinue(2026-10-04~)
12
+ // public async aggregateMaxVersion(params: {
13
+ // workPerformed: {
14
+ // identifier: { $eq: string };
19
15
  // };
20
- // }): Promise<void> {
21
- // await this.fetch({
22
- // uri: `/events/${factory.eventType.ScreeningEventSeries}/createScreeningEventSeriesIfNotExistByWorkPerformed`,
23
- // method: 'POST',
24
- // body: params.attributes,
25
- // qs: params.qs,
26
- // expectedStatusCodes: [status.NO_CONTENT]
27
- // });
28
- // }
29
- // discontinue(2026-01-30~)
30
- // /**
31
- // * 施設コンテンツ作成
32
- // */
33
- // public async create(
34
- // params: factory.eventSeries.ICreateParams[]
35
- // ): Promise<{ id: string }> {
16
+ // location: {
17
+ // branchCode: { $in: string[] };
18
+ // };
19
+ // }): Promise<{ maxVersion: string }> {
36
20
  // return this.fetch({
37
- // uri: `/events/${factory.eventType.ScreeningEventSeries}`,
38
- // method: 'POST',
39
- // body: params,
40
- // expectedStatusCodes: [status.CREATED]
21
+ // uri: `/events/${factory.eventType.ScreeningEventSeries}/aggregateScreeningEventMaxVersion`,
22
+ // method: 'GET',
23
+ // qs: params,
24
+ // expectedStatusCodes: [status.OK]
41
25
  // })
42
26
  // .then(async (response) => response.json());
43
27
  // }
44
- async aggregateMaxVersion(params) {
45
- return this.fetch({
46
- uri: `/events/${factory_1.factory.eventType.ScreeningEventSeries}/aggregateScreeningEventMaxVersion`,
47
- method: 'GET',
48
- qs: params,
49
- expectedStatusCodes: [http_status_1.status.OK]
50
- })
51
- .then(async (response) => response.json());
52
- }
53
- // discontinue(2026-01-30~)
54
- // /**
55
- // * 施設コンテンツ更新
56
- // */
57
- // public async updateById(params: {
58
- // id: string;
59
- // attributes: factory.eventSeries.ICreateParams & {
60
- // // $unset?: IUnset; // discontinue(2024-08-07~)
61
- // };
62
- // qs: {
63
- // /**
64
- // * 関連リソースへの同期有無(2023-07-28~)
65
- // */
66
- // useSync?: boolean;
67
- // };
68
- // }): Promise<void> {
69
- // await this.fetch({
70
- // uri: `/events/${factory.eventType.ScreeningEventSeries}/${encodeURIComponent(String(params.id))}`,
71
- // method: 'PUT',
72
- // body: params.attributes,
73
- // qs: params.qs,
74
- // expectedStatusCodes: [status.NO_CONTENT]
75
- // });
76
- // }
77
28
  /**
78
29
  * 施設コンテンツ削除
79
30
  */
@@ -4,13 +4,13 @@ type IKeyOfProjection = keyof factory.order.IOrder | '_id';
4
4
  * 注文検索時projection
5
5
  */
6
6
  export type IProjection = Partial<Record<IKeyOfProjection, 1>>;
7
- export type IItemOfferedMinimized = Pick<factory.order.IAcceptedOffer['itemOffered'], 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'reservedTicket' | 'typeOf'> & {
7
+ export type IItemOfferedMinimized = Pick<factory.acceptedOffer.IAcceptedOffer['itemOffered'], 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'reservedTicket' | 'typeOf'> & {
8
8
  /**
9
9
  * 注文オファー参照結果に含まれるイベント情報は基本的にidのみ
10
10
  */
11
- reservationFor: Pick<factory.order.IEventAsReservationFor, 'id' | 'typeOf'>;
11
+ reservationFor: Pick<factory.acceptedOffer.IEventAsReservationFor, 'id' | 'typeOf'>;
12
12
  };
13
- export type IAcceptedOfferMinimized = Pick<factory.order.IAcceptedOffer, 'id' | 'offeredThrough' | 'priceSpecification' | 'serialNumber' | 'typeOf'> & {
13
+ export type IAcceptedOfferMinimized = Pick<factory.acceptedOffer.IAcceptedOffer, 'id' | 'offeredThrough' | 'priceSpecification' | 'serialNumber' | 'typeOf'> & {
14
14
  itemOffered: IItemOfferedMinimized;
15
15
  };
16
16
  /**
@@ -1,19 +1,31 @@
1
1
  import { factory } from '../factory';
2
2
  import { Service } from '../service';
3
- type IServiceChannel = Pick<factory.serviceChannel.IServiceChannel, 'credentials' | 'id' | 'providesService' | 'serviceUrl' | 'typeOf'>;
4
- type ISavingChannel = Pick<factory.serviceChannel.IServiceChannel, 'credentials' | 'providesService' | 'serviceUrl'>;
3
+ /**
4
+ * 現時点でCreditCard IFのみ(2026-10-06~)
5
+ */
6
+ type IServiceChannelAsFindResult = Pick<factory.serviceChannel.IServiceChannelCreditCard, 'credentials' | 'id' | 'providesService' | 'serviceUrl' | 'typeOf'>;
7
+ /**
8
+ * 現時点でCreditCard IFのみ(2026-10-06~)
9
+ */
10
+ type ISavingChannel = Pick<factory.serviceChannel.IServiceChannelCreditCard, 'credentials' | 'providesService' | 'serviceUrl'>;
5
11
  /**
6
12
  * 決済サービスチャネルサービス
13
+ * 現時点でCreditCard IFのみ(2026-10-06~)
7
14
  */
8
15
  export declare class PaymentServiceChannelService extends Service {
9
- create(params: ISavingChannel): Promise<{
16
+ addPaymentServiceChannel(params: ISavingChannel): Promise<{
10
17
  id: string;
11
18
  }>;
12
- projectFields(params: Omit<factory.serviceChannel.ISearchConditions, 'project'>): Promise<IServiceChannel[]>;
13
- updateById(params: ISavingChannel & {
19
+ findPaymentServiceChannels(params: {
20
+ limit: number;
21
+ page: number;
22
+ id?: string;
23
+ serviceUrl?: string;
24
+ }): Promise<IServiceChannelAsFindResult[]>;
25
+ updatePaymentServiceChannelById(params: ISavingChannel & {
14
26
  id: string;
15
27
  }): Promise<void>;
16
- deleteById(params: {
28
+ deletePaymentServiceChannelById(params: {
17
29
  id: string;
18
30
  }): Promise<void>;
19
31
  }
@@ -5,9 +5,10 @@ const http_status_1 = require("http-status");
5
5
  const service_1 = require("../service");
6
6
  /**
7
7
  * 決済サービスチャネルサービス
8
+ * 現時点でCreditCard IFのみ(2026-10-06~)
8
9
  */
9
10
  class PaymentServiceChannelService extends service_1.Service {
10
- async create(params) {
11
+ async addPaymentServiceChannel(params) {
11
12
  return this.fetch({
12
13
  uri: '/paymentServiceChannels',
13
14
  method: 'POST',
@@ -16,7 +17,7 @@ class PaymentServiceChannelService extends service_1.Service {
16
17
  })
17
18
  .then(async (response) => response.json());
18
19
  }
19
- async projectFields(params) {
20
+ async findPaymentServiceChannels(params) {
20
21
  return this.fetch({
21
22
  uri: '/paymentServiceChannels',
22
23
  method: 'GET',
@@ -25,7 +26,7 @@ class PaymentServiceChannelService extends service_1.Service {
25
26
  })
26
27
  .then(async (response) => response.json());
27
28
  }
28
- async updateById(params) {
29
+ async updatePaymentServiceChannelById(params) {
29
30
  const { id, ...body } = params;
30
31
  await this.fetch({
31
32
  uri: `/paymentServiceChannels/${encodeURIComponent(String(id))}`,
@@ -34,7 +35,7 @@ class PaymentServiceChannelService extends service_1.Service {
34
35
  expectedStatusCodes: [http_status_1.status.NO_CONTENT]
35
36
  });
36
37
  }
37
- async deleteById(params) {
38
+ async deletePaymentServiceChannelById(params) {
38
39
  const { id } = params;
39
40
  await this.fetch({
40
41
  uri: `/paymentServiceChannels/${encodeURIComponent(String(id))}`,
@@ -54,11 +54,9 @@ export declare class SellerService extends Service<IOptions> {
54
54
  * 検索条件
55
55
  */
56
56
  qs: {
57
- limit?: number;
58
- page?: number;
59
- codeValue?: {
60
- $eq?: string;
61
- };
57
+ limit: number;
58
+ page: number;
59
+ codeValue?: string;
62
60
  };
63
61
  }): Promise<Pick<IPaymentAccepted, 'codeValue'>[]>;
64
62
  addSellerPaymentAccepted(params: {
@@ -1,5 +1,5 @@
1
1
  import { IAdditionalOptions, IOptions, Service } from '../../service';
2
- import type { ICategoryCodeAsFindResult, IFindParams } from '../../chevre/categoryCode';
2
+ import type { ICategoryCodeAsFindResult } from '../../chevre/categoryCode';
3
3
  /**
4
4
  * 区分サービス
5
5
  */
@@ -8,7 +8,18 @@ export declare class CategoryCodeService extends Service {
8
8
  /**
9
9
  * 区分検索(決済カード区分を除く)
10
10
  */
11
- search(params: IFindParams): Promise<{
11
+ search(params: {
12
+ limit?: number;
13
+ page?: number;
14
+ /**
15
+ * 区分分類
16
+ */
17
+ inCodeSet?: {
18
+ identifier?: {
19
+ $eq?: string;
20
+ };
21
+ };
22
+ }): Promise<{
12
23
  data: ICategoryCodeAsFindResult[];
13
24
  }>;
14
25
  }
@@ -1,4 +1,4 @@
1
- import { IPaymentAccepted, IPaymentServiceByProvider, ISearchPaymentServiceConditions } from '../../chevre/seller/factory';
1
+ import { IPaymentAccepted, IPaymentServiceByProvider } from '../../chevre/seller/factory';
2
2
  import { factory } from '../../factory';
3
3
  import { IFetchOptions, IOptions, ISearchResult, Service } from '../../service';
4
4
  /**
@@ -35,7 +35,10 @@ export declare class SellerService extends Service<IOptions> {
35
35
  /**
36
36
  * 検索条件
37
37
  */
38
- qs: ISearchPaymentServiceConditions;
38
+ qs: {
39
+ limit?: number;
40
+ page?: number;
41
+ };
39
42
  }): Promise<ISearchResult<IPaymentServiceByProvider[]>>;
40
43
  /**
41
44
  * 対応決済方法区分検索
@@ -1,4 +1,4 @@
1
- import { IFindParams, IMovieAsFindResult } from '../../chevre/creativeWork';
1
+ import { IFindParamsLegacy, IMovieAsFindResult } from '../../chevre/creativeWork';
2
2
  import { Service } from '../../service';
3
3
  /**
4
4
  * コンテンツサービス
@@ -7,5 +7,5 @@ export declare class CreativeWorkService extends Service {
7
7
  /**
8
8
  * コンテンツ検索
9
9
  */
10
- findMovies(params: Pick<IFindParams, 'identifier' | 'limit' | 'page'>): Promise<Omit<IMovieAsFindResult, 'project'>[]>;
10
+ findMovies(params: Pick<IFindParamsLegacy, 'identifier' | 'limit' | 'page'>): Promise<Omit<IMovieAsFindResult, 'project'>[]>;
11
11
  }
@@ -1,5 +1,5 @@
1
1
  import { Service } from '../../service';
2
- import { IFindParams, IEventSeriesAsFindResult } from '../../chevre/eventSeries';
2
+ import { IFindParamsLegacy, IEventSeriesAsFindResult } from '../../chevre/eventSeries';
3
3
  /**
4
4
  * 施設コンテンツサービス
5
5
  */
@@ -7,5 +7,5 @@ export declare class EventSeriesService extends Service {
7
7
  /**
8
8
  * 施設コンテンツ検索
9
9
  */
10
- findEventSeries(params: IFindParams): Promise<IEventSeriesAsFindResult[]>;
10
+ findEventSeries(params: IFindParamsLegacy): Promise<IEventSeriesAsFindResult[]>;
11
11
  }
@@ -20,6 +20,7 @@ export declare class DefaultTransporter implements Transporter {
20
20
  /**
21
21
  * Default user agent.
22
22
  */
23
+ static readonly USER_AGENT: string;
23
24
  expectedStatusCodes: number[];
24
25
  constructor(expectedStatusCodes: number[]);
25
26
  /**