@chevre/factory 9.5.0-alpha.1 → 9.5.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.
@@ -3,10 +3,10 @@ import { IAcceptedPaymentMethodOfferAsInstrument, IPaymentMethodTicketAsInstrume
3
3
  import { ActionType } from '../../actionType';
4
4
  import { IAgent, IObjectWithoutDetail, IPaymentMethodWithoutDetail } from '../../assetTransaction/pay';
5
5
  import { AssetTransactionType } from '../../assetTransactionType';
6
- import { IExecTran3dsArgs, IExecTran3dsResult, IRecipe } from '../../recipe/publishPaymentUrl';
6
+ import { IExecTran3dsResult, IExecTranResult, IRecipe } from '../../recipe/publishPaymentUrl';
7
7
  import { TransactionType } from '../../transactionType';
8
8
  import { IAttributes as IBaseAttributes } from '../accept';
9
- export { IExecTran3dsArgs, IExecTran3dsResult, IAgent, IRecipe };
9
+ export { IExecTran3dsResult, IExecTranResult, IAgent, IRecipe };
10
10
  export type IPaymentMethod = Pick<IPaymentMethodWithoutDetail, 'amount' | 'creditCard' | 'identifier' | 'method'>;
11
11
  /**
12
12
  * 採用する決済方法
@@ -24,7 +24,6 @@ export interface IObject {
24
24
  }
25
25
  export interface IResult {
26
26
  paymentMethodId: string;
27
- paymentUrl: string;
28
27
  }
29
28
  export interface IPurpose {
30
29
  typeOf: TransactionType.PlaceOrder;
@@ -1,10 +1,5 @@
1
1
  import { IParticipantAsSeller, IParticipantAsWebApplication, IParticipantAsPerson } from '../../../action';
2
- import { IPermitIssuedThroughFaceToFace, IPermitIssuedThroughMembershipService } from '../../../assetTransaction/reserve';
3
2
  import { AssetTransactionType } from '../../../assetTransactionType';
4
- import { OfferType } from '../../../offerType';
5
- import { PriceCurrency } from '../../../priceCurrency';
6
- import { IPriceSpecification as IUnitPriceSpecification } from '../../../priceSpecification/unitPriceSpecification';
7
- import { ITicketOffer } from '../../../product';
8
3
  import { TransactionType } from '../../../transactionType';
9
4
  export type IAgent = IParticipantAsSeller;
10
5
  export type IRecipient = IParticipantAsWebApplication | IParticipantAsPerson;
@@ -33,39 +28,3 @@ export interface IPurpose {
33
28
  id: string;
34
29
  }
35
30
  export type IError = any;
36
- export interface IAcceptedOfferInResult extends Pick<ITicketOffer, 'acceptedPaymentMethod' | 'id' | 'typeOf'> {
37
- typeOf: OfferType.Offer;
38
- id: string;
39
- includesObject: {
40
- amountOfThisGood: number;
41
- };
42
- /**
43
- * 取引確定時の検証に必要な情報のみ保管する
44
- */
45
- priceSpecification?: Pick<IUnitPriceSpecification, 'eligibleQuantity' | 'eligibleTransactionVolume'>;
46
- }
47
- export type IAggregateProgramMembershipUsed = (IPermitIssuedThroughFaceToFace | IPermitIssuedThroughMembershipService)[];
48
- /**
49
- * オファー承認結果としての集計オファー
50
- */
51
- export interface IResultAsAggregateOffer {
52
- typeOf: OfferType.AggregateOffer;
53
- /**
54
- * オファーIDごとの集計
55
- */
56
- offers?: IAcceptedOfferInResult[];
57
- itemOffered?: {
58
- serviceOutput: {
59
- /**
60
- * programMembershipUsed required(2024-08-15~)
61
- */
62
- programMembershipUsed: IAggregateProgramMembershipUsed;
63
- };
64
- };
65
- /**
66
- * 決済金額
67
- * オファー未指定の場合、金額非確定なので、この属性は存在しない
68
- */
69
- price?: number;
70
- priceCurrency: PriceCurrency;
71
- }
@@ -4,5 +4,4 @@ exports.ObjectType = void 0;
4
4
  var ObjectType;
