@chevre/factory 4.254.0 → 4.257.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.
@@ -48,7 +48,20 @@ export interface IResult<T extends WebAPIFactory.Identifier> {
48
48
  responseBody: IResponseBody<T>;
49
49
  acceptedOffers?: IResultAcceptedOffer[];
50
50
  }
51
- export declare type IAcceptedOffer4chevre = ReserveTransactionFactory.IAcceptedTicketOffer;
51
+ export declare type IAcceptedOfferPriceSpecification = ScreeningEventFactory.ITicketPriceSpecification & {
52
+ /**
53
+ * 複合価格仕様に、指定された適用決済カード情報を付加できるように
54
+ */
55
+ appliesToMovieTicket?: ReserveTransactionFactory.IAcceptedAppliesToMovieTicket;
56
+ };
57
+ /**
58
+ * 受け入れられたチケットオファー
59
+ */
60
+ export declare type IAcceptedOffer4chevre = Pick<ScreeningEventFactory.ITicketOffer, 'id' | 'identifier' | 'typeOf' | 'priceCurrency' | 'itemOffered' | 'addOn' | 'additionalProperty'> & Pick<ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail, 'id' | 'addOn' | 'additionalProperty' | 'paymentMethod'> & {
61
+ itemOffered?: ReserveTransactionFactory.IAcceptedTicketOfferItemOffered;
62
+ priceSpecification: IAcceptedOfferPriceSpecification;
63
+ movieTicketIdentifire?: string;
64
+ };
52
65
  export declare type IAcceptedOfferWithoutDetail4chevre = ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail;
53
66
  export declare type IObjectWithoutDetail4chevre = ReserveTransactionFactory.IObjectWithoutDetail;
54
67
  export declare type IAcceptedOffer4COA = ReserveTransactionFactory.IAcceptedTicketOfferWithoutDetail & OfferFactory.seatReservation.IOfferWithDetails;
@@ -3,7 +3,6 @@ import { ActionType } from '../actionType';
3
3
  import * as AssetTransactionFactory from '../assetTransaction';
4
4
  import { AssetTransactionType } from '../assetTransactionType';
5
5
  import { IExtendId } from '../autoGenerated';
6
- import { ITicketOffer } from '../event/screeningEvent';
7
6
  import { IMovieTicket } from '../paymentMethod/paymentCard/movieTicket';
8
7
  import { IPointAward } from '../product';
9
8
  import { IPropertyValue } from '../propertyValue';
@@ -100,6 +99,32 @@ export interface IAcceptedAddOn {
100
99
  id?: string;
101
100
  }
102
101
  export declare type IAcceptedPaymentMethod = IMovieTicket;
102
+ export interface ISingleAcceptedAppliesToMovieTicket {
103
+ /**
104
+ * 適用決済カード識別子
105
+ */
106
+ identifier?: string;
107
+ }
108
+ /**
109
+ * 複数承認適用決済カード
110
+ * 複数指定の場合、カード識別子と決済方法区分の組み合わせで指定します
111
+ */
112
+ export declare type IMultipleAcceptedAppliesToMovieTicket = {
113
+ /**
114
+ * 適用決済カード識別子
115
+ */
116
+ identifier?: string;
117
+ serviceOutput?: {
118
+ /**
119
+ * 決済方法区分
120
+ */
121
+ typeOf?: string;
122
+ };
123
+ }[];
124
+ /**
125
+ * 承認適用決済カード
126
+ */
127
+ export declare type IAcceptedAppliesToMovieTicket = ISingleAcceptedAppliesToMovieTicket | IMultipleAcceptedAppliesToMovieTicket;
103
128
  /**
104
129
  * 受け入れられたチケットオファー(詳細なし)
105
130
  */
