@chevre/factory 4.276.0-alpha.0 → 4.276.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.
|
@@ -4,6 +4,7 @@ import * as ActionFactory from '../../action';
|
|
|
4
4
|
import { IAttributes as IReturnOrderActionAttributes } from '../../action/transfer/return/order';
|
|
5
5
|
import { ActionType } from '../../actionType';
|
|
6
6
|
import { AssetTransactionType } from '../../assetTransactionType';
|
|
7
|
+
import { CreativeWorkType } from '../../creativeWorkType';
|
|
7
8
|
import { IPaymentServiceOutput, ITotalPaymentDue } from '../../invoice';
|
|
8
9
|
import { OrderType } from '../../order';
|
|
9
10
|
import { IMovieTicket } from '../../paymentMethod/paymentCard/movieTicket';
|
|
@@ -11,7 +12,7 @@ import { IPropertyValue } from '../../propertyValue';
|
|
|
11
12
|
import { PaymentServiceType } from '../../service/paymentService';
|
|
12
13
|
import { TransactionType } from '../../transactionType';
|
|
13
14
|
import { IAttributes as IInformActionAttributes } from '../interact/inform';
|
|
14
|
-
export
|
|
15
|
+
export import IAgent = ActionFactory.IParticipantAsProject;
|
|
15
16
|
export import IRecipient = ActionFactory.IParticipantAsSeller;
|
|
16
17
|
export interface IOrderAsPayPurpose {
|
|
17
18
|
typeOf: OrderType.Order;
|
|
@@ -114,12 +115,20 @@ export interface IResult {
|
|
|
114
115
|
creditCardSales?: ICreditCardSales[];
|
|
115
116
|
seatInfoSyncResult?: any;
|
|
116
117
|
}
|
|
117
|
-
export interface
|
|
118
|
+
export interface ILocation {
|
|
119
|
+
typeOf: CreativeWorkType.WebApplication;
|
|
120
|
+
/**
|
|
121
|
+
* アプリケーションID
|
|
122
|
+
*/
|
|
123
|
+
id: string;
|
|
124
|
+
}
|
|
125
|
+
export interface IAttributes extends Omit<ActionFactory.IAttributes<ActionType.PayAction, IObject, IResult>, 'description' | 'identifier' | 'location'> {
|
|
118
126
|
agent: IAgent;
|
|
119
127
|
instrument?: IInstrument;
|
|
120
128
|
potentialActions?: IPotentialActions;
|
|
121
129
|
purpose: IPurpose;
|
|
122
130
|
recipient: IRecipient;
|
|
131
|
+
location?: ILocation;
|
|
123
132
|
}
|
|
124
133
|
/**
|
|
125
134
|
* 決済アクション
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as GMO from '@motionpicture/gmo-service';
|
|
2
|
-
import { IAttributes as IPayActionAttributes, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient, ITotalPaymentDue } from '../action/trade/pay';
|
|
2
|
+
import { IAttributes as IPayActionAttributes, ILocation, IOrderAsPayPurpose, IPayPurpose, IPendingTransaction, IRecipient as IPayRecipient, ITotalPaymentDue } from '../action/trade/pay';
|
|
3
3
|
import * as AssetTransactionFactory from '../assetTransaction';
|
|
4
4
|
import { AssetTransactionType } from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
@@ -96,10 +96,12 @@ export interface IObject {
|
|
|
96
96
|
}
|
|
97
97
|
export declare type IObjectWithoutDetail = Pick<IObject, 'typeOf' | 'id' | 'paymentMethod'>;
|
|
98
98
|
export declare type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObjectWithoutDetail> & {
|
|
99
|
+
location?: ILocation;
|
|
99
100
|
recipient: IRecipient;
|
|
100
101
|
purpose?: IPayPurpose;
|
|
101
102
|
};
|
|
102
103
|
export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObject> {
|
|
104
|
+
location?: ILocation;
|
|
103
105
|
recipient: IRecipient;
|
|
104
106
|
}
|
|
105
107
|
export interface IPotentialActions {
|