@chevre/factory 10.3.0-alpha.8 → 10.3.0-alpha.9
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/chevre/index.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ import * as AuthorizeTicketedObjectActionFactory from './action/authorize/ticket
|
|
|
11
11
|
import * as CancelCOAReserveActionFactory from './action/cancel/coaReserve';
|
|
12
12
|
import * as CancelReservationActionFactory from './action/cancel/reservation';
|
|
13
13
|
import * as CheckMovieTicketActionFactory from './action/check/paymentMethod/movieTicket';
|
|
14
|
-
import * as CheckThingActionFactory from './action/check/thing';
|
|
15
14
|
import * as UseReservationActionFactory from './action/consume/use/reservation';
|
|
16
15
|
import * as CreateActionFactory from './action/create';
|
|
17
16
|
import * as ConfirmPayActionFactory from './action/interact/confirm/pay';
|
|
@@ -236,7 +235,6 @@ export declare namespace action {
|
|
|
236
235
|
namespace paymentMethod {
|
|
237
236
|
export import movieTicket = CheckMovieTicketActionFactory;
|
|
238
237
|
}
|
|
239
|
-
export import thing = CheckThingActionFactory;
|
|
240
238
|
}
|
|
241
239
|
export import create = CreateActionFactory;
|
|
242
240
|
namespace interact {
|
package/lib/chevre/index.js
CHANGED
|
@@ -13,7 +13,6 @@ const AuthorizeTicketedObjectActionFactory = require("./action/authorize/tickete
|
|
|
13
13
|
const CancelCOAReserveActionFactory = require("./action/cancel/coaReserve");
|
|
14
14
|
const CancelReservationActionFactory = require("./action/cancel/reservation");
|
|
15
15
|
const CheckMovieTicketActionFactory = require("./action/check/paymentMethod/movieTicket");
|
|
16
|
-
const CheckThingActionFactory = require("./action/check/thing");
|
|
17
16
|
const UseReservationActionFactory = require("./action/consume/use/reservation");
|
|
18
17
|
const CreateActionFactory = require("./action/create");
|
|
19
18
|
const ConfirmPayActionFactory = require("./action/interact/confirm/pay");
|
|
@@ -216,8 +215,6 @@ var action;
|
|
|
216
215
|
(function (paymentMethod) {
|
|
217
216
|
paymentMethod.movieTicket = CheckMovieTicketActionFactory;
|
|
218
217
|
})(paymentMethod = check.paymentMethod || (check.paymentMethod = {}));
|
|
219
|
-
check.thing = CheckThingActionFactory;
|
|
220
|
-
// export import token = CheckTokenActionFactory; // discontinue(2025-09-22~)
|
|
221
218
|
})(check = action.check || (action.check = {}));
|
|
222
219
|
action.create = CreateActionFactory;
|
|
223
220
|
let interact;
|
|
@@ -1,8 +1,15 @@
|
|
|
1
|
-
import { IAttributes as ICheckActionAttributes } from '../action/check/thing';
|
|
2
1
|
import { IExtendId } from '../autoGenerated';
|
|
3
2
|
import { ITaskAttributes } from '../task';
|
|
4
3
|
import { TaskName } from '../taskName';
|
|
5
|
-
|
|
4
|
+
import { OrderType } from '../order';
|
|
5
|
+
export interface IObjectAsOrder {
|
|
6
|
+
orderNumber: string;
|
|
7
|
+
typeOf: OrderType.Order;
|
|
8
|
+
}
|
|
9
|
+
export type IObject = IObjectAsOrder;
|
|
10
|
+
export interface IData {
|
|
11
|
+
object: IObject;
|
|
12
|
+
}
|
|
6
13
|
export interface IAttributes extends ITaskAttributes {
|
|
7
14
|
name: TaskName.CheckResource;
|
|
8
15
|
data: IData;
|
package/package.json
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { IParticipantAsWebApplication, IParticipantAsPerson, IParticipantAsProject, ISameAs, IAction as IBaseAction, IAttributes as IBaseAttributes } from '../../action';
|
|
2
|
-
import { ActionType } from '../../actionType';
|
|
3
|
-
import { EventType } from '../../eventType';
|
|
4
|
-
import { OrderType } from '../../order';
|
|
5
|
-
export type IAgent = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsProject;
|
|
6
|
-
export interface IObjectAsEvent {
|
|
7
|
-
id: string;
|
|
8
|
-
typeOf: EventType.ScreeningEvent;
|
|
9
|
-
}
|
|
10
|
-
export interface IObjectAsOrder {
|
|
11
|
-
orderNumber: string;
|
|
12
|
-
typeOf: OrderType.Order;
|
|
13
|
-
}
|
|
14
|
-
export type IObject = IObjectAsEvent | IObjectAsOrder;
|
|
15
|
-
export interface IResult {
|
|
16
|
-
}
|
|
17
|
-
export type IError = any;
|
|
18
|
-
export interface IAttributes extends Pick<IBaseAttributes<ActionType.CheckAction, IObject, IResult>, 'agent' | 'error' | 'object' | 'project' | 'result' | 'sameAs' | 'typeOf'> {
|
|
19
|
-
purpose?: never;
|
|
20
|
-
agent: IAgent;
|
|
21
|
-
object: IObject;
|
|
22
|
-
sameAs: ISameAs;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 汎用リソース検証アクション
|
|
26
|
-
*/
|
|
27
|
-
export type IAction = IBaseAction<IAttributes>;
|