@cinerino/sdk 13.3.0 → 13.4.0-alpha.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.
@@ -4,12 +4,12 @@ import { Service } from '../service';
4
4
  export interface IUseActionResult {
5
5
  id: string;
6
6
  }
7
- declare type IKeyOfProjection<T extends factory.reservationType> = keyof factory.reservation.IReservation<T>;
8
- declare type IProjection<T extends factory.reservationType> = {
9
- [key in IKeyOfProjection<T>]?: 1;
7
+ declare type IKeyOfProjection = keyof factory.reservation.eventReservation.IReservation;
8
+ declare type IProjection = {
9
+ [key in IKeyOfProjection]?: 1;
10
10
  };
11
- interface IProjectionSearchConditions<T extends factory.reservationType> {
12
- $projection?: IProjection<T>;
11
+ interface IProjectionSearchConditions {
12
+ $projection?: IProjection;
13
13
  }
14
14
  /**
15
15
  * 予約サービス
@@ -18,7 +18,7 @@ export declare class ReservationService extends Service {
18
18
  /**
19
19
  * 予約検索
20
20
  */
21
- find(params: Omit<factory.reservation.ISearchConditions<factory.reservationType.EventReservation>, 'project' | 'provider'> & IProjectionSearchConditions<factory.reservationType.EventReservation> & {
21
+ find(params: Omit<factory.reservation.eventReservation.ISearchConditions, 'project' | 'provider'> & IProjectionSearchConditions & {
22
22
  /**
23
23
  * min: 1
24
24
  * max: 20
@@ -1,7 +1,7 @@
1
1
  import * as factory from '../../factory';
2
2
  import { IOptions, ISearchResult, Service } from '../../service';
3
3
  export declare type ICreditCard = factory.paymentMethod.paymentCard.creditCard.IUncheckedCardRaw | factory.paymentMethod.paymentCard.creditCard.IUncheckedCardTokenized;
4
- declare type IEventReservation = factory.reservation.IReservation<factory.reservationType.EventReservation>;
4
+ declare type IEventReservation = factory.reservation.eventReservation.IReservation;
5
5
  declare type IReservationWithDetail = IEventReservation;
6
6
  declare type IGoodWithDetail = IReservationWithDetail | factory.permit.IPermit;
7
7
  export declare type IOwnershipInfoWithDetail = Omit<factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>, 'typeOfGood'> & {
@@ -14,7 +14,7 @@ interface IOfferAsFindByCodeResult {
14
14
  /**
15
15
  * コードによる予約照会結果
16
16
  */
17
- export declare type IFindByCodeResult = Pick<factory.reservation.IReservation<factory.reservationType.EventReservation>, 'id' | 'additionalTicketText' | 'checkedIn' | 'reservationStatus'> & {
17
+ export declare type IFindByCodeResult = Pick<factory.reservation.eventReservation.IReservation, 'id' | 'additionalTicketText' | 'checkedIn' | 'reservationStatus'> & {
18
18
  reservedTicket: {
19
19
  ticketType: IOfferAsFindByCodeResult;
20
20
  };
@@ -35,5 +35,5 @@ export declare class ReservationService extends Service {
35
35
  limit?: number;
36
36
  page?: number;
37
37
  typeOf: factory.reservationType.EventReservation;
38
- }): Promise<Pick<factory.reservation.IReservation<factory.reservationType.EventReservation>, 'additionalTicketText' | 'id' | 'reservationStatus'>[]>;
38
+ }): Promise<Pick<factory.reservation.eventReservation.IReservation, 'additionalTicketText' | 'id' | 'reservationStatus'>[]>;
39
39
  }
@@ -1,6 +1,6 @@
1
1
  import * as factory from '../factory';
2
2
  import { ISearchResult, Service } from '../service';
3
- declare type IEventReservation = factory.reservation.IReservation<factory.reservationType.EventReservation>;
3
+ declare type IEventReservation = factory.reservation.eventReservation.IReservation;
4
4
  declare type IReservationWithDetail = IEventReservation;
5
5
  declare type IGoodWithDetail = IReservationWithDetail | factory.permit.IPermit;
6
6
  export declare type IOwnershipInfo = (factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood> | (Omit<factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>, 'typeOfGood'> & {
@@ -1,7 +1,7 @@
1
1
  import * as factory from '../../factory';
2
2
  import { IOptions, ISearchResult, Service } from '../../service';
3
3
  export declare type ICreditCard = factory.paymentMethod.paymentCard.creditCard.IUncheckedCardRaw | factory.paymentMethod.paymentCard.creditCard.IUncheckedCardTokenized;
4
- declare type IEventReservation = factory.reservation.IReservation<factory.reservationType.EventReservation>;
4
+ declare type IEventReservation = factory.reservation.eventReservation.IReservation;
5
5
  declare type IReservationWithDetail = IEventReservation;
6
6
  declare type IGoodWithDetail = IReservationWithDetail | factory.permit.IPermit;
7
7
  export declare type IOwnershipInfoWithDetail = Omit<factory.ownershipInfo.IOwnershipInfo<factory.ownershipInfo.IGood>, 'typeOfGood'> & {
@@ -35,5 +35,5 @@ export declare class ReservationService extends Service {
35
35
  limit?: number;
36
36
  page?: number;
37
37
  typeOf: factory.reservationType.EventReservation;
38
- }): Promise<Pick<factory.reservation.IReservation<factory.reservationType.EventReservation>, 'additionalTicketText' | 'id' | 'reservationStatus'>[]>;
38
+ }): Promise<Pick<factory.reservation.eventReservation.IReservation, 'additionalTicketText' | 'id' | 'reservationStatus'>[]>;
39
39
  }