5
5
  (function (ObjectType) {
6
6
  ObjectType["SeatReservation"] = "SeatReservation";
7
- // AggregateOffer = 'AggregateOffer'
8
7
  })(ObjectType || (exports.ObjectType = ObjectType = {}));
@@ -1,49 +1,69 @@
1
- import type { COAFactory } from '@coasystems/factory';
2
1
  import { IAction as IBaseAction } from '../../../action';
3
2
  import { ActionType } from '../../../actionType';
4
- import { IAcceptedTicketOfferWithoutDetail, IObjectWithoutDetail } from '../../../assetTransaction/reserve';
5
- import { AssetTransactionType } from '../../../assetTransactionType';
3
+ import { IAcceptedTicketOfferWithoutDetail, IObjectWithoutDetail, IPermitIssuedThroughFaceToFace, IPermitIssuedThroughMembershipService } from '../../../assetTransaction/reserve';
6
4
  import { IEvent } from '../../../event/screeningEvent';
7
- import { ITotalPaymentDue } from '../../../order';
5
+ import { OfferType } from '../../../offerType';
6
+ import { IPriceSpecification as IUnitPriceSpecification } from '../../../priceSpecification/unitPriceSpecification';
7
+ import { ITicketOffer } from '../../../product';
8
8
  import { IAttributes as IBaseAttributes } from '../../authorize';
9
- import { IAcceptedOfferInResult, IAgent, IAggregateProgramMembershipUsed, IError, IInstrumentAsCOAReserveTransaction, IInstrumentAsReserveTransaction, IPurpose, IRecipient, IResultAsAggregateOffer, ObjectType } from './any';
10
- export { IAcceptedOfferInResult, IAgent, IAggregateProgramMembershipUsed, IRecipient, IInstrumentAsCOAReserveTransaction, IInstrumentAsReserveTransaction, IError, IPurpose, ObjectType, IResultAsAggregateOffer };
9
+ import { IAgent, IError, IInstrumentAsCOAReserveTransaction, IInstrumentAsReserveTransaction, IPurpose, IRecipient, ObjectType } from './any';
10
+ export { IAgent, IRecipient, IInstrumentAsCOAReserveTransaction, IInstrumentAsReserveTransaction, IError, IPurpose, ObjectType, };
11
11
  export type IInstrumentAsAssetTransaction = IInstrumentAsCOAReserveTransaction | IInstrumentAsReserveTransaction;
