@chevre/factory 4.234.0 → 4.235.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.
@@ -3,12 +3,12 @@ import { ActionType } from '../../../actionType';
3
3
  import { TransactionType } from '../../../transactionType';
4
4
  import * as AuthorizeActionFactory from '../../authorize';
5
5
  export declare type IAgent = ActionFactory.IParticipantAsSeller;
6
- export declare type IRecipient = ActionFactory.IParticipant;
6
+ export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
7
7
  export declare enum ObjectType {
8
8
  PointAward = "PointAward"
9
9
  }
10
10
  /**
11
- * オーソリ対象インターフェース
11
+ * オーソリ対象
12
12
  */
13
13
  export interface IObject {
14
14
  typeOf: ObjectType;
@@ -35,7 +35,7 @@ export interface IPurpose {
35
35
  }
36
36
  export declare type IError = any;
37
37
  /**
38
- * ポイントインセンティブ承認アクション属性インターフェース
38
+ * ポイントインセンティブ承認アクション属性
39
39
  */
40
40
  export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject, IResult> {
41
41
  typeOf: ActionType.AuthorizeAction;
@@ -45,7 +45,7 @@ export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject,
45
45
  purpose: IPurpose;
46
46
  }
47
47
  /**
48
- * ポイントインセンティブ承認アクションインターフェース
48
+ * ポイントインセンティブ承認アクション
49
49
  * 注文取引のインセンティブとしてポイントを付与する場合に使用されます。
50
50
  */
51
51
  export declare type IAction = ActionFactory.IAction<IAttributes>;
@@ -6,8 +6,8 @@ import * as OrderFactory from '../../../order';
6
6
  import { PriceCurrency } from '../../../priceCurrency';
7
7
  import { TransactionType } from '../../../transactionType';
8
8
  import * as AuthorizeActionFactory from '../../authorize';
9
- export declare type IAgent = ActionFactory.IParticipant;
10
- export declare type IRecipient = ActionFactory.IParticipant;
9
+ export declare type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson | ActionFactory.IParticipantAsSeller;
10
+ export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
11
11
  export declare type IRequestBody = any;
12
12
  export declare type IResponseBody = MoneyTransferTransactionFactory.ITransaction;
13
13
  export import IPendingTransaction = OrderFactory.IMoneyTransferPendingTransaction;
@@ -10,7 +10,7 @@ import { ISeller } from '../../../seller';
10
10
  import { TransactionType } from '../../../transactionType';
11
11
  import * as AuthorizeActionFactory from '../../authorize';
12
12
  export declare type IAgent = ActionFactory.IParticipantAsSeller;
13
- export declare type IRecipient = ActionFactory.IParticipant;
13
+ export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
14
14
  export declare type IService = IProduct;
15
15
  export declare type IAcceptedOfferWithoutDetail = RegisterServiceTransactionFactory.IAcceptedOfferWithoutDetail;
16
16
  export interface IAcceptedOffer extends Omit<IOffer, 'addOn' | 'price' | 'availability' | 'availableAtOrFrom'> {
@@ -12,7 +12,7 @@ import * as WebAPIFactory from '../../../service/webAPI';
12
12
  import { TransactionType } from '../../../transactionType';
13
13
  import * as AuthorizeActionFactory from '../../authorize';
14
14
  export declare type IAgent = ActionFactory.IParticipantAsSeller;
15
- export declare type IRecipient = ActionFactory.IParticipant;
15
+ export declare type IRecipient = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
16
16
  export declare enum ObjectType {
17
17
  SeatReservation = "SeatReservation"
18
18
  }
@@ -87,7 +87,7 @@ export interface IPurpose {
87
87
  */
88
88
  export declare type IError = any;
89
89
  /**
90
- * 座席予約承認アクションインターフェース
90
+ * 座席予約承認アクション
91
91
  */
92
92
  export interface IAttributes<T extends WebAPIFactory.Identifier> extends AuthorizeActionFactory.IAttributes<IObject<T>, IResult<T>> {
93
93
  typeOf: ActionType.AuthorizeAction;
@@ -12,7 +12,7 @@ import { IPropertyValue } from '../../../propertyValue';
12
12
  import { PaymentServiceType } from '../../../service/paymentService';
13
13
  import { TransactionType } from '../../../transactionType';
14
14
  import * as AuthorizeActionFactory from '../../authorize';
15
- export declare type IAgent = ActionFactory.IParticipant;
15
+ export declare type IAgent = ActionFactory.IParticipantAsWebApplication | ActionFactory.IParticipantAsPerson;
16
16
  export declare type IRecipient = ActionFactory.IParticipantAsSeller;
17
17
  export declare enum ResultType {
18
18
  Payment = "Payment"
@@ -22,7 +22,7 @@ export declare enum ResultType {
22
22
  */
23
23
  export declare type IAnyPaymentMethod = string;
24
24
  /**
25
- * 進行中取引インターフェース
25
+ * 進行中取引
26
26
  */
27
27
  export interface IObjectPendingTransaction {
28
28
  typeOf: AssetTransactionType.MoneyTransfer;
@@ -33,7 +33,7 @@ export declare type IPaymentCard = MoneyTransferActionFactory.IPaymentCard;
33
33
  export import ITokenizedPaymentCard = PayTransactionFactory.ITokenizedPaymentCard;
34
34
  export import IFromLocation = PayTransactionFactory.IFromLocation;
35
35
  /**
36
- * 転送先インターフェース
36
+ * 転送先
37
37
  */
38
38
  export declare type IToLocation = IPaymentCard;
39
39
  export import IPurchaseNumberAuthResult = CheckMovieTicketActionFactory.IPurchaseNumberAuthResult;
@@ -41,12 +41,12 @@ export import IUnauthorizedCardOfMember = CreditCardFactory.IUnauthorizedCardOfM
41
41
  export import IUncheckedCardRaw = CreditCardFactory.IUncheckedCardRaw;
42
42
  export import IUncheckedCardTokenized = CreditCardFactory.IUncheckedCardTokenized;
43
43
  /**
44
- * クレジットカード決済承認アクションに必要なクレジットカード情報インターフェース
44
+ * クレジットカード決済承認アクションに必要なクレジットカード情報
45
45
  */
46
46
  export declare type ICreditCard = IUncheckedCardRaw | IUncheckedCardTokenized | IUnauthorizedCardOfMember;
47
47
  export import IMovieTicket = MovieTicketFactory.IMovieTicket;
48
48
  /**
49
- * 承認対象インターフェース
49
+ * 承認対象
50
50
  */
51
51
  export interface IObject {
52
52
  /**
@@ -189,9 +189,7 @@ export interface IPurpose {
189
189
  id: string;
190
190
  }
191
191
  export declare enum ServiceIdentifier {
192
- Chevre = "Chevre",
193
- GMO = "GMO",
194
- MovieTicket = "MovieTicket"
192
+ Chevre = "Chevre"
195
193
  }
196
194
  export interface IService {
197
195
  typeOf: 'WebAPI';
@@ -199,7 +197,7 @@ export interface IService {
199
197
  }
200
198
  export declare type IInstrument = IService;
201
199
  /**
202
- * 決済承認アクション属性インターフェース
200
+ * 決済承認アクション属性
203
201
  */
204
202
  export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject, IResult> {
205
203
  typeOf: ActionType.AuthorizeAction;
@@ -210,6 +208,6 @@ export interface IAttributes extends AuthorizeActionFactory.IAttributes<IObject,
210
208
  purpose: IPurpose;
211
209
  }
212
210
  /**
213
- * 決済承認アクションインターフェース
211
+ * 決済承認アクション
214
212
  */
215
213
  export declare type IAction = ActionFactory.IAction<IAttributes>;
@@ -7,7 +7,6 @@ var ResultType;
7
7
  })(ResultType = exports.ResultType || (exports.ResultType = {}));
8
8
  var ServiceIdentifier;
9
9
  (function (ServiceIdentifier) {
10
+ // 現時点で決済取引はChevreのみ対応
10
11
  ServiceIdentifier["Chevre"] = "Chevre";
11
- ServiceIdentifier["GMO"] = "GMO";
12
- ServiceIdentifier["MovieTicket"] = "MovieTicket";
13
12
  })(ServiceIdentifier = exports.ServiceIdentifier || (exports.ServiceIdentifier = {}));
@@ -5,7 +5,6 @@ import * as MoneyTransferAssetTransactionFactory from '../assetTransaction/money
5
5
  import { AssetTransactionType } from '../assetTransactionType';
6
6
  import { IExtendId } from '../autoGenerated';
7
7
  import { IMonetaryAmount } from '../monetaryAmount';
8
- import { OrganizationType } from '../organizationType';
9
8
  import { PersonType } from '../personType';
10
9
  import { IProject } from '../project';
11
10
  import * as TransactionFactory from '../transaction';
@@ -19,15 +18,7 @@ export interface IRecipientAsPerson {
19
18
  */
20
19
  name?: string;
21
20
  }
22
- export interface IRecipientAsSeller {
23
- typeOf: OrganizationType.Corporation;
24
- id: string;
25
- /**
26
- * 受取人名称
27
- */
28
- name?: string;
29
- }
30
- export declare type IRecipient = IRecipientAsPerson | IRecipientAsSeller;
21
+ export declare type IRecipient = IRecipientAsPerson;
31
22
  export import ISeller = TransactionFactory.ISeller;
32
23
  export import IPaymentCard = MoneyTransferAssetTransactionFactory.IPaymentCard;
33
24
  export import ITokenizedPaymentCard = MoneyTransferAssetTransactionFactory.ITokenizedPaymentCard;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.234.0",
3
+ "version": "4.235.0",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",