@chevre/domain 24.0.0-alpha.32 → 24.0.0-alpha.34
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/factory/transaction.d.ts +0 -3
- package/lib/chevre/repo/action/actionProcess.d.ts +1 -1
- package/lib/chevre/repo/action/authorizeOffer.d.ts +16 -1
- package/lib/chevre/repo/action/authorizeOffer.js +21 -2
- package/lib/chevre/repo/action/authorizePaymentMethod.d.ts +12 -0
- package/lib/chevre/repo/action/authorizePaymentMethod.js +14 -0
- package/lib/chevre/repo/action/authorizeTicketedObject.d.ts +8 -0
- package/lib/chevre/repo/action/authorizeTicketedObject.js +11 -0
- package/lib/chevre/repo/action.d.ts +2 -2
- package/lib/chevre/repo/mongoose/schemas/transaction.d.ts +1 -2
- package/lib/chevre/repo/passport.d.ts +1 -1
- package/lib/chevre/repo/task.d.ts +1 -1
- package/lib/chevre/repo/transaction.d.ts +1 -39
- package/lib/chevre/repository.d.ts +5 -10
- package/lib/chevre/repository.js +11 -22
- package/lib/chevre/service/delivery/factory.js +4 -4
- package/lib/chevre/service/offer/any.d.ts +1 -1
- package/lib/chevre/service/offer/event/issueEventOfferTicket.d.ts +16 -14
- package/lib/chevre/service/offer/event/issueEventOfferTicket.js +3 -3
- package/lib/chevre/service/offer.d.ts +1 -2
- package/lib/chevre/service/offer.js +1 -3
- package/lib/chevre/service/order/onOrderStatusChanged/onOrderCancelled/factory.d.ts +1 -1
- package/lib/chevre/service/order/onOrderStatusChanged/onOrderDeliveredPartially/factory.d.ts +1 -1
- package/lib/chevre/service/order/onOrderStatusChanged/onOrderProcessing/processOrder.js +54 -36
- package/lib/chevre/service/order/onOrderStatusChanged/onOrderReturned/factory.d.ts +1 -1
- package/lib/chevre/service/order/onOrderStatusChanged/onOrderReturned.js +78 -64
- package/lib/chevre/service/order/placeOrder/createPlacingOrderFromExistingTransaction.d.ts +5 -2
- package/lib/chevre/service/order/placeOrder/createPlacingOrderFromExistingTransaction.js +40 -25
- package/lib/chevre/service/order/placeOrder/factory/orderedItem.d.ts +0 -1
- package/lib/chevre/service/order/placeOrder/factory/orderedItem.js +3 -8
- package/lib/chevre/service/order/placeOrder/factory.js +5 -5
- package/lib/chevre/service/order/placeOrder.d.ts +4 -0
- package/lib/chevre/service/order/placeOrder.js +6 -1
- package/lib/chevre/service/task/deletePerson.js +0 -1
- package/lib/chevre/service/task/deleteTransaction.js +0 -2
- package/lib/chevre/service/task/placeOrder.js +4 -0
- package/lib/chevre/service/transaction/deleteTransaction.d.ts +0 -2
- package/lib/chevre/service/transaction/deleteTransaction.js +2 -47
- package/lib/chevre/service/transaction/placeOrder/confirm/validation/factory.d.ts +0 -1
- package/lib/chevre/service/transaction/placeOrder/confirm/validation/validatePrice.d.ts +2 -2
- package/lib/chevre/service/transaction/placeOrder/confirm/validation/validatePrice.js +2 -3
- package/lib/chevre/service/transaction/placeOrder/confirm/validation.d.ts +3 -3
- package/lib/chevre/service/transaction/placeOrder/confirm/validation.js +2 -2
- package/lib/chevre/service/transaction/placeOrder/confirm.js +12 -17
- package/lib/chevre/service/transaction/placeOrder/exportTasks/factory.js +1 -15
- package/lib/chevre/service/transaction.d.ts +0 -4
- package/lib/chevre/service/transaction.js +1 -11
- package/lib/chevre/service/validation/validateOrder.js +2 -2
- package/package.json +3 -3
- package/lib/chevre/repo/action/authorizeMoneyTransferOffer.d.ts +0 -40
- package/lib/chevre/repo/action/authorizeMoneyTransferOffer.js +0 -61
- package/lib/chevre/repo/transaction/moneyTransfer.d.ts +0 -61
- package/lib/chevre/repo/transaction/moneyTransfer.js +0 -379
- package/lib/chevre/service/offer/moneyTransfer/authorize.d.ts +0 -38
- package/lib/chevre/service/offer/moneyTransfer/authorize.js +0 -250
- package/lib/chevre/service/offer/moneyTransfer/returnMoneyTransfer.d.ts +0 -16
- package/lib/chevre/service/offer/moneyTransfer/returnMoneyTransfer.js +0 -96
- package/lib/chevre/service/offer/moneyTransfer/settleTransaction.d.ts +0 -9
- package/lib/chevre/service/offer/moneyTransfer/settleTransaction.js +0 -91
- package/lib/chevre/service/offer/moneyTransfer/voidTransaction.d.ts +0 -10
- package/lib/chevre/service/offer/moneyTransfer/voidTransaction.js +0 -81
- package/lib/chevre/service/offer/moneyTransfer.d.ts +0 -5
- package/lib/chevre/service/offer/moneyTransfer.js +0 -11
- package/lib/chevre/service/task/confirmMoneyTransfer.d.ts +0 -6
- package/lib/chevre/service/task/confirmMoneyTransfer.js +0 -19
- package/lib/chevre/service/task/returnMoneyTransfer.d.ts +0 -6
- package/lib/chevre/service/task/returnMoneyTransfer.js +0 -55
- package/lib/chevre/service/task/voidMoneyTransferTransaction.d.ts +0 -6
- package/lib/chevre/service/task/voidMoneyTransferTransaction.js +0 -27
- package/lib/chevre/service/transaction/moneyTransfer/exportTasks/factory.d.ts +0 -9
- package/lib/chevre/service/transaction/moneyTransfer/exportTasks/factory.js +0 -138
- package/lib/chevre/service/transaction/moneyTransfer/factory.d.ts +0 -2
- package/lib/chevre/service/transaction/moneyTransfer/factory.js +0 -55
- package/lib/chevre/service/transaction/moneyTransfer/potentialActions.d.ts +0 -9
- package/lib/chevre/service/transaction/moneyTransfer/potentialActions.js +0 -65
- package/lib/chevre/service/transaction/moneyTransfer.d.ts +0 -72
- package/lib/chevre/service/transaction/moneyTransfer.js +0 -649
|
@@ -2,9 +2,6 @@ import * as factory from '../factory';
|
|
|
2
2
|
export type IPassportValidator = (params: {
|
|
3
3
|
passport: factory.waiter.passport.IPassport;
|
|
4
4
|
}) => boolean;
|
|
5
|
-
export declare namespace moneyTransfer {
|
|
6
|
-
type IStartParams = factory.transaction.moneyTransfer.IStartParamsWithoutDetail & {};
|
|
7
|
-
}
|
|
8
5
|
export declare namespace placeOrder {
|
|
9
6
|
type IStartParams = factory.transaction.placeOrder.IStartParamsWithoutDetail & {
|
|
10
7
|
broker?: factory.order.IBroker;
|
|
@@ -2,7 +2,7 @@ import { Connection } from 'mongoose';
|
|
|
2
2
|
import * as factory from '../../factory';
|
|
3
3
|
import { IModel as IActionModel } from '../mongoose/schemas/action';
|
|
4
4
|
import { IModel as IActionRecipeModel } from '../mongoose/schemas/actionRecipe';
|
|
5
|
-
export type IAction4transaction<T extends factory.actionType.AcceptAction | factory.actionType.AuthorizeAction> = T extends factory.actionType.AcceptAction ? factory.action.accept.coaOffer.IAction | factory.action.accept.pay.IAction : T extends factory.actionType.AuthorizeAction ? (factory.action.authorize.offer.eventService.IAction | factory.action.authorize.offer.
|
|
5
|
+
export type IAction4transaction<T extends factory.actionType.AcceptAction | factory.actionType.AuthorizeAction> = T extends factory.actionType.AcceptAction ? factory.action.accept.coaOffer.IAction | factory.action.accept.pay.IAction : T extends factory.actionType.AuthorizeAction ? (factory.action.authorize.offer.eventService.IAction | factory.action.authorize.offer.product.IAction | factory.action.authorize.paymentMethod.any.IAction) : never;
|
|
6
6
|
export type IAction<T extends factory.actionType> = T extends factory.actionType.OrderAction ? factory.action.trade.order.IAction : T extends factory.actionType.AcceptAction ? IAction4transaction<factory.actionType.AcceptAction> : T extends factory.actionType.AuthorizeAction ? factory.action.authorize.IAction<factory.action.authorize.IAttributes<any, any>> : T extends factory.actionType.CheckAction ? (factory.action.check.paymentMethod.movieTicket.IAction | factory.action.check.thing.IAction) : T extends factory.actionType.CreateAction ? factory.action.create.IAction : T extends factory.actionType.MoneyTransfer ? factory.action.transfer.moneyTransfer.IAction : T extends factory.actionType.AddAction ? factory.action.update.add.IAction : T extends factory.actionType.ReplaceAction ? factory.action.update.replace.IAction : T extends factory.actionType.UpdateAction ? factory.action.update.update.IAction : T extends factory.actionType.InformAction ? factory.action.interact.inform.IAction<factory.action.interact.inform.IAttributes<factory.action.interact.inform.IObject>> & {
|
|
7
7
|
error?: any;
|
|
8
8
|
purpose?: never;
|
|
@@ -1,10 +1,25 @@
|
|
|
1
1
|
import * as factory from '../../factory';
|
|
2
2
|
import { ActionProcessRepo } from './actionProcess';
|
|
3
|
-
export type
|
|
3
|
+
export type IAuthorizeEventServiceOfferAction = factory.action.authorize.offer.eventService.IAction;
|
|
4
|
+
export type IAuthorizeProductOfferAction = factory.action.authorize.offer.product.IAction;
|
|
5
|
+
export type IAuthorizeOfferAction = IAuthorizeEventServiceOfferAction | IAuthorizeProductOfferAction;
|
|
6
|
+
export type IAuthorizeOfferActionWithInstrument = Pick<IAuthorizeEventServiceOfferAction | IAuthorizeProductOfferAction, 'instrument'>;
|
|
4
7
|
/**
|
|
5
8
|
* オファー承認リポジトリ
|
|
6
9
|
*/
|
|
7
10
|
export declare class AuthorizeOfferActionRepo extends ActionProcessRepo<IAuthorizeOfferAction, never> {
|
|
11
|
+
findAuthorizeOfferInstrumentsByIds(params: {
|
|
12
|
+
/**
|
|
13
|
+
* 注文取引
|
|
14
|
+
*/
|
|
15
|
+
purpose: {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* アクションIDリスト
|
|
20
|
+
*/
|
|
21
|
+
ids: string[];
|
|
22
|
+
}): Promise<IAuthorizeOfferActionWithInstrument[]>;
|
|
8
23
|
/**
|
|
9
24
|
* アクション再開
|
|
10
25
|
*/
|
|
@@ -26,13 +26,32 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
26
26
|
exports.AuthorizeOfferActionRepo = void 0;
|
|
27
27
|
const factory = __importStar(require("../../factory"));
|
|
28
28
|
// import { MONGO_MAX_TIME_MS } from '../settings';
|
|
29
|
-
// import { createSchema, IModel as IActionModel, modelName } from './mongoose/schemas/action';
|
|
30
|
-
// import { createSchema as createRecipeSchema, IModel as IActionRecipeModel, modelName as recipeModelName } from './mongoose/schemas/actionRecipe';
|
|
31
29
|
const actionProcess_1 = require("./actionProcess");
|
|
32
30
|
/**
|
|
33
31
|
* オファー承認リポジトリ
|
|
34
32
|
*/
|
|
35
33
|
class AuthorizeOfferActionRepo extends actionProcess_1.ActionProcessRepo {
|
|
34
|
+
async findAuthorizeOfferInstrumentsByIds(params) {
|
|
35
|
+
if (!Array.isArray(params.ids)) {
|
|
36
|
+
throw new factory.errors.Argument('ids', 'must be Array');
|
|
37
|
+
}
|
|
38
|
+
return this.findAnyActions({
|
|
39
|
+
typeOf: factory.actionType.AuthorizeAction,
|
|
40
|
+
purpose: {
|
|
41
|
+
typeOf: { $in: [factory.transactionType.PlaceOrder] },
|
|
42
|
+
id: { $in: [params.purpose.id] }
|
|
43
|
+
},
|
|
44
|
+
object: {
|
|
45
|
+
typeOf: {
|
|
46
|
+
$in: [
|
|
47
|
+
factory.action.authorize.offer.eventService.ObjectType.SeatReservation,
|
|
48
|
+
factory.offerType.Offer
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
id: { $in: params.ids }
|
|
53
|
+
}, ['instrument']);
|
|
54
|
+
}
|
|
36
55
|
/**
|
|
37
56
|
* アクション再開
|
|
38
57
|
*/
|
|
@@ -33,4 +33,16 @@ export declare class AuthorizePaymentMethodActionRepo extends ActionProcessRepo<
|
|
|
33
33
|
};
|
|
34
34
|
sort?: factory.action.ISortOrder;
|
|
35
35
|
}): Promise<IAuthorizePaymentMethodAction[]>;
|
|
36
|
+
findAuthorizePaymentMethodResultsById(params: {
|
|
37
|
+
/**
|
|
38
|
+
* 注文取引
|
|
39
|
+
*/
|
|
40
|
+
purpose: {
|
|
41
|
+
id: string;
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* アクションIDリスト
|
|
45
|
+
*/
|
|
46
|
+
ids: string[];
|
|
47
|
+
}): Promise<Pick<IAuthorizePaymentMethodAction, 'result'>[]>;
|
|
36
48
|
}
|
|
@@ -46,5 +46,19 @@ class AuthorizePaymentMethodActionRepo extends actionProcess_1.ActionProcessRepo
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
+
async findAuthorizePaymentMethodResultsById(params) {
|
|
50
|
+
if (!Array.isArray(params.ids)) {
|
|
51
|
+
throw new factory.errors.Argument('ids', 'must be Array');
|
|
52
|
+
}
|
|
53
|
+
return this.findAnyActions({
|
|
54
|
+
typeOf: factory.actionType.AuthorizeAction,
|
|
55
|
+
purpose: {
|
|
56
|
+
typeOf: { $in: [factory.transactionType.PlaceOrder] },
|
|
57
|
+
id: { $in: [params.purpose.id] }
|
|
58
|
+
},
|
|
59
|
+
object: { typeOf: { $eq: factory.action.authorize.paymentMethod.any.ResultType.Payment } },
|
|
60
|
+
id: { $in: params.ids }
|
|
61
|
+
}, ['result']);
|
|
62
|
+
}
|
|
49
63
|
}
|
|
50
64
|
exports.AuthorizePaymentMethodActionRepo = AuthorizePaymentMethodActionRepo;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as factory from '../../factory';
|
|
2
|
+
import { ActionProcessRepo } from './actionProcess';
|
|
3
|
+
export type IAuthorizeTicketedObjectAction = factory.action.authorize.ticketedObject.IAction;
|
|
4
|
+
/**
|
|
5
|
+
* 決済とオファー以外に対する汎用承認リポジトリ
|
|
6
|
+
*/
|
|
7
|
+
export declare class AuthorizeTicketedObjectActionRepo extends ActionProcessRepo<IAuthorizeTicketedObjectAction, never> {
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthorizeTicketedObjectActionRepo = void 0;
|
|
4
|
+
// import { MONGO_MAX_TIME_MS } from '../settings';
|
|
5
|
+
const actionProcess_1 = require("./actionProcess");
|
|
6
|
+
/**
|
|
7
|
+
* 決済とオファー以外に対する汎用承認リポジトリ
|
|
8
|
+
*/
|
|
9
|
+
class AuthorizeTicketedObjectActionRepo extends actionProcess_1.ActionProcessRepo {
|
|
10
|
+
}
|
|
11
|
+
exports.AuthorizeTicketedObjectActionRepo = AuthorizeTicketedObjectActionRepo;
|
|
@@ -2,12 +2,12 @@ import { FilterQuery, UpdateQuery } from 'mongoose';
|
|
|
2
2
|
import * as factory from '../factory';
|
|
3
3
|
import type { IDocType } from './mongoose/schemas/action';
|
|
4
4
|
import { IAction, IKeyOfProjection, ActionProcessRepo, ICancelActionAction, IActionRecipe } from './action/actionProcess';
|
|
5
|
-
export type IAction4transaction<T extends factory.actionType.AcceptAction | factory.actionType.AuthorizeAction> = T extends factory.actionType.AcceptAction ? factory.action.accept.coaOffer.IAction | factory.action.accept.pay.IAction : T extends factory.actionType.AuthorizeAction ? (factory.action.authorize.offer.eventService.IAction | factory.action.authorize.offer.
|
|
5
|
+
export type IAction4transaction<T extends factory.actionType.AcceptAction | factory.actionType.AuthorizeAction> = T extends factory.actionType.AcceptAction ? factory.action.accept.coaOffer.IAction | factory.action.accept.pay.IAction : T extends factory.actionType.AuthorizeAction ? (factory.action.authorize.offer.eventService.IAction | factory.action.authorize.offer.product.IAction | factory.action.authorize.paymentMethod.any.IAction) : never;
|
|
6
6
|
export { ICancelActionAction };
|
|
7
7
|
/**
|
|
8
8
|
* 汎用アクションリポジトリで開始可能なアクションタイプ
|
|
9
9
|
*/
|
|
10
|
-
type StartableActionType = Exclude<factory.actionType, factory.actionType.AcceptAction | factory.actionType.CheckAction>;
|
|
10
|
+
type StartableActionType = Exclude<factory.actionType, factory.actionType.AcceptAction | factory.actionType.CheckAction | factory.actionType.AuthorizeAction>;
|
|
11
11
|
type IAvailableActionRecipe = IActionRecipe<Exclude<factory.recipe.RecipeCategory, factory.recipe.RecipeCategory.publishPaymentUrl | factory.recipe.RecipeCategory.checkMovieTicket | factory.recipe.RecipeCategory.acceptCOAOffer | factory.recipe.RecipeCategory.authorizeInvoice | factory.recipe.RecipeCategory.authorizeInvoice3ds>>;
|
|
12
12
|
/**
|
|
13
13
|
* アクションリポジトリ
|
|
@@ -3,8 +3,7 @@ import { IVirtuals } from '../virtuals';
|
|
|
3
3
|
import * as factory from '../../../factory';
|
|
4
4
|
type IPlaceOrder = Omit<factory.transaction.placeOrder.ITransaction, 'id'>;
|
|
5
5
|
type IReturnOrder = Omit<factory.transaction.returnOrder.ITransaction, 'id'>;
|
|
6
|
-
type
|
|
7
|
-
type IDocType = IPlaceOrder | IReturnOrder | IMoneyTransfer;
|
|
6
|
+
type IDocType = IPlaceOrder | IReturnOrder;
|
|
8
7
|
type IModel = Model<IDocType, {}, {}, IVirtuals>;
|
|
9
8
|
type ISchemaDefinition = SchemaDefinition<IDocType>;
|
|
10
9
|
type ISchema = Schema<IDocType, IModel, {}, {}, IVirtuals, {}, ISchemaDefinition, IDocType>;
|
|
@@ -20,7 +20,7 @@ interface IOptions {
|
|
|
20
20
|
secret: string;
|
|
21
21
|
passportValidator?: IPassportValidator;
|
|
22
22
|
}
|
|
23
|
-
type IStartParams = (factory.transaction.placeOrder.IStartParamsWithoutDetail
|
|
23
|
+
type IStartParams = (factory.transaction.placeOrder.IStartParamsWithoutDetail) & {};
|
|
24
24
|
/**
|
|
25
25
|
* 取引許可証リポジトリ
|
|
26
26
|
*/
|
|
@@ -31,7 +31,7 @@ type ICreatingTask = Pick<factory.task.IAttributes<factory.taskName>, 'data' | '
|
|
|
31
31
|
export declare class TaskRepo {
|
|
32
32
|
readonly taskModel: IModel;
|
|
33
33
|
constructor(connection: Connection);
|
|
34
|
-
static CREATE_MONGO_CONDITIONS(params: factory.task.ISearchConditions): FilterQuery<import("@chevre/factory/lib/task").ITask | import("@chevre/factory/lib/task/
|
|
34
|
+
static CREATE_MONGO_CONDITIONS(params: factory.task.ISearchConditions): FilterQuery<import("@chevre/factory/lib/task").ITask | import("@chevre/factory/lib/task/confirmRegisterService").ITask | import("@chevre/factory/lib/task/confirmPayTransaction").ITask | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").ITask | import("@chevre/factory/lib/task/confirmReserveTransaction").ITask | import("@chevre/factory/lib/task/createAccountingReport").ITask | import("@chevre/factory/lib/task/deletePerson").ITask | import("@chevre/factory/lib/task/deleteTransaction").ITask | import("@chevre/factory/lib/task/givePointAward").ITask | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").ITask | import("@chevre/factory/lib/task/onAuthorizationCreated").ITask | import("@chevre/factory/lib/task/onEventChanged").ITask | import("@chevre/factory/lib/task/onResourceDeleted").ITask | import("@chevre/factory/lib/task/onResourceUpdated").ITask | import("@chevre/factory/lib/task/onOrderPaymentCompleted").ITask | import("@chevre/factory/lib/task/placeOrder").ITask | import("@chevre/factory/lib/task/returnOrder").ITask | import("@chevre/factory/lib/task/returnPayTransaction").ITask | import("@chevre/factory/lib/task/returnPointAward").ITask | import("@chevre/factory/lib/task/returnReserveTransaction").ITask | import("@chevre/factory/lib/task/sendEmailMessage").ITask | import("@chevre/factory/lib/task/sendOrder").ITask | import("@chevre/factory/lib/task/triggerWebhook").ITask | import("@chevre/factory/lib/task/useReservation").ITask | import("@chevre/factory/lib/task/voidPayTransaction").ITask | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").ITask | import("@chevre/factory/lib/task/voidReserveTransaction").ITask>[];
|
|
35
35
|
runImmediately(params: Pick<factory.task.IAttributes<factory.taskName>, 'data' | 'expires' | 'name' | 'project' | 'remainingNumberOfTries' | 'runsAt'> & {
|
|
36
36
|
alternateName?: never;
|
|
37
37
|
identifier?: never;
|
|
@@ -73,7 +73,7 @@ export declare class TransactionRepo {
|
|
|
73
73
|
$in: factory.transactionStatusType[];
|
|
74
74
|
};
|
|
75
75
|
limit: number;
|
|
76
|
-
}): Promise<Pick<import("@chevre/factory/lib/transaction/placeOrder").ITransaction | import("@chevre/factory/lib/transaction/
|
|
76
|
+
}): Promise<Pick<import("@chevre/factory/lib/transaction/placeOrder").ITransaction | import("@chevre/factory/lib/transaction/returnOrder").ITransaction, "id" | "typeOf" | "status">[]>;
|
|
77
77
|
/**
|
|
78
78
|
* set task status exported by transaction id
|
|
79
79
|
* IDでタスクをエクスポート済に変更する
|
|
@@ -164,25 +164,6 @@ export declare class TransactionRepo {
|
|
|
164
164
|
_id: import("mongoose").Types.ObjectId;
|
|
165
165
|
} & {
|
|
166
166
|
__v: number;
|
|
167
|
-
}) | ({
|
|
168
|
-
object: import("@chevre/factory/lib/transaction/moneyTransfer").IObject;
|
|
169
|
-
error?: any;
|
|
170
|
-
project: import("@chevre/factory/lib/transaction").IProject;
|
|
171
|
-
seller: import("@chevre/factory/lib/transaction").ISeller;
|
|
172
|
-
typeOf: factory.transactionType.MoneyTransfer;
|
|
173
|
-
expires: Date;
|
|
174
|
-
result?: any;
|
|
175
|
-
startDate: Date;
|
|
176
|
-
endDate?: Date | undefined;
|
|
177
|
-
status: factory.transactionStatusType;
|
|
178
|
-
agent: import("@chevre/factory/lib/transaction").IAgent;
|
|
179
|
-
potentialActions?: import("@chevre/factory/lib/transaction/moneyTransfer").IPotentialActions | undefined;
|
|
180
|
-
recipient: import("@chevre/factory/lib/transaction/moneyTransfer").IRecipient;
|
|
181
|
-
tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
|
|
182
|
-
} & {
|
|
183
|
-
_id: import("mongoose").Types.ObjectId;
|
|
184
|
-
} & {
|
|
185
|
-
__v: number;
|
|
186
167
|
}), "id"> & import("./mongoose/virtuals").IVirtuals, import("mongoose").QueryOptions<IDocType>, (import("mongoose").Document<unknown, {}, IDocType, import("./mongoose/virtuals").IVirtuals, {}> & Omit<({
|
|
187
168
|
object: import("@chevre/factory/lib/transaction/placeOrder").IObject;
|
|
188
169
|
error?: any;
|
|
@@ -221,25 +202,6 @@ export declare class TransactionRepo {
|
|
|
221
202
|
_id: import("mongoose").Types.ObjectId;
|
|
222
203
|
} & {
|
|
223
204
|
__v: number;
|
|
224
|
-
}) | ({
|
|
225
|
-
object: import("@chevre/factory/lib/transaction/moneyTransfer").IObject;
|
|
226
|
-
error?: any;
|
|
227
|
-
project: import("@chevre/factory/lib/transaction").IProject;
|
|
228
|
-
seller: import("@chevre/factory/lib/transaction").ISeller;
|
|
229
|
-
typeOf: factory.transactionType.MoneyTransfer;
|
|
230
|
-
expires: Date;
|
|
231
|
-
result?: any;
|
|
232
|
-
startDate: Date;
|
|
233
|
-
endDate?: Date | undefined;
|
|
234
|
-
status: factory.transactionStatusType;
|
|
235
|
-
agent: import("@chevre/factory/lib/transaction").IAgent;
|
|
236
|
-
potentialActions?: import("@chevre/factory/lib/transaction/moneyTransfer").IPotentialActions | undefined;
|
|
237
|
-
recipient: import("@chevre/factory/lib/transaction/moneyTransfer").IRecipient;
|
|
238
|
-
tasksExportAction?: import("@chevre/factory/lib/transaction").ITasksExportAction | undefined;
|
|
239
|
-
} & {
|
|
240
|
-
_id: import("mongoose").Types.ObjectId;
|
|
241
|
-
} & {
|
|
242
|
-
__v: number;
|
|
243
205
|
}), "id"> & import("./mongoose/virtuals").IVirtuals) | null>;
|
|
244
206
|
aggregatePlaceOrder(params: {
|
|
245
207
|
project?: {
|
|
@@ -11,10 +11,10 @@ import type { ActionRepo } from './repo/action';
|
|
|
11
11
|
import type { AcceptCOAOfferActionRepo } from './repo/action/acceptCOAOffer';
|
|
12
12
|
import type { AcceptPayActionRepo } from './repo/action/acceptPay';
|
|
13
13
|
import type { AuthorizeInvoiceActionRepo } from './repo/action/authorizeInvoice';
|
|
14
|
-
import type { AuthorizeMoneyTransferOfferActionRepo } from './repo/action/authorizeMoneyTransferOffer';
|
|
15
14
|
import type { AuthorizeOfferActionRepo } from './repo/action/authorizeOffer';
|
|
16
15
|
import type { AuthorizeProductOfferActionRepo } from './repo/action/authorizeProductOffer';
|
|
17
16
|
import type { AuthorizePaymentMethodActionRepo } from './repo/action/authorizePaymentMethod';
|
|
17
|
+
import type { AuthorizeTicketedObjectActionRepo } from './repo/action/authorizeTicketedObject';
|
|
18
18
|
import type { CheckMovieTicketActionRepo } from './repo/action/checkMovieTicket';
|
|
19
19
|
import type { CheckThingActionRepo } from './repo/action/checkThing';
|
|
20
20
|
import type { AdditionalPropertyRepo } from './repo/additionalProperty';
|
|
@@ -95,7 +95,6 @@ import type { TicketRepo } from './repo/ticket';
|
|
|
95
95
|
import type { TransactionRepo } from './repo/transaction';
|
|
96
96
|
import type { PlaceOrderRepo } from './repo/transaction/placeOrder';
|
|
97
97
|
import type { ReturnOrderRepo } from './repo/transaction/returnOrder';
|
|
98
|
-
import type { MoneyTransferRepo } from './repo/transaction/moneyTransfer';
|
|
99
98
|
import type { TransactionNumberRepo } from './repo/transactionNumber';
|
|
100
99
|
import type { TransactionProcessRepo } from './repo/transactionProcess';
|
|
101
100
|
import type { TripRepo } from './repo/trip';
|
|
@@ -145,10 +144,6 @@ export declare namespace action {
|
|
|
145
144
|
namespace AuthorizeInvoice {
|
|
146
145
|
function createInstance(...params: ConstructorParameters<typeof AuthorizeInvoiceActionRepo>): Promise<AuthorizeInvoiceActionRepo>;
|
|
147
146
|
}
|
|
148
|
-
type AuthorizeMoneyTransferOffer = AuthorizeMoneyTransferOfferActionRepo;
|
|
149
|
-
namespace AuthorizeMoneyTransferOffer {
|
|
150
|
-
function createInstance(...params: ConstructorParameters<typeof AuthorizeMoneyTransferOfferActionRepo>): Promise<AuthorizeMoneyTransferOfferActionRepo>;
|
|
151
|
-
}
|
|
152
147
|
type AuthorizeOffer = AuthorizeOfferActionRepo;
|
|
153
148
|
namespace AuthorizeOffer {
|
|
154
149
|
function createInstance(...params: ConstructorParameters<typeof AuthorizeOfferActionRepo>): Promise<AuthorizeOfferActionRepo>;
|
|
@@ -161,6 +156,10 @@ export declare namespace action {
|
|
|
161
156
|
namespace AuthorizePaymentMethod {
|
|
162
157
|
function createInstance(...params: ConstructorParameters<typeof AuthorizePaymentMethodActionRepo>): Promise<AuthorizePaymentMethodActionRepo>;
|
|
163
158
|
}
|
|
159
|
+
type AuthorizeTicketedObject = AuthorizeTicketedObjectActionRepo;
|
|
160
|
+
namespace AuthorizeTicketedObject {
|
|
161
|
+
function createInstance(...params: ConstructorParameters<typeof AuthorizeTicketedObjectActionRepo>): Promise<AuthorizeTicketedObjectActionRepo>;
|
|
162
|
+
}
|
|
164
163
|
type CheckMovieTicket = CheckMovieTicketActionRepo;
|
|
165
164
|
namespace CheckMovieTicket {
|
|
166
165
|
function createInstance(...params: ConstructorParameters<typeof CheckMovieTicketActionRepo>): Promise<CheckMovieTicketActionRepo>;
|
|
@@ -525,10 +524,6 @@ export declare namespace transaction {
|
|
|
525
524
|
namespace ReturnOrder {
|
|
526
525
|
function createInstance(...params: ConstructorParameters<typeof ReturnOrderRepo>): Promise<ReturnOrderRepo>;
|
|
527
526
|
}
|
|
528
|
-
type MoneyTransfer = MoneyTransferRepo;
|
|
529
|
-
namespace MoneyTransfer {
|
|
530
|
-
function createInstance(...params: ConstructorParameters<typeof MoneyTransferRepo>): Promise<MoneyTransferRepo>;
|
|
531
|
-
}
|
|
532
527
|
}
|
|
533
528
|
export type TransactionNumber = TransactionNumberRepo;
|
|
534
529
|
export declare namespace TransactionNumber {
|
package/lib/chevre/repository.js
CHANGED
|
@@ -137,17 +137,6 @@ var action;
|
|
|
137
137
|
}
|
|
138
138
|
AuthorizeInvoice.createInstance = createInstance;
|
|
139
139
|
})(AuthorizeInvoice = action.AuthorizeInvoice || (action.AuthorizeInvoice = {}));
|
|
140
|
-
let AuthorizeMoneyTransferOffer;
|
|
141
|
-
(function (AuthorizeMoneyTransferOffer) {
|
|
142
|
-
let repo;
|
|
143
|
-
async function createInstance(...params) {
|
|
144
|
-
if (repo === undefined) {
|
|
145
|
-
repo = (await Promise.resolve().then(() => __importStar(require('./repo/action/authorizeMoneyTransferOffer')))).AuthorizeMoneyTransferOfferActionRepo;
|
|
146
|
-
}
|
|
147
|
-
return new repo(...params);
|
|
148
|
-
}
|
|
149
|
-
AuthorizeMoneyTransferOffer.createInstance = createInstance;
|
|
150
|
-
})(AuthorizeMoneyTransferOffer = action.AuthorizeMoneyTransferOffer || (action.AuthorizeMoneyTransferOffer = {}));
|
|
151
140
|
let AuthorizeOffer;
|
|
152
141
|
(function (AuthorizeOffer) {
|
|
153
142
|
let repo;
|
|
@@ -181,6 +170,17 @@ var action;
|
|
|
181
170
|
}
|
|
182
171
|
AuthorizePaymentMethod.createInstance = createInstance;
|
|
183
172
|
})(AuthorizePaymentMethod = action.AuthorizePaymentMethod || (action.AuthorizePaymentMethod = {}));
|
|
173
|
+
let AuthorizeTicketedObject;
|
|
174
|
+
(function (AuthorizeTicketedObject) {
|
|
175
|
+
let repo;
|
|
176
|
+
async function createInstance(...params) {
|
|
177
|
+
if (repo === undefined) {
|
|
178
|
+
repo = (await Promise.resolve().then(() => __importStar(require('./repo/action/authorizeTicketedObject')))).AuthorizeTicketedObjectActionRepo;
|
|
179
|
+
}
|
|
180
|
+
return new repo(...params);
|
|
181
|
+
}
|
|
182
|
+
AuthorizeTicketedObject.createInstance = createInstance;
|
|
183
|
+
})(AuthorizeTicketedObject = action.AuthorizeTicketedObject || (action.AuthorizeTicketedObject = {}));
|
|
184
184
|
let CheckMovieTicket;
|
|
185
185
|
(function (CheckMovieTicket) {
|
|
186
186
|
let repo;
|
|
@@ -1127,17 +1127,6 @@ var transaction;
|
|
|
1127
1127
|
}
|
|
1128
1128
|
ReturnOrder.createInstance = createInstance;
|
|
1129
1129
|
})(ReturnOrder = transaction.ReturnOrder || (transaction.ReturnOrder = {}));
|
|
1130
|
-
let MoneyTransfer;
|
|
1131
|
-
(function (MoneyTransfer) {
|
|
1132
|
-
let repo;
|
|
1133
|
-
async function createInstance(...params) {
|
|
1134
|
-
if (repo === undefined) {
|
|
1135
|
-
repo = (await Promise.resolve().then(() => __importStar(require('./repo/transaction/moneyTransfer')))).MoneyTransferRepo;
|
|
1136
|
-
}
|
|
1137
|
-
return new repo(...params);
|
|
1138
|
-
}
|
|
1139
|
-
MoneyTransfer.createInstance = createInstance;
|
|
1140
|
-
})(MoneyTransfer = transaction.MoneyTransfer || (transaction.MoneyTransfer = {}));
|
|
1141
1130
|
})(transaction || (exports.transaction = transaction = {}));
|
|
1142
1131
|
var TransactionNumber;
|
|
1143
1132
|
(function (TransactionNumber) {
|
|
@@ -81,10 +81,10 @@ function createOwnershipInfosFromOrder(params) {
|
|
|
81
81
|
acquiredFrom: acquiredFrom
|
|
82
82
|
});
|
|
83
83
|
break;
|
|
84
|
-
case factory.actionType.MoneyTransfer:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
84
|
+
// case factory.actionType.MoneyTransfer:
|
|
85
|
+
// // no op
|
|
86
|
+
// // 所有権は発生しない
|
|
87
|
+
// break;
|
|
88
88
|
default:
|
|
89
89
|
throw new factory.errors.NotImplemented(`Offered item type ${itemOfferedType} not implemented`);
|
|
90
90
|
}
|
|
@@ -4,7 +4,7 @@ interface IAcceptOfferOperationRepos {
|
|
|
4
4
|
orderInTransaction: OrderInTransactionRepo;
|
|
5
5
|
}
|
|
6
6
|
type IAcceptOfferOperation<T> = (repos: IAcceptOfferOperationRepos) => Promise<T>;
|
|
7
|
-
export type IAuthorizeActionWithInstrument = Pick<factory.action.authorize.offer.
|
|
7
|
+
export type IAuthorizeActionWithInstrument = Pick<factory.action.authorize.offer.product.IAction | factory.action.authorize.offer.eventService.IAction, 'instrument'>;
|
|
8
8
|
export declare function acceptOffer(params: {
|
|
9
9
|
orderNumber: string;
|
|
10
10
|
project: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as factory from '../../../factory';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AuthorizeTicketedObjectActionRepo } from '../../../repo/action/authorizeTicketedObject';
|
|
3
3
|
import type { AuthorizationRepo } from '../../../repo/authorization';
|
|
4
4
|
import type { EventRepo } from '../../../repo/event';
|
|
5
5
|
import type { EventOfferRepo } from '../../../repo/eventOffer';
|
|
@@ -9,6 +9,19 @@ import type { MemberProgramRepo } from '../../../repo/memberProgram';
|
|
|
9
9
|
import type { ProductOfferRepo } from '../../../repo/productOffer';
|
|
10
10
|
import type { TicketRepo } from '../../../repo/ticket';
|
|
11
11
|
import type { PlaceOrderRepo } from '../../../repo/transaction/placeOrder';
|
|
12
|
+
interface IIssueEventOfferTicketRepos {
|
|
13
|
+
action?: never;
|
|
14
|
+
authorizeTicketedObjectAction: AuthorizeTicketedObjectActionRepo;
|
|
15
|
+
authorization: AuthorizationRepo;
|
|
16
|
+
event: EventRepo;
|
|
17
|
+
eventOffer: EventOfferRepo;
|
|
18
|
+
issuer: IssuerRepo;
|
|
19
|
+
member: MemberRepo;
|
|
20
|
+
memberProgram: MemberProgramRepo;
|
|
21
|
+
productOffer: ProductOfferRepo;
|
|
22
|
+
ticket: TicketRepo;
|
|
23
|
+
placeOrder: PlaceOrderRepo;
|
|
24
|
+
}
|
|
12
25
|
declare function issueEventOfferTicket(params: {
|
|
13
26
|
now: Date;
|
|
14
27
|
audience: Pick<factory.action.authorize.offer.eventService.IPurpose, 'id'>;
|
|
@@ -31,18 +44,7 @@ declare function issueEventOfferTicket(params: {
|
|
|
31
44
|
*/
|
|
32
45
|
id: string;
|
|
33
46
|
};
|
|
34
|
-
}): (repos: {
|
|
35
|
-
action: ActionRepo;
|
|
36
|
-
authorization: AuthorizationRepo;
|
|
37
|
-
event: EventRepo;
|
|
38
|
-
eventOffer: EventOfferRepo;
|
|
39
|
-
issuer: IssuerRepo;
|
|
40
|
-
member: MemberRepo;
|
|
41
|
-
memberProgram: MemberProgramRepo;
|
|
42
|
-
productOffer: ProductOfferRepo;
|
|
43
|
-
ticket: TicketRepo;
|
|
44
|
-
placeOrder: PlaceOrderRepo;
|
|
45
|
-
}) => Promise<{
|
|
47
|
+
}): (repos: IIssueEventOfferTicketRepos) => Promise<{
|
|
46
48
|
ticketToken: string;
|
|
47
49
|
}>;
|
|
48
|
-
export { issueEventOfferTicket };
|
|
50
|
+
export { IIssueEventOfferTicketRepos, issueEventOfferTicket };
|
|
@@ -44,7 +44,7 @@ function createOfferTicket(params) {
|
|
|
44
44
|
id: instrument.id
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
|
-
const action = await repos.
|
|
47
|
+
const action = await repos.authorizeTicketedObjectAction.start(actionAttributes);
|
|
48
48
|
let authorizations;
|
|
49
49
|
try {
|
|
50
50
|
authorizations = await repos.authorization.issueAuthorization([{
|
|
@@ -59,7 +59,7 @@ function createOfferTicket(params) {
|
|
|
59
59
|
}
|
|
60
60
|
catch (error) {
|
|
61
61
|
try {
|
|
62
|
-
await repos.
|
|
62
|
+
await repos.authorizeTicketedObjectAction.giveUp({ typeOf: action.typeOf, id: action.id, error });
|
|
63
63
|
}
|
|
64
64
|
catch (__) {
|
|
65
65
|
// 失敗したら仕方ない
|
|
@@ -67,7 +67,7 @@ function createOfferTicket(params) {
|
|
|
67
67
|
throw error;
|
|
68
68
|
}
|
|
69
69
|
const result = authorizations.map(({ code, typeOf }) => ({ code, typeOf }));
|
|
70
|
-
await repos.
|
|
70
|
+
await repos.authorizeTicketedObjectAction.completeWithVoid({ typeOf: action.typeOf, id: action.id, result: result });
|
|
71
71
|
const ticketToken = authorizations.shift()?.code;
|
|
72
72
|
if (typeof ticketToken !== 'string') {
|
|
73
73
|
// 基本的にありえないフロー
|
|
@@ -5,9 +5,8 @@ import type { StockHolderRepo } from '../repo/stockHolder';
|
|
|
5
5
|
import * as factory from '../factory';
|
|
6
6
|
import * as EventOfferService from './offer/event';
|
|
7
7
|
import * as EventServiceByCOAOfferService from './offer/eventServiceByCOA';
|
|
8
|
-
import * as MoneyTransferOfferService from './offer/moneyTransfer';
|
|
9
8
|
import * as ProductOfferService from './offer/product';
|
|
10
|
-
export { EventOfferService as event, EventServiceByCOAOfferService as eventServiceByCOA,
|
|
9
|
+
export { EventOfferService as event, EventServiceByCOAOfferService as eventServiceByCOA, ProductOfferService as product };
|
|
11
10
|
type ISeatAsEventOffer = Pick<factory.place.seat.IPlaceWithOffer, 'branchCode' | 'name' | 'seatingType'> & {
|
|
12
11
|
containedInPlace?: {
|
|
13
12
|
branchCode?: string;
|
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.product = exports.
|
|
29
|
+
exports.product = exports.eventServiceByCOA = exports.event = void 0;
|
|
30
30
|
exports.searchEventSeatOffersWithPaging = searchEventSeatOffersWithPaging;
|
|
31
31
|
exports.findEventSeatOffersBySection = findEventSeatOffersBySection;
|
|
32
32
|
const moment_1 = __importDefault(require("moment"));
|
|
@@ -35,8 +35,6 @@ const EventOfferService = __importStar(require("./offer/event"));
|
|
|
35
35
|
exports.event = EventOfferService;
|
|
36
36
|
const EventServiceByCOAOfferService = __importStar(require("./offer/eventServiceByCOA"));
|
|
37
37
|
exports.eventServiceByCOA = EventServiceByCOAOfferService;
|
|
38
|
-
const MoneyTransferOfferService = __importStar(require("./offer/moneyTransfer"));
|
|
39
|
-
exports.moneyTransfer = MoneyTransferOfferService;
|
|
40
38
|
const ProductOfferService = __importStar(require("./offer/product"));
|
|
41
39
|
exports.product = ProductOfferService;
|
|
42
40
|
/**
|
|
@@ -7,5 +7,5 @@ import * as factory from '../../../../factory';
|
|
|
7
7
|
*/
|
|
8
8
|
declare function createOnOrderCancelledTasksByTransaction(params: {
|
|
9
9
|
transaction: Pick<factory.transaction.placeOrder.ITransaction, 'id' | 'project' | 'typeOf'>;
|
|
10
|
-
}): (import("@chevre/factory/lib/task").IAttributes | import("@chevre/factory/lib/task/
|
|
10
|
+
}): (import("@chevre/factory/lib/task").IAttributes | import("@chevre/factory/lib/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/task/deletePerson").IAttributes | import("@chevre/factory/lib/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/task/givePointAward").IAttributes | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/task/onEventChanged").IAttributes | import("@chevre/factory/lib/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/task/placeOrder").IAttributes | import("@chevre/factory/lib/task/returnOrder").IAttributes | import("@chevre/factory/lib/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/task/returnPointAward").IAttributes | import("@chevre/factory/lib/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/task/sendOrder").IAttributes | import("@chevre/factory/lib/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/task/useReservation").IAttributes | import("@chevre/factory/lib/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/voidReserveTransaction").IAttributes)[];
|
|
11
11
|
export { createOnOrderCancelledTasksByTransaction };
|
package/lib/chevre/service/order/onOrderStatusChanged/onOrderDeliveredPartially/factory.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ declare function createInformTasks(params: {
|
|
|
13
13
|
}, setting: Pick<ISetting, 'onOrderStatusChanged'> | null): factory.task.IAttributes<factory.taskName.TriggerWebhook>[];
|
|
14
14
|
declare function createNextSendOrderTasks(params: {
|
|
15
15
|
order: IInTransitOrder;
|
|
16
|
-
}): (import("@chevre/factory/lib/task").IAttributes | import("@chevre/factory/lib/task/
|
|
16
|
+
}): (import("@chevre/factory/lib/task").IAttributes | import("@chevre/factory/lib/task/confirmRegisterService").IAttributes | import("@chevre/factory/lib/task/confirmPayTransaction").IAttributes | import("@chevre/factory/lib/task/confirmRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/confirmReserveTransaction").IAttributes | import("@chevre/factory/lib/task/createAccountingReport").IAttributes | import("@chevre/factory/lib/task/deletePerson").IAttributes | import("@chevre/factory/lib/task/deleteTransaction").IAttributes | import("@chevre/factory/lib/task/givePointAward").IAttributes | import("@chevre/factory/lib/task/onAssetTransactionStatusChanged").IAttributes | import("@chevre/factory/lib/task/onAuthorizationCreated").IAttributes | import("@chevre/factory/lib/task/onEventChanged").IAttributes | import("@chevre/factory/lib/task/onResourceDeleted").IAttributes | import("@chevre/factory/lib/task/onResourceUpdated").IAttributes | import("@chevre/factory/lib/task/onOrderPaymentCompleted").IAttributes | import("@chevre/factory/lib/task/placeOrder").IAttributes | import("@chevre/factory/lib/task/returnOrder").IAttributes | import("@chevre/factory/lib/task/returnPayTransaction").IAttributes | import("@chevre/factory/lib/task/returnPointAward").IAttributes | import("@chevre/factory/lib/task/returnReserveTransaction").IAttributes | import("@chevre/factory/lib/task/sendEmailMessage").IAttributes | import("@chevre/factory/lib/task/sendOrder").IAttributes | import("@chevre/factory/lib/task/triggerWebhook").IAttributes | import("@chevre/factory/lib/task/useReservation").IAttributes | import("@chevre/factory/lib/task/voidPayTransaction").IAttributes | import("@chevre/factory/lib/task/voidRegisterServiceTransaction").IAttributes | import("@chevre/factory/lib/task/voidReserveTransaction").IAttributes)[];
|
|
17
17
|
export { createInformTasks, createNextSendOrderTasks, IInTransitOrder };
|