12
- export interface IResult extends IResultAsAggregateOffer {
12
+ export interface IAcceptedOfferInResult extends Pick<ITicketOffer, 'acceptedPaymentMethod' | 'id' | 'typeOf'> {
13
+ typeOf: OfferType.Offer;
14
+ id: string;
15
+ includesObject: {
16
+ amountOfThisGood: number;
17
+ };
13
18
  /**
14
- * オファーに対して必要な通貨金額
15
- * currencyを通貨区分として扱う
19
+ * 取引確定時の検証に必要な情報のみ保管する
16
20
  */
17
- amount: ITotalPaymentDue[];
21
+ priceSpecification?: Pick<IUnitPriceSpecification, 'eligibleQuantity'>;
22
+ }
23
+ export type IAggregateProgramMembershipUsed = (IPermitIssuedThroughFaceToFace | IPermitIssuedThroughMembershipService)[];
24
+ /**
25
+ * オファー承認結果としての集計オファー
26
+ */
27
+ export interface IResult {
28
+ typeOf: OfferType.AggregateOffer;
29
+ /**
30
+ * オファーIDごとの集計
31
+ */
32
+ offers?: IAcceptedOfferInResult[];
33
+ itemOffered?: {
34
+ serviceOutput: {
35
+ /**
36
+ * programMembershipUsed required(2024-08-15~)
37
+ */
38
+ programMembershipUsed: IAggregateProgramMembershipUsed;
39
+ };
40
+ };
41
+ /**
42
+ * 決済金額
43
+ * オファー未指定の場合、金額非確定なので、この属性は存在しない
44
+ */
45
+ price?: number;
18
46
  }
19
47
  export type IAcceptedOfferWithoutDetail = IAcceptedTicketOfferWithoutDetail;
20
48
  export { IObjectWithoutDetail };
21
- export type ICOAPendingTransaction = Pick<COAFactory.reserve.IDelTmpReserveArgs, 'theaterCode' | 'dateJouei' | 'titleCode' | 'titleBranchNum' | 'timeBegin' | 'tmpReserveNum'> & {
22
- transactionNumber: string;
23
- typeOf: AssetTransactionType.COAReserveTransaction;
24
- };
25
49
  export type IEventInObject = Pick<IEvent, 'id' | 'typeOf'>;
26
50
  /**
27
51
  * 興行オファー承認アクション対象
28
52
  */
29
53
  export interface IObject {
30
54
  typeOf: ObjectType.SeatReservation;
31
- event?: IEventInObject;
32
55
  id?: never;
56
+ event?: never;
33
57
  pendingTransaction?: never;
34
58
  }
35
59
  export interface IObject4COA {
36
60
  typeOf: ObjectType.SeatReservation;
37
- event?: IEventInObject;
38
61
  /**
39
62
  * recipe有(仮予約時)のCOA興行オファー採用アクションID(2024-06-11~)
40
63
  */
41
64
  id: string;
42
- /**
43
- * COA進行中取引(仮予約削除時に利用)
44
- * discontinue on Chevre(2024-06-22~)
45
- */
46
- pendingTransaction?: ICOAPendingTransaction;
65
+ event?: never;
66
+ pendingTransaction?: never;
47
67
  }
48
68
  export interface IAttributes extends IBaseAttributes<IObject | IObject4COA, IResult> {
49
69
  typeOf: ActionType.AuthorizeAction;
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // import type { COAFactory } from '@coasystems/factory';
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  exports.ObjectType = void 0;
4
5
  const any_1 = require("./any");
@@ -1,12 +1,11 @@
1
1
  import { IParticipantAsWebApplication, IParticipantAsPerson, IParticipantAsSeller, IAction as IBaseAction } from '../../../action';
2
2
  import { AvailablePaymentMethodType, IMovieTicket } from '../../../action/trade/pay';
3
3
  import { ActionType } from '../../../actionType';
4
- import { ICreditCard, IFromLocation, IInvoiceReferenceOrder, ITokenizedPaymentCard } from '../../../assetTransaction/pay';
4
+ import { ICreditCard, IInvoiceReferenceOrder } from '../../../assetTransaction/pay';
5
5
  import { AssetTransactionType } from '../../../assetTransactionType';
6
6
  import { IOrderPaymentMethodIssuedThrough, ITotalPaymentDue } from '../../../order';
7
7
  import { PaymentStatusType } from '../../../paymentStatusType';
8
8
  import { IPropertyValue } from '../../../propertyValue';
9
- import { IPermitAsServiceOutput } from '../../../service/paymentService';
10
9
  import { TransactionType } from '../../../transactionType';
11
10
  import { IAttributes as IBaseAttributes } from '../../authorize';
12
11
  export type IAgent = IParticipantAsWebApplication | IParticipantAsPerson;
@@ -14,7 +13,7 @@ export type IRecipient = IParticipantAsSeller;
14
13
  export declare enum ResultType {
15
14
  Payment = "Payment"
16
15
  }
17
- export { ICreditCard, IFromLocation, ITokenizedPaymentCard };
16
+ export { ICreditCard };
18
17
  export interface IObjectIncludingPaymentMethodDetails {
19
18
  /**
20
19
  * The identifier for the account the payment will be applied to.
@@ -58,10 +57,6 @@ export interface IObjectIncludingPaymentMethodDetails {
58
57
  */
59
58
  id: string;
60
59
  };
61
- /**
62
- * 転送元(PaymentCard決済)
63
- */
64
- fromLocation?: IFromLocation;
65
60
  /**
66
61
  * 支払い方法(CreditCard決済)
67
62
  */
@@ -87,7 +82,6 @@ export type IAuthorizeAnyPaymentObject = Pick<IObjectIncludingPaymentMethodDetai
87
82
  method?: never;
88
83
  movieTickets?: never;
89
84
  paymentMethodId?: never;
90
- fromLocation?: never;
91
85
  description?: never;
92
86
  referencesOrder?: never;
93
87
  };
@@ -102,7 +96,6 @@ export type IAuthorizeCreditCardObject = Pick<IObjectIncludingPaymentMethodDetai
102
96
  */
103
97
  referencesOrder?: IInvoiceReferenceOrder;
104
98
  movieTickets?: never;
105
- fromLocation?: never;
106
99
  description?: never;
107
100
  };
