@chevre/factory 9.5.0-alpha.3 → 9.5.0-alpha.5

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.
@@ -1,7 +1,7 @@
1
1
  import { IParticipantAsWebApplication, IParticipantAsPerson, IParticipantAsSeller, IAction as IBaseAction } from '../../../action';
2
2
  import { AvailablePaymentMethodType, IMovieTicket } from '../../../action/trade/pay';
3
3
  import { ActionType } from '../../../actionType';
4
- import { ICreditCard, IFromLocation, IInvoiceReferenceOrder, ITokenizedPaymentCard } from '../../../assetTransaction/pay';
4
+ import { ICreditCard, IInvoiceReferenceOrder } from '../../../assetTransaction/pay';
5
5
  import { AssetTransactionType } from '../../../assetTransactionType';
6
6
  import { IOrderPaymentMethodIssuedThrough, ITotalPaymentDue } from '../../../order';
7
7
  import { PaymentStatusType } from '../../../paymentStatusType';
@@ -14,7 +14,7 @@ export type IRecipient = IParticipantAsSeller;
14
14
  export declare enum ResultType {
15
15
  Payment = "Payment"
16
16
  }
17
- export { ICreditCard, IFromLocation, ITokenizedPaymentCard };
17
+ export { ICreditCard };
18
18
  export interface IObjectIncludingPaymentMethodDetails {
19
19
  /**
20
20
  * The identifier for the account the payment will be applied to.
@@ -58,10 +58,6 @@ export interface IObjectIncludingPaymentMethodDetails {
58
58
  */
59
59
  id: string;
60
60
  };
61
- /**
62
- * 転送元(PaymentCard決済)
63
- */
64
- fromLocation?: IFromLocation;
65
61
  /**
66
62
  * 支払い方法(CreditCard決済)
67
63
  */
@@ -87,7 +83,6 @@ export type IAuthorizeAnyPaymentObject = Pick<IObjectIncludingPaymentMethodDetai
87
83
  method?: never;
88
84
  movieTickets?: never;
89
85
  paymentMethodId?: never;
90
- fromLocation?: never;
91
86
  description?: never;
92
87
  referencesOrder?: never;
93
88
  };
@@ -102,7 +97,6 @@ export type IAuthorizeCreditCardObject = Pick<IObjectIncludingPaymentMethodDetai
102
97
  */
103
98
  referencesOrder?: IInvoiceReferenceOrder;
104
99
  movieTickets?: never;
105
- fromLocation?: never;
106
100
  description?: never;
107
101
  };
108
102
  export type IAuthorizeMovieTicketObject = Pick<IObjectIncludingPaymentMethodDetails, 'issuedThrough' | 'paymentMethod' | 'movieTickets' | 'name' | 'additionalProperty' | 'ticketToken'> & {
@@ -113,23 +107,13 @@ export type IAuthorizeMovieTicketObject = Pick<IObjectIncludingPaymentMethodDeta
113
107
  creditCard?: never;
114
108
  method?: never;
115
109
  paymentMethodId?: never;
116
- fromLocation?: never;
117
110
  description?: never;
118
111
  referencesOrder?: never;
119
112
  };
120
- export type IAuthorizePaymentCardObject = Pick<IObjectIncludingPaymentMethodDetails, 'amount' | 'issuedThrough' | 'paymentMethod' | 'fromLocation' | 'name' | 'additionalProperty'> & {
121
- description?: string;
122
- creditCard?: never;
123
- method?: never;
124
- movieTickets?: never;
125
- ticketToken?: never;
126
- paymentMethodId?: never;
127
- referencesOrder?: never;
128
- };
129
113
  /**
130
114
  * 決済承認リクエストの承認対象オブジェクト
131
115
  */
132
- export type IObjectWithoutDetail = IAuthorizeAnyPaymentObject | IAuthorizeCreditCardObject | IAuthorizeMovieTicketObject | IAuthorizePaymentCardObject;
116
+ export type IObjectWithoutDetail = IAuthorizeAnyPaymentObject | IAuthorizeCreditCardObject | IAuthorizeMovieTicketObject;
133
117
  /**
134
118
  * 決済承認アクションオブジェクト
135
119
  * paymentMethodIdが決済取引の取引番号に等しい
@@ -82,9 +82,6 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
82
82
  * アクションタイプ
83
83
  */
84
84
  typeOf: T;
85
- amount?: any;
86
- fromLocation?: any;
87
- toLocation?: any;
88
85
  replacer?: any;
89
86
  targetCollection?: any;
90
87
  cancelAction?: any;
@@ -281,26 +278,4 @@ export interface ISearchConditions {
281
278
  $eq?: string;
282
279
  };
283
280
  };
284
- fromLocation?: {
285
- typeOf?: {
286
- $in?: string[];
287
- };
288
- accountNumber?: {
289
- $in?: string[];
290
- };
291
- accountType?: {
292
- $in?: string[];
293
- };
294
- };
295
- toLocation?: {
296
- typeOf?: {
297
- $in?: string[];
298
- };
299
- accountNumber?: {
300
- $in?: string[];
301
- };
302
- accountType?: {
303
- $in?: string[];
304
- };
305
- };
306
281
  }
@@ -10,11 +10,6 @@ import { IPropertyValue } from '../propertyValue';
10
10
  import { IPotentialAction as IPotentialInformAction, PaymentServiceType } from '../service/paymentService';
11
11
  export type IAgent = IAgentAsSeller;
12
12
  export type IRecipient = IPayRecipient;
13
- /**
14
- * ペイメントカードトークン
15
- */
16
- export type ITokenizedPaymentCard = string;
17
- export type IFromLocation = ITokenizedPaymentCard;
18
13
  /**
19
14
  * クレジットカード決済承認に必要なクレジットカードインターフェース
20
15
  */
@@ -54,10 +49,6 @@ export interface IPaymentMethod {
54
49
  * 決済方法区分
55
50
  */
56
51
  identifier: string;
57
- /**
58
- * 出金元ペイメントカード
59
- */
60
- fromLocation?: IFromLocation;
61
52
  /**
62
53
  * 決済カードリスト
63
54
  */
@@ -16,7 +16,6 @@ export { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions,
16
16
  */
17
17
  export interface IItemOffered {
18
18
  typeOf: ProductType;
19
- serviceOutput?: never;
20
19
  }
21
20
  /**
22
21
  * 単価オファーの価格仕様
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "9.5.0-alpha.3",
3
+ "version": "9.5.0-alpha.5",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [