@chevre/factory 4.326.0-alpha.2 → 4.327.0-alpha.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.
@@ -123,8 +123,9 @@ export interface IResult {
123
123
  paymentMethodId: string;
124
124
  /**
125
125
  * 決済ステータス
126
+ * 注文に連携(2023-08-23~)
126
127
  */
127
- paymentStatus: PaymentStatusType;
128
+ paymentStatus: PaymentStatusType.PaymentAutomaticallyApplied;
128
129
  /**
129
130
  * 決済方法名称
130
131
  */
@@ -170,6 +170,7 @@ export interface ISearchConditions<T extends AssetTransactionType> {
170
170
  };
171
171
  transactionNumber?: {
172
172
  $eq?: string;
173
+ $in?: string[];
173
174
  };
174
175
  tasksExportationStatuses?: TransactionTasksExportationStatus[];
175
176
  }
package/lib/order.d.ts CHANGED
@@ -10,6 +10,7 @@ import { IMultilingualString } from './multilingualString';
10
10
  import { IOffer } from './offer';
11
11
  import { OrderStatus } from './orderStatus';
12
12
  import { OrganizationType } from './organizationType';
13
+ import { PaymentStatusType } from './paymentStatusType';
13
14
  import { IPermit as IBasePermit } from './permit';
14
15
  import { IPerson, IProfile } from './person';
15
16
  import { PersonType } from './personType';
@@ -71,6 +72,10 @@ export interface IReferencedInvoice {
71
72
  * An identifier for the method of payment used (e.g.the last 4 digits of the credit card).
72
73
  */
73
74
  paymentMethodId: string;
75
+ /**
76
+ * 自動決済かどうか判定するために追加(2023-08-23~)
77
+ */
78
+ paymentStatus?: PaymentStatusType.PaymentAutomaticallyApplied;
74
79
  /**
75
80
  * The total amount due.
76
81
  */
@@ -7,6 +7,10 @@ export declare type IPurpose = IConfirmPayPurpose & {
7
7
  };
8
8
  export interface IData extends IConfirmPayActionAttributes {
9
9
  purpose: IPurpose;
10
+ /**
11
+ * OrderPaymentDue->OrderProcessing処理を実行するかどうかのオプションを追加(2023-08-23~)
12
+ */
13
+ processOrder?: boolean;
10
14
  }
11
15
  export interface IAttributes extends TaskFactory.IAttributes {
12
16
  name: TaskName.ConfirmPayTransaction;
@@ -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.327.0-alpha.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",