@chevre/factory 4.181.0-alpha.2 → 4.181.0-alpha.6

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.
package/CHANGELOG.md CHANGED
@@ -13,6 +13,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
13
13
  - 決済取引のIPendingTransactionに出金元の口座番号情報を追加
14
14
  - プロダクトにavailableChannelを追加
15
15
  - サービス登録アクションのIObjectを定義
16
+ - 予約取引の適用メンバーシップ指定に発行サービスIDを必須化
17
+ - 予約取引のポイント特典入金先指定に発行サービスIDを必須化
18
+ - サービス登録取引のポイント特典入金先指定に発行サービスIDを必須化
19
+ - 通貨転送アクションのペイメントカードインターフェースに発行サービスIDを必須化
20
+ - 決済取引オブジェクトに決済サービスIDを追加
16
21
 
17
22
  ### Deprecated
18
23
 
@@ -158,6 +158,10 @@ export interface IResult {
158
158
  typeOf: ResultType;
159
159
  issuedThrough: {
160
160
  typeOf: PaymentServiceType;
161
+ /**
162
+ * 発行決済サービスID
163
+ */
164
+ id: string;
161
165
  };
162
166
  /**
163
167
  * 転送元口座(Account決済)
@@ -52,6 +52,12 @@ export interface IPaymentCard {
52
52
  identifier: string;
53
53
  accessCode?: string;
54
54
  hasNoPermit?: boolean;
55
+ issuedThrough: {
56
+ /**
57
+ * カード発行サービスID
58
+ */
59
+ id: string;
60
+ };
55
61
  }
56
62
  /**
57
63
  * 転送元あるいは転送先の場所インターフェース
@@ -68,6 +68,10 @@ export interface IPaymentMethod {
68
68
  }
69
69
  export interface IPaymentService {
70
70
  typeOf: PaymentServiceType;
71
+ /**
72
+ * 発行決済サービスID
73
+ */
74
+ id: string;
71
75
  /**
72
76
  * 決済方法
73
77
  */
@@ -12,11 +12,21 @@ export interface IObject {
12
12
  */
13
13
  identifier?: string;
14
14
  amount: number;
15
+ /**
16
+ * 入金先カード
17
+ */
15
18
  toLocation: {
16
19
  /**
17
20
  * 入金先カード番号
21
+ * 口座番号ではないので注意
18
22
  */
19
23
  accountNumber: string;
24
+ issuedThrough: {
25
+ /**
26
+ * カード発行サービスID
27
+ */
28
+ id: string;
29
+ };
20
30
  };
21
31
  description: string;
22
32
  }
@@ -20,13 +20,19 @@ export declare type IRecipient = ActionFactory.IParticipant;
20
20
  */
21
21
  export import IAnonymousLocation = AccountFactory.action.moneyTransfer.IAnonymousLocation;
22
22
  /**
23
- * 決済カードインターフェース
23
+ * ペイメントカードインターフェース
24
24
  */
25
25
  export interface IPaymentCard {
26
26
  typeOf: PermitType;
27
27
  identifier: string;
28
28
  accessCode?: string;
29
29
  hasNoPermit?: boolean;
30
+ issuedThrough: {
31
+ /**
32
+ * カード発行サービスID
33
+ */
34
+ id: string;
35
+ };
30
36
  }
31
37
  /**
32
38
  * 転送元あるいは転送先の場所インターフェース
@@ -93,6 +93,10 @@ export interface IPaymentMethod {
93
93
  */
