@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.
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:
|
|
164
|
+
returnOrder: IReturnOrderPotentialAction[];
|
|
164
165
|
}
|
|
165
166
|
export interface IAttributes extends TransactionFactory.IAttributes<Omit<IStartParams, 'expiresInSeconds'>, IResult, IError, IPotentialActions> {
|
|
166
167
|
}
|