@chevre/factory 8.2.0-alpha.9 → 8.2.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/chevre/order.d.ts
CHANGED
|
@@ -352,16 +352,9 @@ export interface IOrder extends ISimpleOrder {
|
|
|
352
352
|
* Date order was returned.
|
|
353
353
|
*/
|
|
354
354
|
dateReturned?: Date;
|
|
355
|
-
/**
|
|
356
|
-
* The identifier property represents any kind of identifier for any kind of Thing
|
|
357
|
-
*/
|
|
358
|
-
identifier?: IIdentifier;
|
|
359
|
-
/**
|
|
360
|
-
* Was the offer accepted as a gift for someone other than the buyer.
|
|
361
|
-
*/
|
|
362
|
-
isGift?: boolean;
|
|
363
355
|
/**
|
|
364
356
|
* 注文名称
|
|
357
|
+
* 注文作成後に管理者によって編集可能
|
|
365
358
|
*/
|
|
366
359
|
name?: string;
|
|
367
360
|
orderedItem?: IOrderedItem[];
|
|
@@ -391,11 +384,6 @@ export interface IOrder extends ISimpleOrder {
|
|
|
391
384
|
* The party taking the order (e.g. Amazon.com is a merchant for many sellers). Also accepts a string (e.g. "Amazon.com").
|
|
392
385
|
*/
|
|
393
386
|
seller: ISeller;
|
|
394
|
-
/**
|
|
395
|
-
* URL (recommended for confirmation cards/ Search Answers)
|
|
396
|
-
* URL of the Order, typically a link to the merchant's website where the user can retrieve further details about an order.
|
|
397
|
-
*/
|
|
398
|
-
url?: string;
|
|
399
387
|
}
|
|
400
388
|
/**
|
|
401
389
|
* ソート条件
|
|
@@ -2,7 +2,7 @@ import { IAttributes as ISendEmailMessageActionAttributes } from '../action/tran
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import { IClientUser } from '../clientUser';
|
|
4
4
|
import { CreativeWorkType } from '../creativeWorkType';
|
|
5
|
-
import { ICustomer as IOrderCustomer, IBroker,
|
|
5
|
+
import { ICustomer as IOrderCustomer, IBroker, ISeller as IOrderSeller, IOrder } from '../order';
|
|
6
6
|
import { IProject } from '../project';
|
|
7
7
|
import { IAgent as IBaseAgent, IPassportBeforeStart, ISeller as IBaseSeller, ISearchConditions as IBaseSearchConditions, ISendEmailMessageParams, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../transaction';
|
|
8
8
|
import { TransactionType } from '../transactionType';
|
|
@@ -31,6 +31,10 @@ export interface IPaymentMethodByPaymentUrl {
|
|
|
31
31
|
export interface IObject {
|
|
32
32
|
broker?: Pick<IBroker, 'id' | 'typeOf'>;
|
|
33
33
|
customer?: ICustomerInObject;
|
|
34
|
+
/**
|
|
35
|
+
* passportによって決定するカスタマータイプ
|
|
36
|
+
*/
|
|
37
|
+
customerType?: string;
|
|
34
38
|
/**
|
|
35
39
|
* 確認番号
|
|
36
40
|
*/
|
|
@@ -99,14 +103,8 @@ export interface IPotentialActionsParams {
|
|
|
99
103
|
* 取引結果の注文パラメータ
|
|
100
104
|
*/
|
|
101
105
|
export interface IResultOrderParams {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
*/
|
|
105
|
-
identifier?: IOrderIdentifier;
|
|
106
|
-
/**
|
|
107
|
-
* 注文確認URLのカスタム指定
|
|
108
|
-
*/
|
|
109
|
-
url?: string;
|
|
106
|
+
identifier?: never;
|
|
107
|
+
url?: never;
|
|
110
108
|
}
|
|
111
109
|
/**
|
|
112
110
|
* 取引結果パラメータ
|
|
@@ -134,7 +132,10 @@ export interface IConfirmParams {
|
|
|
134
132
|
*/
|
|
135
133
|
result?: IResultParams;
|
|
136
134
|
}
|
|
137
|
-
export type IOrderAsResult = Pick<IOrder, 'confirmationNumber' | '
|
|
135
|
+
export type IOrderAsResult = Pick<IOrder, 'confirmationNumber' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'price' | 'priceCurrency' | 'typeOf'> & {
|
|
136
|
+
identifier?: never;
|
|
137
|
+
url?: never;
|
|
138
|
+
};
|
|
138
139
|
export interface IAuthorizeActionAsResult {
|
|
139
140
|
id: string;
|
|
140
141
|
}
|