@chevre/factory 4.362.0 → 4.363.0-alpha.1
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/check/paymentMethod/movieTicket.d.ts +11 -2
- package/lib/action/trade/pay.d.ts +1 -1
- package/lib/action/update/replace.d.ts +14 -0
- package/lib/action/update/replace.js +2 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/order.d.ts +1 -1
- package/lib/reservation/event.d.ts +1 -1
- package/lib/reservation.d.ts +3 -0
- package/package.json +1 -1
|
@@ -8,10 +8,13 @@ import * as PayActionFactory from '../../trade/pay';
|
|
|
8
8
|
export type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
|
|
9
9
|
export type IPurchaseNumberAuthIn = surfrock.service.auth.factory.IPurchaseNumberAuthIn;
|
|
10
10
|
export type IPurchaseNumberAuthResult = surfrock.service.auth.factory.IPurchaseNumberAuthResult;
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* 認証対象のmovieTicket
|
|
13
|
+
*/
|
|
14
|
+
export type IMovieTicket = Pick<IMovieTicketPaymentCard, 'accessCode' | 'category' | 'identifier'> & {
|
|
12
15
|
serviceOutput: Pick<IMovieTicketServiceOutput, 'reservationFor'>;
|
|
13
16
|
};
|
|
14
|
-
export interface IPaymentService extends Pick<PayActionFactory.IPaymentService, 'id' | 'typeOf'
|
|
17
|
+
export interface IPaymentService extends Pick<PayActionFactory.IPaymentService, 'id' | 'typeOf'> {
|
|
15
18
|
/**
|
|
16
19
|
* 販売者
|
|
17
20
|
*/
|
|
@@ -20,6 +23,12 @@ export interface IPaymentService extends Pick<PayActionFactory.IPaymentService,
|
|
|
20
23
|
id: string;
|
|
21
24
|
};
|
|
22
25
|
movieTickets?: IMovieTicket[];
|
|
26
|
+
paymentMethod: {
|
|
27
|
+
/**
|
|
28
|
+
* 決済方法区分
|
|
29
|
+
*/
|
|
30
|
+
typeOf: string;
|
|
31
|
+
};
|
|
23
32
|
}
|
|
24
33
|
export type IObject = IPaymentService[];
|
|
25
34
|
export interface IResult {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as ActionFactory from '../../action';
|
|
2
|
+
import { ActionType } from '../../actionType';
|
|
3
|
+
export type IAgent = ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsWebApplication;
|
|
4
|
+
export type IObject = any;
|
|
5
|
+
export type IResult = any;
|
|
6
|
+
export type IReplacer = any;
|
|
7
|
+
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.ReplaceAction, TObject, TResult> {
|
|
8
|
+
potentialActions?: never;
|
|
9
|
+
replacer?: IReplacer;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 置換アクション
|
|
13
|
+
*/
|
|
14
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
package/lib/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ import * as SendEmailMessageActionFactory from './action/transfer/send/message/e
|
|
|
39
39
|
import * as SendOrderActionFactory from './action/transfer/send/order';
|
|
40
40
|
import * as DeleteActionFactory from './action/update/delete';
|
|
41
41
|
import * as DeleteMemberActionFactory from './action/update/delete/member';
|
|
42
|
+
import * as ReplaceActionFactory from './action/update/replace';
|
|
42
43
|
import { ActionStatusType } from './actionStatusType';
|
|
43
44
|
import { ActionType } from './actionType';
|
|
44
45
|
import * as AccountTitleFactory from './accountTitle';
|
|
@@ -275,6 +276,7 @@ export declare namespace action {
|
|
|
275
276
|
export import IAttributes = DeleteActionFactory.IAttributes;
|
|
276
277
|
export import member = DeleteMemberActionFactory;
|
|
277
278
|
}
|
|
279
|
+
export import replace = ReplaceActionFactory;
|
|
278
280
|
}
|
|
279
281
|
namespace consume {
|
|
280
282
|
namespace use {
|
package/lib/index.js
CHANGED
|
@@ -38,6 +38,7 @@ var ReturnReserveTransactionActionFactory = require("./action/transfer/return/re
|
|
|
38
38
|
var SendEmailMessageActionFactory = require("./action/transfer/send/message/email");
|
|
39
39
|
var SendOrderActionFactory = require("./action/transfer/send/order");
|
|
40
40
|
var DeleteMemberActionFactory = require("./action/update/delete/member");
|
|
41
|
+
var ReplaceActionFactory = require("./action/update/replace");
|
|
41
42
|
var actionStatusType_1 = require("./actionStatusType");
|
|
42
43
|
var actionType_1 = require("./actionType");
|
|
43
44
|
var AccountTitleFactory = require("./accountTitle");
|
|
@@ -256,6 +257,7 @@ var action;
|
|
|
256
257
|
(function (deleteAction) {
|
|
257
258
|
deleteAction.member = DeleteMemberActionFactory;
|
|
258
259
|
})(deleteAction = update.deleteAction || (update.deleteAction = {}));
|
|
260
|
+
update.replace = ReplaceActionFactory;
|
|
259
261
|
})(update = action.update || (action.update = {}));
|
|
260
262
|
var consume;
|
|
261
263
|
(function (consume) {
|
package/lib/order.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ export interface IDiscount {
|
|
|
112
112
|
discountCurrency: string;
|
|
113
113
|
}
|
|
114
114
|
export type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
|
|
115
|
-
export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, '
|
|
115
|
+
export type ISuperEvent = Pick<EventReservationFactory.IOptimizedSuperEvent, 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
|
116
116
|
workPerformed: IWorkPerformed;
|
|
117
117
|
};
|
|
118
118
|
export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
|
|
@@ -6,7 +6,7 @@ import { ProductType } from '../product';
|
|
|
6
6
|
import * as ReservationFactory from '../reservation';
|
|
7
7
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
8
8
|
import { ReservationType } from '../reservationType';
|
|
9
|
-
export type IOptimizedWorkPerformed =
|
|
9
|
+
export type IOptimizedWorkPerformed = Pick<IWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'duration' | 'contentRating' | 'version'> & {
|
|
10
10
|
name?: string | IMultilingualString;
|
|
11
11
|
};
|
|
12
12
|
export type IOptimizedSuperEvent = Pick<ISuperEvent, 'additionalProperty' | 'id' | 'location' | 'name' | 'soundFormat' | 'typeOf' | 'videoFormat' | 'headline' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'> & {
|
package/lib/reservation.d.ts
CHANGED