108
101
  export type IAuthorizeMovieTicketObject = Pick<IObjectIncludingPaymentMethodDetails, 'issuedThrough' | 'paymentMethod' | 'movieTickets' | 'name' | 'additionalProperty' | 'ticketToken'> & {
@@ -113,23 +106,13 @@ export type IAuthorizeMovieTicketObject = Pick<IObjectIncludingPaymentMethodDeta
113
106
  creditCard?: never;
114
107
  method?: never;
115
108
  paymentMethodId?: never;
116
- fromLocation?: never;
117
109
  description?: never;
118
110
  referencesOrder?: never;
119
111
  };
120
- export type IAuthorizePaymentCardObject = Pick<IObjectIncludingPaymentMethodDetails, 'amount' | 'issuedThrough' | 'paymentMethod' | 'fromLocation' | 'name' | 'additionalProperty'> & {
121
- description?: string;
122
- creditCard?: never;
123
- method?: never;
124
- movieTickets?: never;
125
- ticketToken?: never;
126
- paymentMethodId?: never;
127
- referencesOrder?: never;
128
- };
129
112
  /**
130
113
  * 決済承認リクエストの承認対象オブジェクト
131
114
  */
132
- export type IObjectWithoutDetail = IAuthorizeAnyPaymentObject | IAuthorizeCreditCardObject | IAuthorizeMovieTicketObject | IAuthorizePaymentCardObject;
115
+ export type IObjectWithoutDetail = IAuthorizeAnyPaymentObject | IAuthorizeCreditCardObject | IAuthorizeMovieTicketObject;
133
116
  /**
134
117
  * 決済承認アクションオブジェクト
135
118
  * paymentMethodIdが決済取引の取引番号に等しい
@@ -174,12 +157,12 @@ export interface IResultAsInvoice {
174
157
  /**
175
158
  * The total amount due.
176
159
  */
177
- totalPaymentDue?: ITotalPaymentDue;
160
+ totalPaymentDue: ITotalPaymentDue;
178
161
  /**
179
162
  * 追加特性
180
163
  */
181
164
  additionalProperty?: IPropertyValue<string>[];
182
- typeOf: ResultType;
165
+ typeOf: ResultType.Payment;
183
166
  issuedThrough: IOrderPaymentMethodIssuedThrough;
184
167
  /**
185
168
  * 請求の関連注文
@@ -187,13 +170,9 @@ export interface IResultAsInvoice {
187
170
  */
188
171
  referencesOrder?: IInvoiceReferenceOrder;
189
172
  }
190
- export type IResultAsPermit = Pick<IPermitAsServiceOutput, 'typeOf' | 'issuedThrough'> & {
191
- /**
192
- * メンバーシップコード
193
- */
194
- identifier: string;
195
- };
196
- export type IResult = [IResultAsInvoice, IResultAsPermit?];
173
+ export type IResult = [
174
+ IResultAsInvoice
175
+ ];
197
176
  export interface IPurpose {
198
177
  typeOf: TransactionType.PlaceOrder;
199
178
  id: string;
@@ -82,9 +82,6 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
82
82
  * アクションタイプ
83
83
  */
84
84
  typeOf: T;
85
- amount?: any;
86
- fromLocation?: any;
87
- toLocation?: any;
88
85
  replacer?: any;
89
86
  targetCollection?: any;
90
87
  cancelAction?: any;
@@ -281,26 +278,4 @@ export interface ISearchConditions {
281
278
  $eq?: string;
282
279
  };
283
280
  };
284
- fromLocation?: {
285
- typeOf?: {
286
- $in?: string[];
287
- };
288
- accountNumber?: {
289
- $in?: string[];
290
- };
291
- accountType?: {
292
- $in?: string[];
293
- };
294
- };
295
- toLocation?: {
296
- typeOf?: {
297
- $in?: string[];
298
- };
299
- accountNumber?: {
300
- $in?: string[];
301
- };
302
- accountType?: {
303
- $in?: string[];
304
- };
305
- };
306
281
  }
