@chevre/factory 9.0.0-alpha.1 → 9.0.0-alpha.3

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.
@@ -337,6 +337,9 @@ export interface ITicketType {
337
337
  category?: IOfferCategory;
338
338
  color?: string;
339
339
  description?: string | IMultilingualString;
340
+ /**
341
+ * 単価オファーID
342
+ */
340
343
  id?: string;
341
344
  identifier: string;
342
345
  name?: IMultilingualString;
@@ -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
  */
@@ -222,7 +222,9 @@ export type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicket
222
222
  * 注文オファーの価格仕様
223
223
  */
224
224
  export type ITicketPriceSpecification = Pick<ICompoundPriceSpecification<ITicketPriceComponent>, 'priceComponent' | 'priceCurrency' | 'typeOf' | 'valueAddedTaxIncluded'>;
225
- export type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'name'>;
225
+ export type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough'> & {
226
+ name?: never;
227
+ };
226
228
  export interface ICOAAcceptedOffer extends IOfferOptimized4acceptedOffer {
227
229
  /**
228
230
  * オファー対象アイテム
@@ -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, ISeller as IOrderSeller, IOrder } from '../order';
5
+ import { ICustomer as IOrderCustomer, ISeller as IOrderSeller, IOrder } from '../order';
6
6
  import { OrderStatus } from '../orderStatus';
7
7
  import { IProject } from '../project';
8
8
  import { IAgent as IBaseAgent, IPassportBeforeStart, ISeller as IBaseSeller, ISearchConditions as IBaseSearchConditions, ISendEmailMessageParams, IStartParams as IBaseStartParams, IAttributes as IBaseAttributes } from '../transaction';
@@ -30,7 +30,6 @@ export interface IPaymentMethodByPaymentUrl {
30
30
  paymentMethodId: string;
31
31
  }
32
32
  export interface IObject {
33
- broker?: Pick<IBroker, 'id' | 'typeOf'>;
34
33
  customer?: ICustomerInObject;
35
34
  /**
36
35
  * passportによって決定するカスタマータイプ
@@ -58,6 +57,7 @@ export interface IObject {
58
57
  identifier?: never;
59
58
  clientUser?: never;
60
59
  passport?: never;
60
+ broker?: never;
61
61
  }
62
62
  export type IClientUserBeforeStart = Pick<IClientUser, 'aud' | 'client_id' | 'exp' | 'iat' | 'iss' | 'jti' | 'sub' | 'token_use' | 'username'>;
63
63
  export interface IStartParamsWithoutDetail {
@@ -137,10 +137,12 @@ export interface IResult {
137
137
  /**
138
138
  * 注文
139
139
  * optional(2026-06-15~)
140
+ * @deprecated
140
141
  */
141
142
  order?: IOrderAsResult;
142
143
  /**
143
144
  * 取引確定時の同期的な注文コード発行に対応(2024-02-05~)
145
+ * @deprecated
144
146
  */
145
147
  code?: string;
146
148
  /**
@@ -149,6 +151,7 @@ export interface IResult {
149
151
  authorizeActions?: IAuthorizeActionAsResult[];
150
152
  /**
151
153
  * オファー数(2024-01-17~)
154
+ * @deprecated
152
155
  */
153
156
  numAcceptedOffers?: number;
154
157
  }
@@ -190,11 +193,23 @@ export interface ISearchConditions extends IBaseSearchConditions<TransactionType
190
193
  $eq?: string;
191
194
  };
192
195
  };
196
+ /**
197
+ * @deprecated 2026-06-16移行廃止予定なので使用しないこと
198
+ */
193
199
  result?: {
200
+ /**
201
+ * @deprecated 2026-06-16移行廃止予定なので使用しないこと
202
+ */
194
203
  order?: {
204
+ /**
205
+ * @deprecated 2026-06-16移行廃止予定なので使用しないこと
206
+ */
195
207
  confirmationNumber?: {
196
208
  $eq?: string;
197
209
  };
210
+ /**
211
+ * @deprecated 2026-06-16移行廃止予定なので使用しないこと
212
+ */
198
213
  orderNumbers?: string[];
199
214
  };
200
215
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "9.0.0-alpha.1",
3
+ "version": "9.0.0-alpha.3",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [