@chevre/factory 4.392.0-alpha.15 → 4.392.0-alpha.16

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.
@@ -66,7 +66,8 @@ export type IReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantRetu
66
66
  returnFeesMovieTicket?: IReturnFeesMovieTicket[];
67
67
  itemCondition?: IReturnPolicyItemCondition;
68
68
  /**
69
- * ポリシー識別子(プロジェクト自動生成)
69
+ * ポリシー識別子
70
+ * プロジェクト自動生成、あるいは、販売者返品ポリシーコード
70
71
  */
71
72
  identifier?: string;
72
73
  };
@@ -76,7 +77,7 @@ export interface IAttributes extends Pick<ReturnActionFactory.IAttributes<IObjec
76
77
  agent: IAgent;
77
78
  recipient: IRecipient;
78
79
  potentialActions?: IPotentialActions;
79
- instrument: IInstrument;
80
+ instrument?: IInstrument;
80
81
  }
81
82
  /**
82
83
  * return order action
@@ -1,3 +1,4 @@
1
+ import { IAction as IReturnOrderAction } from '../action/transfer/return/order';
1
2
  import { IAcceptedOffer, IItemOffered, IOrder } from '../order';
2
3
  import { OrderStatus } from '../orderStatus';
3
4
  /**
@@ -7,6 +8,7 @@ export type IReturnedOrder4inform = Pick<IOrder, 'project' | 'typeOf' | 'orderNu
7
8
  id?: string;
8
9
  orderStatus: OrderStatus.OrderReturned;
9
10
  };
11
+ export type IReturnAction4inform = Pick<IReturnOrderAction, 'id' | 'instrument' | 'object' | 'project' | 'typeOf'>;
10
12
  /**
11
13
  * 注文作成通知
12
14
  */
@@ -38,4 +40,4 @@ export type IUpdatedOrder4inform = Pick<IOrder, 'typeOf' | 'orderNumber' | 'name
38
40
  updatedAt: Date;
39
41
  orderStatus?: never;
40
42
  };
41
- export type IOrder4inform = IProcessingOrder4inform | IInTransitOrder4inform | IDeliveredOrder4inform | IReturnedOrder4inform | IUpdatedOrder4inform;
43
+ export type IOrder4inform = IProcessingOrder4inform | IInTransitOrder4inform | IDeliveredOrder4inform | IReturnedOrder4inform | IUpdatedOrder4inform | IReturnAction4inform;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.392.0-alpha.15",
3
+ "version": "4.392.0-alpha.16",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",