@@ -10,11 +10,6 @@ import { IPropertyValue } from '../propertyValue';
10
10
  import { IPotentialAction as IPotentialInformAction, PaymentServiceType } from '../service/paymentService';
11
11
  export type IAgent = IAgentAsSeller;
12
12
  export type IRecipient = IPayRecipient;
13
- /**
14
- * ペイメントカードトークン
15
- */
16
- export type ITokenizedPaymentCard = string;
17
- export type IFromLocation = ITokenizedPaymentCard;
18
13
  /**
19
14
  * クレジットカード決済承認に必要なクレジットカードインターフェース
20
15
  */
@@ -33,10 +28,11 @@ export interface IPaymentMethod {
33
28
  */
34
29
  additionalProperty?: IPropertyValue<string>[];
35
30
  /**
36
- * The amount of money.
31
+ * 金額
32
+ * 通貨はJPY、あるいは、決済サービスのカード通貨区分が自動的に適用される
37
33
  * MonetaryAmount対応(2023-08-12~)
38
34
  */
39
- amount: number | IPaymentMethodAmount;
35
+ amount: IPaymentMethodAmount;
40
36
  /**
41
37
  * 説明
42
38
  */
@@ -47,17 +43,13 @@ export interface IPaymentMethod {
47
43
  */
48
44
  name?: string;
49
45
  /**
50
- * The total amount due.
46
+ * JPYとしての金額、あるいは、決済カードの枚数
51
47
  */
52
- totalPaymentDue?: ITotalPaymentDue;
48
+ totalPaymentDue: ITotalPaymentDue;
53
49
  /**
54
50
  * 決済方法区分
55
51
  */
56
52
  identifier: string;
57
- /**
58
- * 出金元ペイメントカード
59
- */
60
- fromLocation?: IFromLocation;
61
53
  /**
62
54
  * 決済カードリスト
63
55
  */
@@ -123,7 +115,6 @@ export interface IPaymentServiceAsObject {
123
115
  id: string;
124
116
  paymentMethod: IPaymentMethod;
125
117
  pendingTransaction?: never;
126
- accountsReceivablesByServiceType?: never;
127
118
  /**
128
119
  * 既存決済カード認証アクション(2024-12-13~)
129
120
  * PaymentServiceType.MovieTicketのみ
@@ -131,16 +122,20 @@ export interface IPaymentServiceAsObject {
131
122
  checkedAction?: {
132
123
  id: string;
133
124
  };
134
- serviceOutput?: IInvoiceAsPaymentServiceOutput;
125
+ /**
126
+ * 関連注文情報
127
+ * 2025-11-24移行必須化
128
+ */
129
+ serviceOutput: IInvoiceAsPaymentServiceOutput;
135
130
  }
136
131
  export type IObject = IPaymentServiceAsObject;
137
- export interface IPaymentMethodWithoutDetail extends IPaymentMethod {
132
+ export interface IPaymentMethodWithoutDetail extends Pick<IPaymentMethod, 'accountId' | 'additionalProperty' | 'creditCard' | 'description' | 'identifier' | 'method' | 'movieTickets' | 'name'> {
138
133
  /**
139
134
  * 取引開始前の指定ではnumberに限定
140
135
  */
141
136
  amount: number;
142
137
  }
143
- export interface IObjectWithoutDetail extends Pick<IObject, 'serviceOutput' | 'typeOf' | 'id' | 'paymentMethod'> {
138
+ export interface IObjectWithoutDetail extends Pick<IObject, 'serviceOutput' | 'typeOf' | 'id'> {
144
139
  paymentMethod: IPaymentMethodWithoutDetail;
145
140
  }
146
141
  export type IPotentialAction = IPotentialInformAction;
@@ -1,5 +1,5 @@
1
1
  import { ActionType } from '../actionType';
2
- import { IIssuedThrough, IPrice, IReservationForLegacy } from '../assetTransaction/reserve';
2
+ import { IReservationForLegacy } from '../assetTransaction/reserve';
3
3
  import { IProvider, IUnderName } from '../reservation';
4
4
  import { IReservation as IEventReservation } from '../reservation/event';
5
5
  import { ReservationStatusType } from '../reservationStatusType';
@@ -7,24 +7,33 @@ import { ReservationType } from '../reservationType';
7
7
  import { ISubReservationReservedTicket } from '../assetTransaction/reserve';
8
8
  type IProject = IEventReservation['project'];
9
9
  export type IMaskedUnderName = Pick<IUnderName, 'id' | 'typeOf'>;
10
- export type ISubReservation4inform = Pick<IEventReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'modifiedTime' | 'programMembershipUsed' | 'subReservation' | 'typeOf'> & {
11
- price?: IPrice;
12
- reservedTicket: ISubReservationReservedTicket;
10
+ /**
11
+ * 確定予約通知におけるチケット
12
+ */
13
+ export type IReservedTicket4inform = Pick<ISubReservationReservedTicket, 'dateIssued' | 'dateUsed' | 'identifier' | 'issuedBy' | 'ticketNumber' | 'ticketToken' | 'ticketedSeat' | 'typeOf'> & {
14
+ ticketType?: never;
15
+ };
16
+ export type ISubReservation4inform = Pick<IEventReservation, 'id' | 'modifiedTime' | 'additionalTicketText' | 'subReservation' | 'typeOf'> & {
17
+ reservedTicket: IReservedTicket4inform;
18
+ price?: never;
19
+ priceCurrency?: never;
20
+ additionalProperty?: never;
21
+ programMembershipUsed?: never;
13
22
  };
14
23
  /**
15
24
  * 確定予約通知
16
25
  */
17
26
  export interface IReservationPackage4informConfirmed {
18
27
  bookingTime: Date;
19
- issuedThrough: IIssuedThrough;
20
28
  project: IProject;
21
29
  provider: IProvider;
22
30
  reservationFor: IReservationForLegacy;
23
31
  reservationNumber: string;
24
32
  reservationStatus: ReservationStatusType.ReservationConfirmed;
25
33
  subReservation: ISubReservation4inform[];
26
- underName?: IMaskedUnderName;
27
34
  typeOf: ReservationType.ReservationPackage;
35
+ issuedThrough?: never;
36
+ underName?: never;
28
37
  }
29
38
  /**
30
39
  * 予約取消通知
@@ -22,7 +22,7 @@ export interface IAppliesToAddOn {
22
22
  /**
23
23
  * 単価仕様
24
24
  */
25
- export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.UnitPriceSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded' | 'accounting' | 'eligibleQuantity' | 'eligibleTransactionVolume'> {
25
+ export interface IPriceSpecification extends Pick<BaseSpecification<PriceSpecificationType.UnitPriceSpecification>, 'project' | 'id' | 'typeOf' | 'name' | 'price' | 'priceCurrency' | 'valueAddedTaxIncluded' | 'accounting' | 'eligibleQuantity'> {
26
26
  /**
27
27
  * 発生金額
28
28
  */
@@ -38,7 +38,6 @@ export interface IPriceSpecification<T extends PriceSpecificationType> {
38
38
  * 対象数量
39
39
  */
40
40
  eligibleQuantity?: IEligibleQuantity;
41
- eligibleTransactionVolume?: IEligibleTransactionVolume;
42
41
  /**
43
42
  * 発生金額
44
43
  */
@@ -241,7 +241,7 @@ export type ICategoryCodeChargePriceComponent = Pick<ICategoryCodeChargeSpecific
241
241
  appliesToCategoryCode: IPriceComponentAppliesToCategoryCode[];
242
242
  };
243
243
  export type IMovieTicketTypeChargePriceComponent = Pick<IMovieTicketTypeChargeSpecification, 'accounting' | 'appliesToMovieTicket' | 'id' | 'appliesToVideoFormat' | 'name' | 'price' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
244
- export type ITicketUnitPriceComponent = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToAddOn' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
244
+ export type ITicketUnitPriceComponent = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToAddOn' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
245
245
  export type IPotentialAppliesToSeatingType = Pick<IAppliesToCategoryCode, 'typeOf'> & {
246
246
  inCodeSet: Pick<ICategoryCodeSet, 'typeOf'> & {
247
247
  identifier: CategorySetIdentifier.SeatingType;
@@ -3,9 +3,19 @@ import { IHowToDirection as IBaseHowToDirection, IHowToSection as IBaseHowToSect
3
3
  export type IEntryTranArgs = GMOFactory.service.credit.IEntryTranArgs;
4
4
  export type IEntryTranResult = GMOFactory.service.credit.IEntryTranResult;
5
5
  export type IExecTranArgs = GMOFactory.service.credit.IExecTranArgs;
6
- export type IExecTranResult = GMOFactory.service.credit.IExecTranResult;
6
+ export type IExecTranResult = GMOFactory.service.credit.IExecTranResult & {
7
+ /**
8
+ * IExecTran3dsResultの場合にのみ存在
9
+ */
10
+ redirectUrl?: never;
11
+ };
7
12
  export type IExecTran3dsArgs = GMOFactory.service.credit.IExecTran3dsArgs;
8
- export type IExecTran3dsResult = GMOFactory.service.credit.IExecTran3dsResult;
13
+ export type IExecTran3dsResult = GMOFactory.service.credit.IExecTran3dsResult & {
14
+ /**
15
+ * IExecTranResultの場合にのみ存在
16
+ */
17
+ acsUrl?: never;
18
+ };
9
19
  export interface IDirectionEntryTran extends IBaseHowToDirection {
10
20
  beforeMedia?: IEntryTranArgs;
11
21
  afterMedia?: IEntryTranResult;
@@ -1,4 +1,4 @@
1
- import { IAttributes as ISendEmailMessageActionAttributes } from '../action/transfer/send/message/email';
1
+ import { IOptimizedObject as ISendingEmailMessage } from '../action/transfer/send/message/email';
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import { IClientUser } from '../clientUser';
4
4
  import { CreativeWorkType } from '../creativeWorkType';
@@ -133,14 +133,8 @@ export interface IResult {
133
133
  * エラー
134
134
  */
135
135
  export type IError = any;
136
- export type IPotentialSendEmailMessageAction = Pick<ISendEmailMessageActionAttributes, 'object'>;
137
- export interface IPotentialSendOrderAction {
138
- potentialActions?: {
139
- sendEmailMessage?: IPotentialSendEmailMessageAction[];
140
- };
141
- }
142
- export interface IOrderPotentialActions {
143
- sendOrder?: IPotentialSendOrderAction;
136
+ export interface IPotentialSendEmailMessageAction {
137
+ object: ISendingEmailMessage;
144
138
  }
145
139
  export interface IPotentialActions {
146
140
  order: {
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
@@ -16,12 +16,11 @@ export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions,
16
16
  */
17
17
  export interface IItemOffered {
18
18
  typeOf: ProductType;
19
- serviceOutput?: never;
20
19
  }
21
20
  /**
22
21
  * 単価オファーの価格仕様
23
22
  */
24
- export type IUnitPriceOfferPriceSpecification = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
23
+ export type IUnitPriceOfferPriceSpecification = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
25
24
  export type IAddOnItemOffered = Pick<IAddOnProduct, 'typeOf' | 'id' | 'name'>;
26
25
  export interface IAddOn4unitPriceOffer extends Pick<IAddOn, 'typeOf' | 'priceCurrency'> {
27
26
  itemOffered: IAddOnItemOffered;
@@ -105,7 +104,7 @@ export type ICreateParams = Pick<IUnitPriceOffer, 'acceptedPaymentMethod' | 'eli
105
104
  /**
106
105
  * 価格仕様
107
106
  */
108
- priceSpecification: Pick<IUnitPriceOfferPriceSpecification, 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'price' | 'referenceQuantity'> & {
107
+ priceSpecification: Pick<IUnitPriceOfferPriceSpecification, 'appliesToMovieTicket' | 'eligibleQuantity' | 'price' | 'referenceQuantity'> & {
109
108
  /**
110
109
  * 勘定内容
111
110
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "9.5.0-alpha.1",
3
+ "version": "9.5.0-alpha.10",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [