@chevre/factory 4.351.0-alpha.9 → 4.351.0
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.
|
@@ -1,27 +1,21 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
import
|
|
3
|
+
import { ISimpleOrder } from '../../order';
|
|
4
4
|
import { TransactionType } from '../../transactionType';
|
|
5
5
|
import { IAttributes as IGivePointAwardActionAttributes } from '../transfer/give/pointAward';
|
|
6
6
|
import { IAttributes as ISendOrderActionAttributes } from '../transfer/send/order';
|
|
7
7
|
export type IAgent = ActionFactory.IParticipant;
|
|
8
8
|
export type IRecipient = ActionFactory.IParticipant;
|
|
9
|
-
export type IObject =
|
|
9
|
+
export type IObject = ISimpleOrder;
|
|
10
10
|
export type IResult = any;
|
|
11
|
+
export type ISendOrderPotentialAction = Pick<ISendOrderActionAttributes, 'potentialActions'>;
|
|
11
12
|
export interface IPotentialActions {
|
|
12
13
|
/**
|
|
13
14
|
* ポイント付与アクション
|
|
14
15
|
* 現時点で複数口座にポイントを付与することはないが、可能性もこめてリストで持っておく
|
|
15
16
|
*/
|
|
16
17
|
givePointAward?: IGivePointAwardActionAttributes[];
|
|
17
|
-
|
|
18
|
-
* 決済アクションリスト
|
|
19
|
-
* 廃止(2023-02-03~)
|
|
20
|
-
*/
|
|
21
|
-
/**
|
|
22
|
-
* 注文配送アクション
|
|
23
|
-
*/
|
|
24
|
-
sendOrder?: ISendOrderActionAttributes;
|
|
18
|
+
sendOrder?: ISendOrderPotentialAction;
|
|
25
19
|
}
|
|
26
20
|
export interface IPurpose {
|
|
27
21
|
typeOf: TransactionType.PlaceOrder;
|
package/lib/task/sendOrder.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type IObject = SendOrderActionFactory.IObject & {
|
|
|
9
9
|
/**
|
|
10
10
|
* OrderInTransit導入期の互換性維持対応として
|
|
11
11
|
*/
|
|
12
|
-
previousOrderStatus?: OrderStatus.
|
|
12
|
+
previousOrderStatus?: OrderStatus.OrderInTransit;
|
|
13
13
|
};
|
|
14
14
|
export interface IData {
|
|
15
15
|
project: Pick<IProject, 'id' | 'typeOf'>;
|