@chevre/factory 4.277.0 → 4.278.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
|
@@ -204,10 +204,6 @@ export interface ISimpleOrder extends Pick<IThing, 'name'> {
|
|
|
204
204
|
* Party placing the order.
|
|
205
205
|
*/
|
|
206
206
|
customer: ISimpleCustomer;
|
|
207
|
-
/**
|
|
208
|
-
* A number that confirms the given order or payment has been received.
|
|
209
|
-
*/
|
|
210
|
-
confirmationNumber: string;
|
|
211
207
|
/**
|
|
212
208
|
* The merchant- specific identifier for the transaction.
|
|
213
209
|
*/
|
|
@@ -273,6 +269,10 @@ export interface IOrder extends ISimpleOrder {
|
|
|
273
269
|
* In most cases a broker never acquires or releases ownership of a product or service involved in an exchange.
|
|
274
270
|
*/
|
|
275
271
|
broker?: IBroker;
|
|
272
|
+
/**
|
|
273
|
+
* A number that confirms the given order or payment has been received.
|
|
274
|
+
*/
|
|
275
|
+
confirmationNumber: string;
|
|
276
276
|
customer: ICustomer;
|
|
277
277
|
/**
|
|
278
278
|
* Date order was returned.
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { IAttributes as IConfirmPayActionAttributes } from '../action/interact/confirm/pay';
|
|
1
|
+
import { IAttributes as IConfirmPayActionAttributes, IPurpose as IConfirmPayPurpose } from '../action/interact/confirm/pay';
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export declare type
|
|
5
|
+
export declare type IPurpose = IConfirmPayPurpose & {
|
|
6
|
+
confirmationNumber: string;
|
|
7
|
+
};
|
|
8
|
+
export interface IData extends IConfirmPayActionAttributes {
|
|
9
|
+
purpose: IPurpose;
|
|
10
|
+
}
|
|
6
11
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
12
|
name: TaskName.ConfirmPayTransaction;
|
|
8
13
|
data: IData;
|
package/lib/task/sendOrder.d.ts
CHANGED
|
@@ -3,9 +3,12 @@ import { IExtendId } from '../autoGenerated';
|
|
|
3
3
|
import { IProject } from '../project';
|
|
4
4
|
import * as TaskFactory from '../task';
|
|
5
5
|
import { TaskName } from '../taskName';
|
|
6
|
+
export declare type IObject = SendOrderActionFactory.IObject & {
|
|
7
|
+
confirmationNumber: string;
|
|
8
|
+
};
|
|
6
9
|
export interface IData {
|
|
7
10
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
8
|
-
object:
|
|
11
|
+
object: IObject;
|
|
9
12
|
potentialActions?: SendOrderActionFactory.IPotentialActions;
|
|
10
13
|
}
|
|
11
14
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
@@ -13,6 +16,6 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
13
16
|
data: IData;
|
|
14
17
|
}
|
|
15
18
|
/**
|
|
16
|
-
*
|
|
19
|
+
* 注文配送タスク
|
|
17
20
|
*/
|
|
18
21
|
export declare type ITask = IExtendId<IAttributes>;
|