@chevre/factory 9.0.0-alpha.2 → 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.
package/lib/chevre/invoice.d.ts
CHANGED
|
@@ -72,20 +72,6 @@ export interface IInvoice {
|
|
|
72
72
|
* The identifier for the account the payment will be applied to.
|
|
73
73
|
*/
|
|
74
74
|
accountId?: string;
|
|
75
|
-
/**
|
|
76
|
-
* The time interval used to compute the invoice.
|
|
77
|
-
*/
|
|
78
|
-
billingPeriod?: string;
|
|
79
|
-
/**
|
|
80
|
-
* An entity that arranges for an exchange between a buyer and a seller.
|
|
81
|
-
* In most cases a broker never acquires or releases ownership of a product or service involved in an exchange.
|
|
82
|
-
* If it is not clear whether an entity is a broker, seller, or buyer, the latter two terms are preferred. Supersedes bookingAgent.
|
|
83
|
-
*/
|
|
84
|
-
broker?: IBroker;
|
|
85
|
-
/**
|
|
86
|
-
* A category for the item. Greater signs or slashes can be used to informally indicate a category hierarchy.
|
|
87
|
-
*/
|
|
88
|
-
category?: string;
|
|
89
75
|
/**
|
|
90
76
|
* A number that confirms the given order or payment has been received.
|
|
91
77
|
*/
|
|
@@ -119,13 +105,6 @@ export interface IInvoice {
|
|
|
119
105
|
* A provider may also serve as the seller. Supersedes carrier.
|
|
120
106
|
*/
|
|
121
107
|
provider?: IProvider;
|
|
122
|
-
/**
|
|
123
|
-
* The Order(s) related to this Invoice. One or more Orders may be combined into a single Invoice.
|
|
124
|
-
*/
|
|
125
|
-
/**
|
|
126
|
-
* The date the invoice is scheduled to be paid.
|
|
127
|
-
*/
|
|
128
|
-
scheduledPaymentDate?: Date;
|
|
129
108
|
/**
|
|
130
109
|
* The total amount due.
|
|
131
110
|
*/
|
|
@@ -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,8 +26,6 @@ export interface IPaymentMethodByPaymentUrl {
|
|
|
30
26
|
paymentMethodId: string;
|
|
31
27
|
}
|
|
32
28
|
export interface IObject {
|
|
33
|
-
broker?: Pick<IBroker, 'id' | 'typeOf'>;
|
|
34
|
-
customer?: ICustomerInObject;
|
|
35
29
|
/**
|
|
36
30
|
* passportによって決定するカスタマータイプ
|
|
37
31
|
*/
|
|
@@ -54,26 +48,20 @@ export interface IObject {
|
|
|
54
48
|
* 2026-06-15~
|
|
55
49
|
*/
|
|
56
50
|
orderDate?: Date;
|
|
51
|
+
customer?: never;
|
|
57
52
|
name?: never;
|
|
58
53
|
identifier?: never;
|
|
59
54
|
clientUser?: never;
|
|
60
55
|
passport?: never;
|
|
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
|
}
|