94
94
  export interface IObject {
95
95
  typeOf: PaymentServiceType;
96
+ /**
97
+ * 発行決済サービスID
98
+ */
99
+ id?: string;
96
100
  paymentMethod?: IPaymentMethod;
97
101
  pendingTransaction?: IPendingTransaction;
98
102
  entryTranArgs?: IEntryTranArgs;
@@ -9,6 +9,10 @@ export declare type IAgent = any;
9
9
  export declare type IRecipient = IRefundRecipient;
10
10
  export interface IObjectWithoutDetail {
11
11
  typeOf: PaymentServiceType;
12
+ /**
13
+ * 発行決済サービスID
14
+ */
15
+ id: string;
12
16
  paymentMethod: IPaymentMethod;
13
17
  refundFee?: number;
14
18
  }
@@ -37,6 +41,10 @@ export declare type IAnyPaymentMethod = AvailablePaymentMethodType;
37
41
  */
38
42
  export interface IObject {
39
43
  typeOf: PaymentServiceType;
44
+ /**
45
+ * 発行決済サービスID
46
+ */
47
+ id: string;
40
48
  onPaymentStatusChanged?: IOnPaymentStatusChanged;
41
49
  paymentMethod: IPaymentMethod;
42
50
  refundFee?: number;
@@ -53,7 +53,13 @@ export interface IAcceptedPointAward {
53
53
  /**
54
54
  * カード番号
55
55
  */
56
- identifier?: string;
56
+ identifier: string;
57
+ issuedThrough: {
58
+ /**
59
+ * カード発行サービスID
60
+ */
61
+ id: string;
62
+ };
57
63
  };
58
64
  }
59
65
  export interface IAcceptedItemOffered {
@@ -1,4 +1,5 @@
1
1
  import * as ReserveActionFactory from '../action/reserve';
2
+ import ActionType from '../actionType';
2
3
  import * as TransactionFactory from '../assetTransaction';
3
4
  import AssetTransactionType from '../assetTransactionType';
4
5
  import { IExtendId } from '../autoGenerated';
@@ -24,7 +25,16 @@ export interface IAgent {
24
25
  }
25
26
  export interface IAcceptedProgramMembershipUsedAsObject {
26
27
  accessCode?: string;
27
- identifier?: string;
28
+ /**
29
+ * メンバーシップコード
30
+ */
31
+ identifier: string;
32
+ issuedThrough: {
33
+ /**
34
+ * メンバーシップ発行サービスID
35
+ */
36
+ id: string;
37
+ };
28
38
  }
29
39
  /**
30
40
  * トークン化された適用メンバーシップ
@@ -36,6 +46,7 @@ export declare type ITokenizedAcceptedProgramMembershipUsed = string;
36
46
  export declare type IAcceptedProgramMembershipUsed = IAcceptedProgramMembershipUsedAsObject | ITokenizedAcceptedProgramMembershipUsed;
37
47
  export declare type IAcceptedSubReservation = ISubReservation4eventReservation;
38
48
  export interface IAcceptedPointAward {
49
+ typeOf: ActionType.MoneyTransfer;
39
50
  recipient?: any;
40
51
  /**
41
52
  * 特典付与先
@@ -44,7 +55,13 @@ export interface IAcceptedPointAward {
44
55
  /**
45
56
  * カード番号
46
57
  */
47
- identifier?: string;
58
+ identifier: string;
59
+ issuedThrough: {
60
+ /**
61
+ * カード発行サービスID
62
+ */
63
+ id: string;
64
+ };
48
65
  };
49
66
  }
50
67
  /**
@@ -58,6 +58,10 @@ export interface IPaymentMethod {
58
58
  additionalProperty: IPropertyValue<string>[];
59
59
  issuedThrough: {
60
60
  typeOf: PaymentServiceType;
61
+ /**
62
+ * 発行決済サービスID
63
+ */
64
+ id: string;
61
65
  };
62
66
  }
63
67
  /**
@@ -53,7 +53,13 @@ export interface IPointAward {
53
53
  /**
54
54
  * カード番号
55
55
  */
56
- identifier?: string;
56
+ identifier: string;
57
+ issuedThrough: {
58
+ /**
59
+ * カード発行サービスID
60
+ */
61
+ id: string;
62
+ };
57
63
  };
58
64
  description?: string;
59
65
  recipient?: any;
@@ -43,7 +43,7 @@ export interface IProvider extends IOrganization {
43
43
  credentials?: IProviderCredentials;
44
44
  }
45
45
  /**
46
- * ペイメントサービスインターフェース
46
+ * 決済サービスインターフェース
47
47
  * {@link https://schema.org/Service}
48
48
  */
49
49
  export interface IService extends IThing {
@@ -53,11 +53,12 @@ export interface IService extends IThing {
53
53
  availableChannel?: IAvailableChannel;
54
54
  productID?: string;
55
55
  /**
56
- * ペイメントサービス提供者(決済サービスを利用する販売者)
56
+ * 決済サービス提供者(決済サービスを利用する販売者)
57
57
  */
58
58
  provider?: IProvider[];
59
59
  /**
60
60
  * The type of service being offered, e.g. veterans' benefits, emergency relief, etc.
61
+ * 決済サービスの場合、serviceType.codeValueが決済方法区分
61
62
  */
62
63
  serviceType?: IServiceType;
63
64
  }
@@ -17,9 +17,18 @@ export import ISeller = TransactionFactory.ISeller;
17
17
  */
18
18
  export declare type IAgent = TransactionFactory.IAgent;
19
19
  export interface IPaymentMethodByPaymentUrl {
20
+ /**
21
+ * 決済方法区分
22
+ */
20
23
  typeOf: string;
21
24
  paymentMethodId: string;
22
25
  paymentUrl: string;
26
+ issuedThrough: {
27
+ /**
28
+ * 発行決済サービスID
29
+ */
30
+ id: string;
31
+ };
23
32
  }
24
33
  /**
25
34
  * 注文特典口座インターフェース
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.181.0-alpha.2",
3
+ "version": "4.181.0-alpha.6",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",