@chevre/factory 4.326.0-alpha.2 → 4.326.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.
@@ -2,12 +2,12 @@ import { IAttributes as IReturnOrderActionAttributes } from '../action/transfer/
2
2
  import { IExtendId } from '../autoGenerated';
3
3
  import * as TaskFactory from '../task';
4
4
  import { TaskName } from '../taskName';
5
- export declare type IData = IReturnOrderActionAttributes;
5
+ export declare type IData = Pick<IReturnOrderActionAttributes, 'agent' | 'object' | 'project' | 'typeOf'>;
6
6
  export interface IAttributes extends TaskFactory.IAttributes {
7
7
  name: TaskName.ReturnOrder;
8
8
  data: IData;
9
9
  }
10
10
  /**
11
- * 注文返品タスクインターフェース
11
+ * 注文返品タスク
12
12
  */
13
13
  export declare type ITask = IExtendId<IAttributes>;
@@ -156,11 +156,12 @@ export interface IObject {
156
156
  reason: Reason;
157
157
  returnPolicy: IReturnPolicy;
158
158
  }
159
+ export declare type IReturnOrderPotentialAction = Pick<IReturnOrderActionAttributes, 'agent' | 'object' | 'potentialActions' | 'typeOf'>;
159
160
  export interface IPotentialActions {
160
161
  /**
161
162
  * 注文返品アクション属性
162
163
  */
163
- returnOrder: IReturnOrderActionAttributes[];
164
+ returnOrder: IReturnOrderPotentialAction[];
164
165
  }
165
166
  export interface IAttributes extends TransactionFactory.IAttributes<Omit<IStartParams, 'expiresInSeconds'>, IResult, IError, IPotentialActions> {
166
167
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.326.0-alpha.2",
3
+ "version": "4.326.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",