@chevre/factory 4.343.0-alpha.3 → 4.343.0-alpha.4
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.
- package/lib/action/authorize/award/point.d.ts +0 -7
- package/lib/action/authorize/offer/{seatReservation.d.ts → eventService.d.ts} +5 -11
- package/lib/index.d.ts +2 -2
- package/lib/index.js +2 -2
- package/lib/task/voidReserveTransaction.d.ts +1 -1
- package/package.json +1 -1
- /package/lib/action/authorize/offer/{seatReservation → eventService}/coa.d.ts +0 -0
- /package/lib/action/authorize/offer/{seatReservation → eventService}/coa.js +0 -0
- /package/lib/action/authorize/offer/{seatReservation.js → eventService.js} +0 -0
|
@@ -7,9 +7,6 @@ export type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFact
|
|
|
7
7
|
export declare enum ObjectType {
|
|
8
8
|
PointAward = "PointAward"
|
|
9
9
|
}
|
|
10
|
-
/**
|
|
11
|
-
* オーソリ対象
|
|
12
|
-
*/
|
|
13
10
|
export interface IObject {
|
|
14
11
|
typeOf: ObjectType;
|
|
15
12
|
/**
|
|
@@ -26,7 +23,6 @@ export interface IObject {
|
|
|
26
23
|
notes?: string;
|
|
27
24
|
}
|
|
28
25
|
export interface IResult {
|
|
29
|
-
price: number;
|
|
30
26
|
amount: number;
|
|
31
27
|
}
|
|
32
28
|
export interface IPurpose {
|
|
@@ -34,9 +30,6 @@ export interface IPurpose {
|
|
|
34
30
|
id: string;
|
|
35
31
|
}
|
|
36
32
|
export type IError = any;
|
|
37
|
-
/**
|
|
38
|
-
* ポイントインセンティブ承認アクション属性
|
|
39
|
-
*/
|
|
40
33
|
export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject, IResult> {
|
|
41
34
|
typeOf: ActionType.AuthorizeAction;
|
|
42
35
|
object: IObject;
|
|
@@ -11,7 +11,7 @@ import { ITicketOffer, ITicketPriceSpecification } from '../../../product';
|
|
|
11
11
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
12
12
|
import { TransactionType } from '../../../transactionType';
|
|
13
13
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
14
|
-
import * as COAReservationOfferFactory from './
|
|
14
|
+
import * as COAReservationOfferFactory from './eventService/coa';
|
|
15
15
|
export type IAgent = ActionFactory.IParticipantAsSeller;
|
|
16
16
|
export type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
17
17
|
export declare enum ObjectType {
|
|
@@ -26,19 +26,16 @@ export type IResultAcceptedOffer = OrderFactory.IAcceptedOffer<OrderFactory.IRes
|
|
|
26
26
|
*/
|
|
27
27
|
export interface IResult<T extends WebAPIFactory.Identifier> {
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* 決済金額
|
|
30
|
+
* オファー未指定の場合、金額非確定なので、この属性は存在しない
|
|
30
31
|
*/
|
|
31
|
-
price
|
|
32
|
+
price?: number;
|
|
32
33
|
priceCurrency: PriceCurrency;
|
|
33
34
|
/**
|
|
34
35
|
* オファーに対して必要な金額
|
|
35
36
|
* currencyを口座タイプとして扱う
|
|
36
37
|
*/
|
|
37
38
|
amount: OrderFactory.ITotalPaymentDue[];
|
|
38
|
-
/**
|
|
39
|
-
* 外部リクエストエンドポイント
|
|
40
|
-
*/
|
|
41
|
-
requestEndpoint?: string;
|
|
42
39
|
/**
|
|
43
40
|
* 外部サービスへのリクエスト
|
|
44
41
|
* COAの場合存在する
|
|
@@ -129,7 +126,7 @@ export type IEvent = Pick<ScreeningEventFactory.IEvent, 'id' | 'typeOf'> & {
|
|
|
129
126
|
};
|
|
130
127
|
};
|
|
131
128
|
/**
|
|
132
|
-
*
|
|
129
|
+
* 興行オファー承認アクション対象
|
|
133
130
|
*/
|
|
134
131
|
export type IObject<T extends WebAPIFactory.Identifier> = {
|
|
135
132
|
typeOf: ObjectType;
|
|
@@ -144,9 +141,6 @@ export interface IPurpose {
|
|
|
144
141
|
typeOf: TransactionType.PlaceOrder;
|
|
145
142
|
id: string;
|
|
146
143
|
}
|
|
147
|
-
/**
|
|
148
|
-
* authorize action error interface
|
|
149
|
-
*/
|
|
150
144
|
export type IError = any;
|
|
151
145
|
export interface IAttributes<T extends WebAPIFactory.Identifier> extends AuthorizeActionFactory.IAttributes<IObject<T>, IResult<T>> {
|
|
152
146
|
typeOf: ActionType.AuthorizeAction;
|
package/lib/index.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ import * as AccountFactory from './account';
|
|
|
9
9
|
import * as ActionFactory from './action';
|
|
10
10
|
import * as AuthorizeActionFactory from './action/authorize';
|
|
11
11
|
import * as PointAwardAuthorizeActionFactory from './action/authorize/award/point';
|
|
12
|
+
import * as AuthorizeEventServiceOfferActionFactory from './action/authorize/offer/eventService';
|
|
12
13
|
import * as AuthorizeMoneyTransferOfferActionFactory from './action/authorize/offer/moneyTransfer';
|
|
13
14
|
import * as AuthorizeProductOfferActionFactory from './action/authorize/offer/product';
|
|
14
|
-
import * as AuthorizeSeatReservationOfferActionFactory from './action/authorize/offer/seatReservation';
|
|
15
15
|
import * as AuthorizeAnyPaymentActionFactory from './action/authorize/paymentMethod/any';
|
|
16
16
|
import * as CancelReservationActionFactory from './action/cancel/reservation';
|
|
17
17
|
import * as CheckMovieTicketActionFactory from './action/check/paymentMethod/movieTicket';
|
|
@@ -215,9 +215,9 @@ export declare namespace action {
|
|
|
215
215
|
namespace discount {
|
|
216
216
|
}
|
|
217
217
|
namespace offer {
|
|
218
|
+
export import eventService = AuthorizeEventServiceOfferActionFactory;
|
|
218
219
|
export import moneyTransfer = AuthorizeMoneyTransferOfferActionFactory;
|
|
219
220
|
export import product = AuthorizeProductOfferActionFactory;
|
|
220
|
-
export import seatReservation = AuthorizeSeatReservationOfferActionFactory;
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
namespace cancel {
|
package/lib/index.js
CHANGED
|
@@ -11,9 +11,9 @@ exports.cognito = cognito;
|
|
|
11
11
|
exports.waiter = waiter;
|
|
12
12
|
var AccountFactory = require("./account");
|
|
13
13
|
var PointAwardAuthorizeActionFactory = require("./action/authorize/award/point");
|
|
14
|
+
var AuthorizeEventServiceOfferActionFactory = require("./action/authorize/offer/eventService");
|
|
14
15
|
var AuthorizeMoneyTransferOfferActionFactory = require("./action/authorize/offer/moneyTransfer");
|
|
15
16
|
var AuthorizeProductOfferActionFactory = require("./action/authorize/offer/product");
|
|
16
|
-
var AuthorizeSeatReservationOfferActionFactory = require("./action/authorize/offer/seatReservation");
|
|
17
17
|
var AuthorizeAnyPaymentActionFactory = require("./action/authorize/paymentMethod/any");
|
|
18
18
|
var CancelReservationActionFactory = require("./action/cancel/reservation");
|
|
19
19
|
var CheckMovieTicketActionFactory = require("./action/check/paymentMethod/movieTicket");
|
|
@@ -174,11 +174,11 @@ var action;
|
|
|
174
174
|
// tslint:disable-next-line:no-shadowed-variable
|
|
175
175
|
var offer;
|
|
176
176
|
(function (offer) {
|
|
177
|
+
offer.eventService = AuthorizeEventServiceOfferActionFactory;
|
|
177
178
|
// tslint:disable-next-line:no-shadowed-variable
|
|
178
179
|
offer.moneyTransfer = AuthorizeMoneyTransferOfferActionFactory;
|
|
179
180
|
// tslint:disable-next-line:no-shadowed-variable
|
|
180
181
|
offer.product = AuthorizeProductOfferActionFactory;
|
|
181
|
-
offer.seatReservation = AuthorizeSeatReservationOfferActionFactory;
|
|
182
182
|
})(offer = authorize.offer || (authorize.offer = {}));
|
|
183
183
|
})(authorize = action.authorize || (action.authorize = {}));
|
|
184
184
|
var cancel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPurpose as IAuthorizeEventServiceOfferPurpose } from '../action/authorize/offer/
|
|
1
|
+
import { IPurpose as IAuthorizeEventServiceOfferPurpose } from '../action/authorize/offer/eventService';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import { OrderStatus } from '../orderStatus';
|
|
4
4
|
import { IProject } from '../project';
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|