@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 * as OrderFactory from '../../order';
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 = OrderFactory.ISimpleOrder;
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;
@@ -9,7 +9,7 @@ export type IObject = SendOrderActionFactory.IObject & {
9
9
  /**
10
10
  * OrderInTransit導入期の互換性維持対応として
11
11
  */
12
- previousOrderStatus?: OrderStatus.OrderProcessing | OrderStatus.OrderInTransit;
12
+ previousOrderStatus?: OrderStatus.OrderInTransit;
13
13
  };
14
14
  export interface IData {
15
15
  project: Pick<IProject, 'id' | 'typeOf'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.351.0-alpha.9",
3
+ "version": "4.351.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",