@chevre/factory 4.276.0 → 4.277.0-alpha.1
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 +7 -4
- package/lib/place/seat.d.ts +8 -6
- package/package.json +1 -1
package/lib/order.d.ts
CHANGED
|
@@ -177,21 +177,23 @@ export interface ISeller {
|
|
|
177
177
|
/**
|
|
178
178
|
* ウェブアプリケーションとしてのカスタマー
|
|
179
179
|
*/
|
|
180
|
-
export declare type IWebApplicationCustomer = IWebApplication & IProfile;
|
|
180
|
+
export declare type IWebApplicationCustomer = Pick<IWebApplication, 'id' | 'typeOf'> & IProfile;
|
|
181
181
|
/**
|
|
182
182
|
* 顧客組織としてのカスタマー
|
|
183
183
|
*/
|
|
184
|
-
export declare type IOrganizationCustomer = ICustomerOrganization & IProfile;
|
|
184
|
+
export declare type IOrganizationCustomer = Pick<ICustomerOrganization, 'id' | 'typeOf' | 'project'> & IProfile;
|
|
185
|
+
export declare type IPersonCustomer = Pick<IPerson, 'id' | 'typeOf' | 'memberOf'> & IProfile;
|
|
185
186
|
/**
|
|
186
187
|
* カスタマー
|
|
187
188
|
*/
|
|
188
|
-
export declare type ICustomer =
|
|
189
|
+
export declare type ICustomer = IPersonCustomer | IWebApplicationCustomer | IOrganizationCustomer;
|
|
189
190
|
export declare type IBroker = IPerson;
|
|
190
191
|
/**
|
|
191
192
|
* 返品者
|
|
192
193
|
*/
|
|
193
194
|
export declare type IReturner = IParticipant;
|
|
194
195
|
export declare type IIdentifier = IPropertyValue<string>[];
|
|
196
|
+
export declare type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf' | 'name'>;
|
|
195
197
|
export interface ISimpleOrder extends Pick<IThing, 'name'> {
|
|
196
198
|
/**
|
|
197
199
|
* object type
|
|
@@ -204,7 +206,7 @@ export interface ISimpleOrder extends Pick<IThing, 'name'> {
|
|
|
204
206
|
/**
|
|
205
207
|
* Party placing the order.
|
|
206
208
|
*/
|
|
207
|
-
customer:
|
|
209
|
+
customer: ISimpleCustomer;
|
|
208
210
|
/**
|
|
209
211
|
* A number that confirms the given order or payment has been received.
|
|
210
212
|
*/
|
|
@@ -274,6 +276,7 @@ export interface IOrder extends ISimpleOrder {
|
|
|
274
276
|
* In most cases a broker never acquires or releases ownership of a product or service involved in an exchange.
|
|
275
277
|
*/
|
|
276
278
|
broker?: IBroker;
|
|
279
|
+
customer: ICustomer;
|
|
277
280
|
/**
|
|
278
281
|
* Date order was returned.
|
|
279
282
|
*/
|
package/lib/place/seat.d.ts
CHANGED
|
@@ -6,26 +6,28 @@ import { PlaceType } from '../placeType';
|
|
|
6
6
|
import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
|
|
7
7
|
import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* 座席に対する価格構成要素
|
|
10
10
|
*/
|
|
11
11
|
export declare type IPriceComponent = ICategoryCodeChargeSpecification;
|
|
12
12
|
/**
|
|
13
13
|
* 座席に対する価格仕様
|
|
14
|
+
* 最適化(2022-11-15~)
|
|
14
15
|
*/
|
|
15
|
-
export declare type IPriceSpecification = ICompoundPriceSpecification<IPriceComponent>;
|
|
16
|
+
export declare type IPriceSpecification = Pick<ICompoundPriceSpecification<IPriceComponent>, 'typeOf' | 'priceComponent'>;
|
|
16
17
|
/**
|
|
17
|
-
*
|
|
18
|
+
* 座席オファー
|
|
19
|
+
* 最適化(2022-11-15~)
|
|
18
20
|
*/
|
|
19
|
-
export interface IOffer extends
|
|
21
|
+
export interface IOffer extends Pick<OfferFactory.IOffer, 'typeOf'> {
|
|
20
22
|
availability: ItemAvailability;
|
|
21
23
|
priceSpecification?: IPriceSpecification;
|
|
22
24
|
}
|
|
23
25
|
/**
|
|
24
|
-
*
|
|
26
|
+
* 座席タイプ
|
|
25
27
|
*/
|
|
26
28
|
export declare type ISeatingType = string | string[];
|
|
27
29
|
/**
|
|
28
|
-
*
|
|
30
|
+
* 座席
|
|
29
31
|
*/
|
|
30
32
|
export interface IPlace extends Pick<PlaceFactory.IPlace, 'project' | 'typeOf' | 'branchCode' | 'containedInPlace' | 'additionalProperty' | 'name'> {
|
|
31
33
|
typeOf: PlaceType.Seat;
|