@chevre/factory 4.327.0-alpha.7 → 4.327.0-alpha.9

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.
@@ -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
  */
@@ -12,7 +12,7 @@ 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
16
  object?: {
17
17
  paymentMethod?: {
18
18
  identifier?: string;
@@ -1,12 +1,17 @@
1
- import { IPurpose } from '../action/authorize/paymentMethod/any';
1
+ import { IPurpose as IAuthorizePaymentPurpose } from '../action/authorize/paymentMethod/any';
2
2
  import { IExtendId } from '../autoGenerated';
3
+ import { OrderStatus } from '../orderStatus';
3
4
  import { IProject } from '../project';
4
5
  import * as TaskFactory from '../task';
5
6
  import { TaskName } from '../taskName';
6
- export interface IData {
7
- agent?: {
8
- id: string;
7
+ export declare type IPurpose = IAuthorizePaymentPurpose & {
8
+ result?: {
9
+ order?: {
10
+ orderStatus?: OrderStatus.OrderCancelled;
11
+ };
9
12
  };
13
+ };
14
+ export interface IData {
10
15
  /**
11
16
  * 承認アクションID指定であれば、指定アクションのみ中止
12
17
  */
@@ -1,12 +1,17 @@
1
- import { IPurpose } from '../action/authorize/offer/seatReservation';
1
+ import { IPurpose as IAuthorizeEventServiceOfferPurpose } from '../action/authorize/offer/seatReservation';
2
2
  import { IExtendId } from '../autoGenerated';
3
+ import { OrderStatus } from '../orderStatus';
3
4
  import { IProject } from '../project';
4
5
  import * as TaskFactory from '../task';
5
6
  import { TaskName } from '../taskName';
6
- export interface IData {
7
- agent?: {
8
- id: string;
7
+ export declare type IPurpose = IAuthorizeEventServiceOfferPurpose & {
8
+ result?: {
9
+ order?: {
10
+ orderStatus?: OrderStatus.OrderCancelled;
11
+ };
9
12
  };
13
+ };
14
+ export interface IData {
10
15
  /**
11
16
  * 承認アクションID指定であれば、指定アクションのみ中止
12
17
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.327.0-alpha.7",
3
+ "version": "4.327.0-alpha.9",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",