@@ -120,30 +145,17 @@ export interface IAcceptedTicketOfferWithoutDetail {
120
145
  paymentMethod?: IAcceptedPaymentMethod;
121
146
  additionalProperty?: IPropertyValue<string>[];
122
147
  priceSpecification?: {
123
- appliesToMovieTicket?: {
124
- /**
125
- * 適用MovieTicket購入番号
126
- */
127
- identifier?: string;
128
- };
148
+ appliesToMovieTicket?: IAcceptedAppliesToMovieTicket;
129
149
  };
130
150
  }
131
151
  /**
132
152
  * 受け入れられたチケットオファー
133
153
  */
134
- export declare type IAcceptedTicketOffer = Omit<IAcceptedTicketOfferWithoutDetail, 'priceSpecification'> & ITicketOffer & {
135
- itemOffered?: IAcceptedTicketOfferItemOffered;
136
- };
137
154
  export interface IAcceptedOffer4object {
138
155
  id: string;
139
156
  itemOffered: IAcceptedTicketOfferItemOffered4object;
140
157
  priceSpecification?: {
141
- appliesToMovieTicket?: {
142
- /**
143
- * 適用MovieTicket購入番号
144
- */
145
- identifier?: string;
146
- };
158
+ appliesToMovieTicket?: IAcceptedAppliesToMovieTicket;
147
159
  };
148
160
  }
149
161
  /**
@@ -152,9 +164,6 @@ export interface IAcceptedOffer4object {
152
164
  */
153
165
  export interface IConfirmingReservation {
154
166
  id: string;
155
- /**
156
- * Any additional text to appear on a ticket, such as additional privileges or identifiers.
157
- */
158
167
  reservedTicket?: {
159
168
  /**
160
169
  * チケット発行者
@@ -1,4 +1,5 @@
1
1
  import * as CreativeWorkFactory from '../creativeWork';
2
+ import { IMultilingualString } from '../multilingualString';
2
3
  import * as OfferFactory from '../offer';
3
4
  import { IProject } from '../project';
4
5
  import { SortType } from '../sortType';
@@ -25,6 +26,7 @@ export interface ICreativeWork extends CreativeWorkFactory.ICreativeWork {
25
26
  * The duration of the item (movie, audio recording, event, etc.) in ISO 8601 date format.
26
27
  */
27
28
  duration?: string;
29
+ name?: IMultilingualString;
28
30
  /**
29
31
  * 販売情報
30
32
  */
@@ -1,6 +1,7 @@
1
- import { ICOAInfo, ILocation as IEventLocation, IName as IEventName, ISuperEvent } from '../event/screeningEvent';
1
+ import { ICOAInfo, ILocation as IEventLocation, IName as IEventName, ISuperEvent, IWorkPerformed } from '../event/screeningEvent';
2
2
  import { EventStatusType } from '../eventStatusType';
3
3
  import { EventType } from '../eventType';
4
+ import { IMultilingualString } from '../multilingualString';
4
5
  import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
5
6
  import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
6
7
  import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../priceSpecification/movieTicketTypeChargeSpecification';
@@ -9,7 +10,12 @@ import { IProject } from '../project';
9
10
  import * as ReservationFactory from '../reservation';
10
11
  import { ReservationStatusType } from '../reservationStatusType';
11
12
  import { ReservationType } from '../reservationType';
12
- export declare type IOptimizedSuperEvent = Omit<ISuperEvent, 'subtitleLanguage' | 'dubLanguage' | 'organizer' | 'offers' | 'endDate' | 'startDate' | 'doorDate' | 'eventStatus'>;
13
+ export declare type IOptimizedWorkPerformed = Omit<IWorkPerformed, 'name'> & {
14
+ name?: string | IMultilingualString;
15
+ };
16
+ export declare type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'kanaName' | 'location' | 'name' | 'project' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'description' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
17
+ workPerformed: IOptimizedWorkPerformed;
18
+ };
13
19
  export interface IReservationFor {
14
20
  endDate: Date;
15
21
  eventStatus: EventStatusType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.254.0",
3
+ "version": "4.257.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",