@chevre/factory 4.327.0-alpha.6 → 4.327.0-alpha.8

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.
@@ -9,6 +9,11 @@ export interface IPayAssetTransaction {
9
9
  * 決済取引番号
10
10
  */
11
11
  transactionNumber: string;
12
+ object?: {
13
+ paymentMethod?: {
14
+ identifier?: string;
15
+ };
16
+ };
12
17
  }
13
18
  export declare type IObject = IPayAssetTransaction[];
14
19
  export declare type IResult = any;
@@ -50,10 +50,6 @@ export interface IPaymentMethod {
50
50
  * 未指定であればデフォルト値が使用されます
51
51
  */
52
52
  name?: string;
53
- /**
54
- * 決済ID
55
- */
56
- paymentMethodId?: string;
57
53
  /**
58
54
  * The total amount due.
59
55
  */
@@ -61,11 +57,7 @@ export interface IPaymentMethod {
61
57
  /**
62
58
  * 決済方法区分
63
59
  */
64
- typeOf: string;
65
- /**
66
- * 決済方法区分
67
- */
68
- identifier?: string;
60
+ identifier: string;
69
61
  /**
70
62
  * 出金元ペイメントカード
71
63
  */
@@ -142,6 +134,11 @@ export interface IPotentialActionsParams {
142
134
  */
143
135
  export interface IConfirmParams {
144
136
  id?: string;
137
+ object?: {
138
+ paymentMethod?: {
139
+ identifier?: string;
140
+ };
141
+ };
145
142
  transactionNumber?: string;
146
143
  endDate?: Date;
147
144
  potentialActions: IPotentialActionsParams;
@@ -12,7 +12,12 @@ export interface IPurposeAsOrder {
12
12
  export interface IObjectAsPayTransaction {
13
13
  typeOf: AssetTransactionType.Pay;
14
14
  transactionNumber: string;
15
- status: TransactionStatusType.Confirmed;
15
+ status: TransactionStatusType.Confirmed | TransactionStatusType.Canceled | TransactionStatusType.Expired;
16
+ object?: {
17
+ paymentMethod?: {
18
+ identifier?: string;
19
+ };
20
+ };
16
21
  }
17
22
  export interface IData {
18
23
  project: Pick<IProject, 'id' | 'typeOf'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.327.0-alpha.6",
3
+ "version": "4.327.0-alpha.8",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",