@chevre/factory 4.277.0-alpha.0 → 4.277.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.
|
@@ -5,7 +5,7 @@ import * as ReturnActionFactory from '../return';
|
|
|
5
5
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
6
6
|
import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
|
|
7
7
|
import * as ReturnPointAwardActionFactory from './pointAward';
|
|
8
|
-
export declare type IAgent =
|
|
8
|
+
export declare type IAgent = OrderFactory.IParticipantAsReturner;
|
|
9
9
|
export declare type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
10
10
|
/**
|
|
11
11
|
* 返却対象は注文
|
package/lib/order.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from './action';
|
|
2
2
|
import { IPaymentService, ITotalPaymentDue } from './action/trade/pay';
|
|
3
3
|
import { IAmount as IMoneyTransferAmount, IPaymentCard as IPaymentCardAsMoneyTransferToLocation } from './action/transfer/moneyTransfer';
|
|
4
4
|
import { ActionType } from './actionType';
|
|
@@ -166,10 +166,6 @@ export interface IAcceptedOffer<T extends IItemOffered> extends IOfferOptimized4
|
|
|
166
166
|
* 販売者
|
|
167
167
|
*/
|
|
168
168
|
export interface ISeller {
|
|
169
|
-
project: {
|
|
170
|
-
id: string;
|
|
171
|
-
typeOf: OrganizationType.Project;
|
|
172
|
-
};
|
|
173
169
|
id: string;
|
|
174
170
|
typeOf: OrganizationType.Corporation;
|
|
175
171
|
name: string;
|
|
@@ -181,17 +177,18 @@ export declare type IWebApplicationCustomer = Pick<IWebApplication, 'id' | 'type
|
|
|
181
177
|
/**
|
|
182
178
|
* 顧客組織としてのカスタマー
|
|
183
179
|
*/
|
|
184
|
-
export declare type IOrganizationCustomer = Pick<ICustomerOrganization, 'id' | 'typeOf'
|
|
180
|
+
export declare type IOrganizationCustomer = Pick<ICustomerOrganization, 'id' | 'typeOf'> & IProfile;
|
|
185
181
|
export declare type IPersonCustomer = Pick<IPerson, 'id' | 'typeOf' | 'memberOf'> & IProfile;
|
|
186
182
|
/**
|
|
187
183
|
* カスタマー
|
|
188
184
|
*/
|
|
189
185
|
export declare type ICustomer = IPersonCustomer | IWebApplicationCustomer | IOrganizationCustomer;
|
|
190
|
-
export declare type IBroker = IPerson
|
|
186
|
+
export declare type IBroker = Pick<IPerson, 'id' | 'identifier' | 'typeOf'>;
|
|
191
187
|
/**
|
|
192
188
|
* 返品者
|
|
193
189
|
*/
|
|
194
|
-
export declare type
|
|
190
|
+
export declare type IParticipantAsReturner = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
|
|
191
|
+
export declare type IReturner = Pick<IParticipantAsReturner, 'id' | 'typeOf'>;
|
|
195
192
|
export declare type IIdentifier = IPropertyValue<string>[];
|
|
196
193
|
export declare type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf' | 'name'>;
|
|
197
194
|
export interface ISimpleOrder extends Pick<IThing, 'name'> {
|
package/lib/ownershipInfo.d.ts
CHANGED
|
@@ -61,10 +61,6 @@ export interface IOwnerAsWebApplication {
|
|
|
61
61
|
}
|
|
62
62
|
export declare type IOwner = IOwnerAsOrganization | IOwnerAsPerson | IOwnerAsWebApplication;
|
|
63
63
|
export interface IAcquiredFrom {
|
|
64
|
-
project: {
|
|
65
|
-
id: string;
|
|
66
|
-
typeOf: OrganizationType.Project;
|
|
67
|
-
};
|
|
68
64
|
id: string;
|
|
69
65
|
typeOf: OrganizationType.Corporation;
|
|
70
66
|
name: string;
|
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;
|
package/lib/transaction.d.ts
CHANGED
|
@@ -10,10 +10,10 @@ import { SortType } from './sortType';
|
|
|
10
10
|
import { TransactionStatusType } from './transactionStatusType';
|
|
11
11
|
import { TransactionTasksExportationStatus } from './transactionTasksExportationStatus';
|
|
12
12
|
import { TransactionType } from './transactionType';
|
|
13
|
-
export interface IAgentAsWebApplication extends IWebApplicationAttributes {
|
|
13
|
+
export interface IAgentAsWebApplication extends Pick<IWebApplicationAttributes, 'id' | 'identifier' | 'typeOf'> {
|
|
14
14
|
name?: string;
|
|
15
15
|
}
|
|
16
|
-
export interface IAgentAsPerson extends IPersonAttributes {
|
|
16
|
+
export interface IAgentAsPerson extends Pick<IPersonAttributes, 'id' | 'identifier' | 'memberOf' | 'typeOf'> {
|
|
17
17
|
name?: string;
|
|
18
18
|
}
|
|
19
19
|
export declare type IAgent = IAgentAsWebApplication | IAgentAsPerson;
|