@chevre/factory 4.364.0-alpha.3 → 4.364.0-alpha.5
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/accept.d.ts +19 -0
- package/lib/action/accept.js +2 -0
- package/lib/actionType.d.ts +1 -0
- package/lib/actionType.js +1 -1
- package/lib/event/anyEvent.d.ts +0 -2
- package/lib/event/screeningEvent.d.ts +1 -7
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as ActionFactory from '../action';
|
|
2
|
+
import { ActionType } from '../actionType';
|
|
3
|
+
import { TransactionType } from '../transactionType';
|
|
4
|
+
export type IObject = any;
|
|
5
|
+
export type IResult = any;
|
|
6
|
+
export interface IPurpose {
|
|
7
|
+
/**
|
|
8
|
+
* 注文取引ID
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
typeOf: TransactionType.PlaceOrder;
|
|
12
|
+
}
|
|
13
|
+
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.AcceptAction, TObject, TResult> {
|
|
14
|
+
purpose?: IPurpose;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 採用アクション
|
|
18
|
+
*/
|
|
19
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
package/lib/actionType.d.ts
CHANGED
package/lib/actionType.js
CHANGED
|
@@ -6,6 +6,7 @@ exports.ActionType = void 0;
|
|
|
6
6
|
*/
|
|
7
7
|
var ActionType;
|
|
8
8
|
(function (ActionType) {
|
|
9
|
+
ActionType["AcceptAction"] = "AcceptAction";
|
|
9
10
|
ActionType["AuthorizeAction"] = "AuthorizeAction";
|
|
10
11
|
ActionType["CancelAction"] = "CancelAction";
|
|
11
12
|
ActionType["CheckAction"] = "CheckAction";
|
|
@@ -17,7 +18,6 @@ var ActionType;
|
|
|
17
18
|
ActionType["MoneyTransfer"] = "MoneyTransfer";
|
|
18
19
|
ActionType["OrderAction"] = "OrderAction";
|
|
19
20
|
ActionType["PayAction"] = "PayAction";
|
|
20
|
-
// PrintAction = 'PrintAction',
|
|
21
21
|
ActionType["RefundAction"] = "RefundAction";
|
|
22
22
|
ActionType["RegisterAction"] = "RegisterAction";
|
|
23
23
|
ActionType["ReplaceAction"] = "ReplaceAction";
|
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -225,7 +225,6 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
|
|
|
225
225
|
/**
|
|
226
226
|
* 入場ゲート集計
|
|
227
227
|
*/
|
|
228
|
-
aggregateEntranceGate?: IAggregateEntranceGate;
|
|
229
228
|
/**
|
|
230
229
|
* 予約集計
|
|
231
230
|
*/
|
|
@@ -233,7 +232,6 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Eve
|
|
|
233
232
|
/**
|
|
234
233
|
* オファー集計
|
|
235
234
|
*/
|
|
236
|
-
aggregateOffer?: IAggregateOffer;
|
|
237
235
|
organizer: IOrganizer;
|
|
238
236
|
}
|
|
239
237
|
/**
|
|
@@ -9,12 +9,6 @@ import * as ReservationFactory from '../reservation';
|
|
|
9
9
|
import { ReservationType } from '../reservationType';
|
|
10
10
|
import * as WebAPIFactory from '../service/webAPI';
|
|
11
11
|
import * as AnyEventFactory from './anyEvent';
|
|
12
|
-
export import IAggregateReservation = AnyEventFactory.IAggregateReservation;
|
|
13
|
-
export import IOfferWithAggregateReservation = AnyEventFactory.IOfferWithAggregateReservation;
|
|
14
|
-
export import IAggregateOffer = AnyEventFactory.IAggregateOffer;
|
|
15
|
-
export import IAggregateOfferOfPlace = AnyEventFactory.IAggregateOfferOfPlace;
|
|
16
|
-
export import IPlaceWithAggregateOffer = AnyEventFactory.IPlaceWithAggregateOffer;
|
|
17
|
-
export import IAggregateEntranceGate = AnyEventFactory.IAggregateEntranceGate;
|
|
18
12
|
export interface IServiceOutput {
|
|
19
13
|
typeOf: ReservationType.EventReservation;
|
|
20
14
|
reservedTicket?: {
|
|
@@ -171,7 +165,7 @@ export import IName = AnyEventFactory.IName;
|
|
|
171
165
|
/**
|
|
172
166
|
* イベント属性
|
|
173
167
|
*/
|
|
174
|
-
export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | '
|
|
168
|
+
export interface IAttributes extends Pick<AnyEventFactory.IAttributes, 'additionalProperty' | 'project' | 'identifier' | 'description' | 'eventStatus' | 'maximumAttendeeCapacity' | 'remainingAttendeeCapacity' | 'location' | 'name' | 'doorTime' | 'endDate' | 'startDate' | 'aggregateReservation' | 'organizer' | 'checkInCount' | 'attendeeCount'> {
|
|
175
169
|
/**
|
|
176
170
|
* 親イベント
|
|
177
171
|
* 施設コンテンツに相当
|
package/lib/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export import cognito = cognito;
|
|
|
7
7
|
export import waiter = waiter;
|
|
8
8
|
import * as AccountFactory from './account';
|
|
9
9
|
import * as ActionFactory from './action';
|
|
10
|
+
import * as AcceptActionFactory from './action/accept';
|
|
10
11
|
import * as AuthorizeActionFactory from './action/authorize';
|
|
11
12
|
import * as AuthorizeEventServiceOfferActionFactory from './action/authorize/offer/eventService';
|
|
12
13
|
import * as AuthorizeMoneyTransferOfferActionFactory from './action/authorize/offer/moneyTransfer';
|
|
@@ -206,6 +207,7 @@ export declare namespace action {
|
|
|
206
207
|
export import IPurpose = ActionFactory.IPurpose;
|
|
207
208
|
export import ISortOrder = ActionFactory.ISortOrder;
|
|
208
209
|
export import ISearchConditions = ActionFactory.ISearchConditions;
|
|
210
|
+
export import accept = AcceptActionFactory;
|
|
209
211
|
namespace authorize {
|
|
210
212
|
export import IAction = AuthorizeActionFactory.IAction;
|
|
211
213
|
export import IAttributes = AuthorizeActionFactory.IAttributes;
|
package/lib/index.js
CHANGED
|
@@ -10,6 +10,7 @@ var cognito = require("./cognito");
|
|
|
10
10
|
exports.cognito = cognito;
|
|
11
11
|
exports.waiter = waiter;
|
|
12
12
|
var AccountFactory = require("./account");
|
|
13
|
+
var AcceptActionFactory = require("./action/accept");
|
|
13
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");
|
|
@@ -164,6 +165,7 @@ exports.actionStatusType = actionStatusType_1.ActionStatusType;
|
|
|
164
165
|
exports.actionType = actionType_1.ActionType;
|
|
165
166
|
var action;
|
|
166
167
|
(function (action) {
|
|
168
|
+
action.accept = AcceptActionFactory;
|
|
167
169
|
var authorize;
|
|
168
170
|
(function (authorize) {
|
|
169
171
|
// tslint:disable-next-line:no-shadowed-variable
|