@chevre/factory 9.0.0-alpha.3 → 9.0.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,10 +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 {
|
|
6
|
-
import { OrderStatus } from '../orderStatus';
|
|
7
|
-
import { IProject } from '../project';
|
|
8
|
-
import { IAgent as IBaseAgent, IPassportBeforeStart, ISeller as IBaseSeller, ISearchConditions as IBaseSearchConditions, ISendEmailMessageParams, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../transaction';
|
|
5
|
+
import { IAgent as IBaseAgent, ISeller as IBaseSeller, ISearchConditions as IBaseSearchConditions, ISendEmailMessageParams, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../transaction';
|
|
9
6
|
import { TransactionType } from '../transactionType';
|
|
10
7
|
export interface IMemberOfPayload {
|
|
11
8
|
iss: string;
|
|
@@ -21,7 +18,6 @@ export type IAgent = IBaseAgent & {
|
|
|
21
18
|
memberOfToken?: string;
|
|
22
19
|
memberOfPayload?: never;
|
|
23
20
|
};
|
|
24
|
-
export type ICustomerInObject = Pick<IOrderCustomer, 'id' | 'identifier' | 'typeOf'>;
|
|
25
21
|
export interface IPaymentMethodByPaymentUrl {
|
|
26
22
|
/**
|
|
27
23
|
* 決済採用時に発行済の決済方法ID
|
|
@@ -30,7 +26,6 @@ export interface IPaymentMethodByPaymentUrl {
|
|
|
30
26
|
paymentMethodId: string;
|
|
31
27
|
}
|
|
32
28
|
export interface IObject {
|
|
33
|
-
customer?: ICustomerInObject;
|
|
34
29
|
/**
|
|
35
30
|
* passportによって決定するカスタマータイプ
|
|
36
31
|
*/
|
|
@@ -53,6 +48,7 @@ export interface IObject {
|
|
|
53
48
|
* 2026-06-15~
|
|
54
49
|
*/
|
|
55
50
|
orderDate?: Date;
|
|
51
|
+
customer?: never;
|
|
56
52
|
name?: never;
|
|
57
53
|
identifier?: never;
|
|
58
54
|
clientUser?: never;
|
|
@@ -60,20 +56,12 @@ export interface IObject {
|
|
|
60
56
|
broker?: never;
|
|
61
57
|
}
|
|
62
58
|
export type IClientUserBeforeStart = Pick<IClientUser, 'aud' | 'client_id' | 'exp' | 'iat' | 'iss' | 'jti' | 'sub' | 'token_use' | 'username'>;
|
|
63
|
-
export
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
seller: {
|
|
67
|
-
id: string;
|
|
59
|
+
export type ISeller = Pick<IBaseSeller, 'id' | 'typeOf'> & {
|
|
60
|
+
name: {
|
|
61
|
+
ja?: string;
|
|
68
62
|
};
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
customer?: ICustomerInObject;
|
|
72
|
-
passport?: IPassportBeforeStart;
|
|
73
|
-
name?: never;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
export type ISeller = IBaseSeller & Pick<IOrderSeller, 'additionalProperty'>;
|
|
63
|
+
additionalProperty?: never;
|
|
64
|
+
};
|
|
77
65
|
export interface IInstrument {
|
|
78
66
|
typeOf: CreativeWorkType.WebApplication;
|
|
79
67
|
/**
|
|
@@ -122,11 +110,6 @@ export interface IConfirmParams {
|
|
|
122
110
|
*/
|
|
123
111
|
potentialActions?: IPotentialActionsParams;
|
|
124
112
|
}
|
|
125
|
-
export type IOrderAsResult = Pick<IOrder, 'confirmationNumber' | 'orderDate' | 'orderNumber' | 'price' | 'priceCurrency' | 'typeOf'> & {
|
|
126
|
-
orderStatus: OrderStatus.OrderPaymentDue;
|
|
127
|
-
identifier?: never;
|
|
128
|
-
url?: never;
|
|
129
|
-
};
|
|
130
113
|
export interface IAuthorizeActionAsResult {
|
|
131
114
|
id: string;
|
|
132
115
|
}
|
|
@@ -134,12 +117,6 @@ export interface IAuthorizeActionAsResult {
|
|
|
134
117
|
* 取引結果
|
|
135
118
|
*/
|
|
136
119
|
export interface IResult {
|
|
137
|
-
/**
|
|
138
|
-
* 注文
|
|
139
|
-
* optional(2026-06-15~)
|
|
140
|
-
* @deprecated
|
|
141
|
-
*/
|
|
142
|
-
order?: IOrderAsResult;
|
|
143
120
|
/**
|
|
144
121
|
* 取引確定時の同期的な注文コード発行に対応(2024-02-05~)
|
|
145
122
|
* @deprecated
|
|
@@ -149,11 +126,8 @@ export interface IResult {
|
|
|
149
126
|
* 承認アクションID(2024-01-17~)
|
|
150
127
|
*/
|
|
151
128
|
authorizeActions?: IAuthorizeActionAsResult[];
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
* @deprecated
|
|
155
|
-
*/
|
|
156
|
-
numAcceptedOffers?: number;
|
|
129
|
+
order?: never;
|
|
130
|
+
numAcceptedOffers?: never;
|
|
157
131
|
}
|
|
158
132
|
/**
|
|
159
133
|
* エラー
|
|
@@ -193,24 +167,4 @@ export interface ISearchConditions extends IBaseSearchConditions<TransactionType
|
|
|
193
167
|
$eq?: string;
|
|
194
168
|
};
|
|
195
169
|
};
|
|
196
|
-
/**
|
|
197
|
-
* @deprecated 2026-06-16移行廃止予定なので使用しないこと
|
|
198
|
-
*/
|
|
199
|
-
result?: {
|
|
200
|
-
/**
|
|
201
|
-
* @deprecated 2026-06-16移行廃止予定なので使用しないこと
|
|
202
|
-
*/
|
|
203
|
-
order?: {
|
|
204
|
-
/**
|
|
205
|
-
* @deprecated 2026-06-16移行廃止予定なので使用しないこと
|
|
206
|
-
*/
|
|
207
|
-
confirmationNumber?: {
|
|
208
|
-
$eq?: string;
|
|
209
|
-
};
|
|
210
|
-
/**
|
|
211
|
-
* @deprecated 2026-06-16移行廃止予定なので使用しないこと
|
|
212
|
-
*/
|
|
213
|
-
orderNumbers?: string[];
|
|
214
|
-
};
|
|
215
|
-
};
|
|
216
170
|
}
|