@chevre/factory 4.215.0 → 4.218.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/factory/action/trade/pay.d.ts +9 -4
- package/lib/factory/action/trade/refund.d.ts +9 -0
- package/lib/factory/action/transfer/return/order.d.ts +1 -5
- package/lib/factory/action.d.ts +6 -1
- package/lib/factory/assetTransaction/moneyTransfer.d.ts +9 -9
- package/lib/factory/assetTransaction/pay.d.ts +5 -2
- package/lib/factory/assetTransaction/refund.d.ts +5 -4
- package/lib/factory/creativeWork/softwareApplication/webApplication.d.ts +4 -5
- package/lib/factory/order.d.ts +18 -3
- package/lib/factory/ownershipInfo.d.ts +43 -12
- package/lib/factory/person.d.ts +2 -1
- package/lib/factory/report/accountingReport.d.ts +4 -1
- package/lib/factory/seller.d.ts +1 -1
- package/lib/factory/transaction/placeOrder.d.ts +3 -1
- package/package.json +1 -1
|
@@ -7,14 +7,18 @@ import { AssetTransactionType } from '../../assetTransactionType';
|
|
|
7
7
|
import { IPaymentServiceOutput } from '../../invoice';
|
|
8
8
|
import { IMonetaryAmount } from '../../monetaryAmount';
|
|
9
9
|
import { OrderType } from '../../order';
|
|
10
|
+
import { OrganizationType } from '../../organizationType';
|
|
10
11
|
import { IMovieTicket } from '../../paymentMethod/paymentCard/movieTicket';
|
|
11
12
|
import { IPropertyValue } from '../../propertyValue';
|
|
12
13
|
import { ISeller } from '../../seller';
|
|
13
14
|
import { PaymentServiceType } from '../../service/paymentService';
|
|
14
15
|
import { TransactionType } from '../../transactionType';
|
|
15
16
|
import { IAttributes as IInformActionAttributes } from '../interact/inform';
|
|
16
|
-
export
|
|
17
|
-
|
|
17
|
+
export interface IAgent {
|
|
18
|
+
id: string;
|
|
19
|
+
typeOf: OrganizationType.Project;
|
|
20
|
+
}
|
|
21
|
+
export declare type IRecipient = Omit<ISeller, 'branchCode' | 'paymentAccepted'>;
|
|
18
22
|
export interface IOrderAsPayPurpose {
|
|
19
23
|
typeOf: OrderType.Order;
|
|
20
24
|
confirmationNumber?: string;
|
|
@@ -116,12 +120,13 @@ export interface IResult {
|
|
|
116
120
|
seatInfoSyncResult?: any;
|
|
117
121
|
}
|
|
118
122
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.PayAction, IObject, IResult> {
|
|
123
|
+
agent: IAgent;
|
|
119
124
|
instrument?: IInstrument;
|
|
120
125
|
potentialActions?: IPotentialActions;
|
|
121
126
|
purpose: IPurpose;
|
|
122
|
-
recipient
|
|
127
|
+
recipient: IRecipient;
|
|
123
128
|
}
|
|
124
129
|
/**
|
|
125
|
-
*
|
|
130
|
+
* 決済アクション
|
|
126
131
|
*/
|
|
127
132
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
+
import { ISeller } from '../../seller';
|
|
3
4
|
import { IAttributes as IInformActionAttributes } from '../interact/inform';
|
|
4
5
|
import { IPaymentService as IPaymentServiceOnPay, IPayPurpose } from './pay';
|
|
6
|
+
/**
|
|
7
|
+
* agentはSeller
|
|
8
|
+
*/
|
|
9
|
+
export interface IAgentAsSeller extends Omit<ISeller, 'branchCode' | 'paymentAccepted'> {
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export declare type IAgent = IAgentAsSeller | ActionFactory.IParticipant;
|
|
5
13
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
6
14
|
export declare type IPaymentService = IPaymentServiceOnPay & {
|
|
7
15
|
refundFee?: number;
|
|
@@ -14,6 +22,7 @@ export interface IPotentialActions {
|
|
|
14
22
|
}
|
|
15
23
|
export declare type IPurpose = IPayPurpose;
|
|
16
24
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.RefundAction, IObject, IResult> {
|
|
25
|
+
agent: IAgent;
|
|
17
26
|
recipient?: IRecipient;
|
|
18
27
|
purpose: IPurpose;
|
|
19
28
|
potentialActions?: IPotentialActions;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import * as OrderFactory from '../../../order';
|
|
3
|
-
import { OrganizationType } from '../../../organizationType';
|
|
4
3
|
import { IAttributes as IRefundActionAttributes } from '../../transfer/return/paymentMethod';
|
|
5
4
|
import { IAttributes as ICancelActionAttributes } from '../../transfer/return/reservation';
|
|
6
5
|
import * as ReturnActionFactory from '../return';
|
|
7
6
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
8
7
|
import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
|
|
9
8
|
import * as ReturnPointAwardActionFactory from './pointAward';
|
|
10
|
-
export
|
|
11
|
-
id: string;
|
|
12
|
-
typeOf: OrganizationType.Project;
|
|
13
|
-
}
|
|
9
|
+
export declare type IAgent = ActionFactory.IParticipant;
|
|
14
10
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
15
11
|
/**
|
|
16
12
|
* 返却対象は注文
|
package/lib/factory/action.d.ts
CHANGED
|
@@ -2,16 +2,21 @@ import { ActionStatusType } from './actionStatusType';
|
|
|
2
2
|
import { ActionType } from './actionType';
|
|
3
3
|
import { IExtendId } from './autoGenerated';
|
|
4
4
|
import { ICreativeWork as IWebApplication } from './creativeWork/softwareApplication/webApplication';
|
|
5
|
+
import { ICustomer } from './customer';
|
|
6
|
+
import { IMultilingualString } from './multilingualString';
|
|
5
7
|
import { IPerson } from './person';
|
|
6
8
|
import { IProject } from './project';
|
|
7
9
|
import { IPropertyValue } from './propertyValue';
|
|
8
10
|
import { ISeller } from './seller';
|
|
9
11
|
import { SortType } from './sortType';
|
|
12
|
+
export declare type ICustomerParticipant = ICustomer & {
|
|
13
|
+
name?: string | IMultilingualString;
|
|
14
|
+
};
|
|
10
15
|
/**
|
|
11
16
|
* アクションへの関係者インターフェース
|
|
12
17
|
* 継承先にて、インターフェースが強化される可能性あり
|
|
13
18
|
*/
|
|
14
|
-
export declare type IParticipant = IWebApplication | IPerson | ISeller | IProject;
|
|
19
|
+
export declare type IParticipant = IWebApplication | IPerson | ISeller | IProject | ICustomerParticipant;
|
|
15
20
|
/**
|
|
16
21
|
* アクション目的インターフェース
|
|
17
22
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IAttributes as IMoneyTransferActionAttributes, ILocation, IPendingTransaction, IRecipient as IMoneyTransferRecipient } from '../action/transfer/moneyTransfer';
|
|
1
|
+
import { IAgent as IMoneyTransferAgent, IAttributes as IMoneyTransferActionAttributes, ILocation, IPendingTransaction, IRecipient as IMoneyTransferRecipient } from '../action/transfer/moneyTransfer';
|
|
2
2
|
import * as TransactionFactory from '../assetTransaction';
|
|
3
3
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
4
4
|
import { IExtendId } from '../autoGenerated';
|
|
5
5
|
import { IMonetaryAmount } from '../monetaryAmount';
|
|
6
6
|
import { OrderType } from '../order';
|
|
7
7
|
import { PermitType } from '../permit';
|
|
8
|
-
export declare type IAgent =
|
|
8
|
+
export declare type IAgent = IMoneyTransferAgent;
|
|
9
9
|
export declare type IRecipient = IMoneyTransferRecipient;
|
|
10
10
|
export declare type IFromLocation = ILocation;
|
|
11
11
|
export declare type IToLocation = ILocation;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* ペイメントカード
|
|
14
14
|
*/
|
|
15
15
|
export interface IPaymentCard {
|
|
16
16
|
typeOf: PermitType;
|
|
@@ -29,7 +29,7 @@ export interface IPaymentCard {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare type ITokenizedPaymentCard = string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* 転送元としての注文
|
|
33
33
|
*/
|
|
34
34
|
export interface IOrderAsFromLocation {
|
|
35
35
|
typeOf: OrderType;
|
|
@@ -39,7 +39,7 @@ export interface IOrderAsFromLocation {
|
|
|
39
39
|
export declare type IFromLocationBeforeStart = IOrderAsFromLocation | IPaymentCard | ITokenizedPaymentCard;
|
|
40
40
|
export declare type IToLocationBeforeStart = IOrderAsFromLocation | IPaymentCard;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* 取引対象物
|
|
43
43
|
*/
|
|
44
44
|
export interface IObject {
|
|
45
45
|
/**
|
|
@@ -105,12 +105,12 @@ export interface IPotentialActions {
|
|
|
105
105
|
*/
|
|
106
106
|
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
107
107
|
}
|
|
108
|
-
export declare type ITransaction = IExtendId<IAttributes>;
|
|
109
|
-
/**
|
|
110
|
-
* 転送取引インターフェース
|
|
111
|
-
*/
|
|
112
108
|
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
113
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* 転送取引
|
|
112
|
+
*/
|
|
113
|
+
export declare type ITransaction = IExtendId<IAttributes>;
|
|
114
114
|
export interface ISearchConditions extends TransactionFactory.ISearchConditions<AssetTransactionType.MoneyTransfer> {
|
|
115
115
|
object?: {
|
|
116
116
|
fromLocation?: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as GMO from '@motionpicture/gmo-service';
|
|
2
|
-
import {
|
|
2
|
+
import { IParticipant } from '../action';
|
|
3
|
+
import { IAttributes as IPayActionAttributes, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient } from '../action/trade/pay';
|
|
3
4
|
import * as TransactionFactory from '../assetTransaction';
|
|
4
5
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
6
|
import { IExtendId } from '../autoGenerated';
|
|
@@ -9,13 +10,15 @@ import { IMovieTicket } from '../paymentMethod/paymentCard/movieTicket';
|
|
|
9
10
|
import { IOnPaymentStatusChanged } from '../project';
|
|
10
11
|
import { IPropertyValue } from '../propertyValue';
|
|
11
12
|
import { PaymentServiceType } from '../service/paymentService';
|
|
12
|
-
export declare type IAgent =
|
|
13
|
+
export declare type IAgent = IParticipant;
|
|
13
14
|
export declare type IRecipient = IPayRecipient;
|
|
14
15
|
export declare type IObjectWithoutDetail = IObject;
|
|
15
16
|
export declare type IStartParamsWithoutDetail = TransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObject> & {
|
|
17
|
+
recipient: IRecipient;
|
|
16
18
|
purpose?: IPayPurpose;
|
|
17
19
|
};
|
|
18
20
|
export interface IStartParams extends TransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObject> {
|
|
21
|
+
recipient: IRecipient;
|
|
19
22
|
}
|
|
20
23
|
export interface IPotentialActionsParams {
|
|
21
24
|
pay: {
|
|
@@ -4,8 +4,9 @@ import * as TransactionFactory from '../assetTransaction';
|
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import { IOnPaymentStatusChanged } from '../project';
|
|
7
|
+
import { ISeller } from '../seller';
|
|
7
8
|
import { PaymentServiceType } from '../service/paymentService';
|
|
8
|
-
export declare type IAgent =
|
|
9
|
+
export declare type IAgent = ISeller;
|
|
9
10
|
export declare type IRecipient = IRefundRecipient;
|
|
10
11
|
export interface IObjectWithoutDetail {
|
|
11
12
|
typeOf: PaymentServiceType;
|
|
@@ -25,7 +26,7 @@ export interface IPotentialActionsParams {
|
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
+
* 確定パラメーター
|
|
29
30
|
*/
|
|
30
31
|
export interface IConfirmParams {
|
|
31
32
|
id?: string;
|
|
@@ -37,7 +38,7 @@ export declare type IResult = any;
|
|
|
37
38
|
export declare type IError = any;
|
|
38
39
|
export declare type IAnyPaymentMethod = AvailablePaymentMethodType;
|
|
39
40
|
/**
|
|
40
|
-
*
|
|
41
|
+
* 取引対象物
|
|
41
42
|
*/
|
|
42
43
|
export interface IObject {
|
|
43
44
|
typeOf: PaymentServiceType;
|
|
@@ -57,7 +58,7 @@ export interface IPotentialActions {
|
|
|
57
58
|
}
|
|
58
59
|
export declare type ITransaction = IExtendId<IAttributes>;
|
|
59
60
|
/**
|
|
60
|
-
*
|
|
61
|
+
* 返金取引
|
|
61
62
|
*/
|
|
62
63
|
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
63
64
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import * as CreativeWorkFactory from '../../creativeWork';
|
|
2
2
|
import { CreativeWorkType } from '../../creativeWorkType';
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* ウェブアプリケーション
|
|
5
|
+
*/
|
|
6
|
+
export interface ICreativeWork extends CreativeWorkFactory.ICreativeWork {
|
|
4
7
|
typeOf: CreativeWorkType.WebApplication;
|
|
5
8
|
id: string;
|
|
6
9
|
}
|
|
7
|
-
/**
|
|
8
|
-
* ウェブアプリケーションインターフェース
|
|
9
|
-
*/
|
|
10
|
-
export declare type ICreativeWork = IAttributes & CreativeWorkFactory.ICreativeWork;
|
package/lib/factory/order.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ import { IPropertyValue } from './propertyValue';
|
|
|
21
21
|
import { IProgramMembershipUsedSearchConditions } from './reservation';
|
|
22
22
|
import * as EventReservationFactory from './reservation/event';
|
|
23
23
|
import { ReservationType } from './reservationType';
|
|
24
|
-
import { ISeller as ISellerOrganization } from './seller';
|
|
25
24
|
import { IServiceType } from './serviceType';
|
|
26
25
|
import { SortType } from './sortType';
|
|
27
26
|
import { IThing } from './thing';
|
|
@@ -129,13 +128,29 @@ export interface IAcceptedOffer<T extends IItemOffered> extends IOfferOptimized4
|
|
|
129
128
|
/**
|
|
130
129
|
* 販売者
|
|
131
130
|
*/
|
|
132
|
-
seller:
|
|
131
|
+
seller: {
|
|
132
|
+
project: {
|
|
133
|
+
id: string;
|
|
134
|
+
typeOf: OrganizationType.Project;
|
|
135
|
+
};
|
|
136
|
+
typeOf: OrganizationType.Corporation;
|
|
137
|
+
name?: string | IMultilingualString;
|
|
138
|
+
};
|
|
133
139
|
priceSpecification?: ITicketPriceSpecification;
|
|
134
140
|
}
|
|
135
141
|
/**
|
|
136
142
|
* 販売者
|
|
137
143
|
*/
|
|
138
|
-
export
|
|
144
|
+
export interface ISeller {
|
|
145
|
+
project: {
|
|
146
|
+
id: string;
|
|
147
|
+
typeOf: OrganizationType.Project;
|
|
148
|
+
};
|
|
149
|
+
id: string;
|
|
150
|
+
typeOf: OrganizationType.Corporation;
|
|
151
|
+
name?: string | IMultilingualString;
|
|
152
|
+
url?: string;
|
|
153
|
+
}
|
|
139
154
|
/**
|
|
140
155
|
* ウェブアプリケーションとしてのカスタマー
|
|
141
156
|
*/
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreativeWorkType } from './creativeWorkType';
|
|
2
|
+
import { OrganizationType } from './organizationType';
|
|
2
3
|
import * as PermitFactory from './permit';
|
|
4
|
+
import { IMemberOf } from './person';
|
|
5
|
+
import { PersonType } from './personType';
|
|
3
6
|
import * as ProductFactory from './product';
|
|
4
7
|
import { IProject } from './project';
|
|
8
|
+
import { IPropertyValue } from './propertyValue';
|
|
5
9
|
import { IReservation as IEventReservation } from './reservation/event';
|
|
6
10
|
import { ReservationType } from './reservationType';
|
|
7
|
-
import { ISeller } from './seller';
|
|
8
11
|
import * as WebAPIFactory from './service/webAPI';
|
|
9
12
|
import { SortType } from './sortType';
|
|
10
13
|
export declare type IBookingService = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
11
14
|
/**
|
|
12
|
-
*
|
|
15
|
+
* 予約
|
|
13
16
|
*/
|
|
14
17
|
export interface IReservation {
|
|
15
18
|
typeOf: ReservationType.EventReservation;
|
|
@@ -32,21 +35,49 @@ export interface IReservation {
|
|
|
32
35
|
export declare type IReservationWithDetail = IReservation & IEventReservation;
|
|
33
36
|
export declare type IPermit = PermitFactory.IPermit;
|
|
34
37
|
/**
|
|
35
|
-
*
|
|
38
|
+
* 所有対象物 (Product or Service)
|
|
36
39
|
*/
|
|
37
40
|
export declare type IGood = IReservation | IPermit;
|
|
38
41
|
/**
|
|
39
|
-
*
|
|
42
|
+
* 所有対象物(対象物詳細有)
|
|
40
43
|
*/
|
|
41
44
|
export declare type IGoodWithDetail = IReservationWithDetail | IPermit;
|
|
42
45
|
/**
|
|
43
|
-
*
|
|
46
|
+
* 所有者
|
|
44
47
|
*/
|
|
45
|
-
export
|
|
46
|
-
|
|
48
|
+
export interface IOwnerAsOrganization {
|
|
49
|
+
typeOf: OrganizationType.Organization;
|
|
50
|
+
id: string;
|
|
51
|
+
project: {
|
|
52
|
+
id: string;
|
|
53
|
+
typeOf: OrganizationType.Project;
|
|
54
|
+
};
|
|
55
|
+
identifier?: IPropertyValue<string>[];
|
|
56
|
+
}
|
|
57
|
+
export interface IOwnerAsPerson {
|
|
58
|
+
typeOf: PersonType;
|
|
59
|
+
id: string;
|
|
60
|
+
identifier?: IPropertyValue<string>[];
|
|
61
|
+
memberOf?: IMemberOf;
|
|
62
|
+
}
|
|
63
|
+
export interface IOwnerAsWebApplication {
|
|
64
|
+
typeOf: CreativeWorkType.WebApplication;
|
|
65
|
+
id: string;
|
|
66
|
+
identifier?: IPropertyValue<string>[];
|
|
67
|
+
}
|
|
68
|
+
export declare type IOwner = IOwnerAsOrganization | IOwnerAsPerson | IOwnerAsWebApplication;
|
|
69
|
+
export interface IAcquiredFrom {
|
|
70
|
+
project: {
|
|
71
|
+
id: string;
|
|
72
|
+
typeOf: OrganizationType.Project;
|
|
73
|
+
};
|
|
74
|
+
id: string;
|
|
75
|
+
typeOf: OrganizationType.Corporation;
|
|
76
|
+
name: string;
|
|
77
|
+
}
|
|
47
78
|
export declare type OwnershipInfoType = 'OwnershipInfo';
|
|
48
79
|
/**
|
|
49
|
-
*
|
|
80
|
+
* 所有権
|
|
50
81
|
*/
|
|
51
82
|
export interface IOwnershipInfo<T extends IGood | IGoodWithDetail> {
|
|
52
83
|
project: IProject;
|
|
@@ -84,7 +115,7 @@ export interface IOwnershipInfo<T extends IGood | IGoodWithDetail> {
|
|
|
84
115
|
typeOfGood: T;
|
|
85
116
|
}
|
|
86
117
|
/**
|
|
87
|
-
*
|
|
118
|
+
* ソート条件
|
|
88
119
|
*/
|
|
89
120
|
export interface ISortOrder {
|
|
90
121
|
/**
|
|
@@ -93,7 +124,7 @@ export interface ISortOrder {
|
|
|
93
124
|
ownedFrom?: SortType;
|
|
94
125
|
}
|
|
95
126
|
/**
|
|
96
|
-
*
|
|
127
|
+
* 所有対象物検索条件
|
|
97
128
|
*/
|
|
98
129
|
export interface ITypeOfGoodSearchConditions {
|
|
99
130
|
typeOf?: string | {
|
|
@@ -117,7 +148,7 @@ export interface ITypeOfGoodSearchConditions {
|
|
|
117
148
|
};
|
|
118
149
|
}
|
|
119
150
|
/**
|
|
120
|
-
*
|
|
151
|
+
* 所有権検索条件
|
|
121
152
|
*/
|
|
122
153
|
export interface ISearchConditions {
|
|
123
154
|
limit?: number;
|
package/lib/factory/person.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import * as ThingFactory from './thing';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare type IAdditionalProperty = IPropertyValue<string>[];
|
|
9
9
|
export import IIdentifier = ThingFactory.IIdentifier;
|
|
10
|
+
export declare type IMemberOf = IProgramMembership;
|
|
10
11
|
/**
|
|
11
12
|
* プロフィールインターフェース
|
|
12
13
|
*/
|
|
@@ -53,6 +54,6 @@ export declare type IPerson = IProfile & {
|
|
|
53
54
|
/**
|
|
54
55
|
* An Organization (or ProgramMembership) to which this Person or Organization belongs.
|
|
55
56
|
*/
|
|
56
|
-
memberOf?:
|
|
57
|
+
memberOf?: IMemberOf;
|
|
57
58
|
typeOf: PersonType;
|
|
58
59
|
};
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { IAction as IPayAction } from '../action/trade/pay';
|
|
2
2
|
import { IAction as IRefundAction } from '../action/trade/refund';
|
|
3
3
|
import { IOrder } from '../order';
|
|
4
|
-
export declare type
|
|
4
|
+
export declare type IExpludedActionAttributes = 'additionalProperty' | 'agent' | 'description' | 'error' | 'identifier' | 'instrument' | 'potentialActions' | 'recipient' | 'result';
|
|
5
|
+
export declare type IOptimizedPayAction = Omit<IPayAction, IExpludedActionAttributes>;
|
|
6
|
+
export declare type IOptimizedRefundAction = Omit<IRefundAction, IExpludedActionAttributes>;
|
|
7
|
+
export declare type IAction = IOptimizedPayAction | IOptimizedRefundAction;
|
|
5
8
|
/**
|
|
6
9
|
* 経理レポートインターフェース
|
|
7
10
|
*/
|
package/lib/factory/seller.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export interface ISeller extends IOrganization {
|
|
|
25
25
|
* A pointer to products or services offered by the organization or person.
|
|
26
26
|
*/
|
|
27
27
|
paymentAccepted?: IPaymentAccepted[];
|
|
28
|
-
typeOf: OrganizationType;
|
|
28
|
+
typeOf: OrganizationType.Corporation;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* ソート条件インターフェース
|
|
@@ -11,7 +11,6 @@ import { IInformParams, IProject } from '../project';
|
|
|
11
11
|
import * as WebAPIFactory from '../service/webAPI';
|
|
12
12
|
import * as TransactionFactory from '../transaction';
|
|
13
13
|
import { TransactionType } from '../transactionType';
|
|
14
|
-
export import ISeller = TransactionFactory.ISeller;
|
|
15
14
|
/**
|
|
16
15
|
* 取引人インターフェース
|
|
17
16
|
*/
|
|
@@ -91,6 +90,9 @@ export interface IStartParamsWithoutDetail {
|
|
|
91
90
|
name?: string;
|
|
92
91
|
};
|
|
93
92
|
}
|
|
93
|
+
export interface ISeller extends TransactionFactory.ISeller {
|
|
94
|
+
id: string;
|
|
95
|
+
}
|
|
94
96
|
/**
|
|
95
97
|
* 取引開始パラメーターインターフェース
|
|
96
98
|
*/
|