@chevre/factory 4.364.0-alpha.4 → 4.364.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.
@@ -0,0 +1,19 @@
1
+ import * as ActionFactory from '../action';
2
+ import { ActionType } from '../actionType';
3
+ import { TransactionType } from '../transactionType';
4
+ export type IObject = any;
5
+ export type IResult = any;
6
+ export interface IPurpose {
7
+ /**
8
+ * 注文取引ID
9
+ */
10
+ id: string;
11
+ typeOf: TransactionType.PlaceOrder;
12
+ }
13
+ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.AcceptAction, TObject, TResult> {
14
+ purpose?: IPurpose;
15
+ }
16
+ /**
17
+ * 採用アクション
18
+ */
19
+ export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/lib/action.d.ts CHANGED
@@ -116,6 +116,9 @@ export interface ISearchConditions {
116
116
  };
117
117
  };
118
118
  instrument?: {
119
+ typeOf?: {
120
+ $eq?: string;
121
+ };
119
122
  transactionNumber?: {
120
123
  $eq?: string;
121
124
  };
@@ -146,6 +149,9 @@ export interface ISearchConditions {
146
149
  };
147
150
  };
148
151
  object?: {
152
+ /**
153
+ * 通知アクション(決済、返金)の決済方法ID
154
+ */
149
155
  paymentMethodId?: {
150
156
  $eq?: string;
151
157
  };
@@ -166,6 +172,9 @@ export interface ISearchConditions {
166
172
  accountId?: {
167
173
  $eq?: string;
168
174
  };
175
+ /**
176
+ * 決済アクションの決済方法ID
177
+ */
169
178
  paymentMethodId?: {
170
179
  $eq?: string;
171
180
  $in?: string[];
@@ -174,6 +183,9 @@ export interface ISearchConditions {
174
183
  $eq?: string;
175
184
  };
176
185
  };
186
+ /**
187
+ * 承認アクションの決済方法ID
188
+ */
177
189
  paymentMethodId?: {
178
190
  $eq?: string;
179
191
  };
@@ -199,6 +211,12 @@ export interface ISearchConditions {
199
211
  $eq?: string;
200
212
  $in?: string[];
201
213
  };
214
+ /**
215
+ * 確定アクション、採用アクションなどの資産取引番号
216
+ */
217
+ transactionNumber?: {
218
+ $eq?: string;
219
+ };
202
220
  };
203
221
  startFrom?: Date;
204
222
  startThrough?: Date;
@@ -2,6 +2,7 @@
2
2
  * アクションタイプ
3
3
  */
4
4
  export declare enum ActionType {
5
+ AcceptAction = "AcceptAction",
5
6
  AuthorizeAction = "AuthorizeAction",
6
7
  CancelAction = "CancelAction",
7
8
  CheckAction = "CheckAction",
package/lib/actionType.js CHANGED
@@ -6,6 +6,7 @@ exports.ActionType = void 0;
6
6
  */
7
7
  var ActionType;
8
8
  (function (ActionType) {
9
+ ActionType["AcceptAction"] = "AcceptAction";
9
10
  ActionType["AuthorizeAction"] = "AuthorizeAction";
10
11
  ActionType["CancelAction"] = "CancelAction";
11
12
  ActionType["CheckAction"] = "CheckAction";
@@ -17,7 +18,6 @@ var ActionType;
17
18
  ActionType["MoneyTransfer"] = "MoneyTransfer";
18
19
  ActionType["OrderAction"] = "OrderAction";
19
20
  ActionType["PayAction"] = "PayAction";
20
- // PrintAction = 'PrintAction',
21
21
  ActionType["RefundAction"] = "RefundAction";
22
22
  ActionType["RegisterAction"] = "RegisterAction";
23
23
  ActionType["ReplaceAction"] = "ReplaceAction";
package/lib/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export import cognito = cognito;
7
7
  export import waiter = waiter;
8
8
  import * as AccountFactory from './account';
9
9
  import * as ActionFactory from './action';
10
+ import * as AcceptActionFactory from './action/accept';
10
11
  import * as AuthorizeActionFactory from './action/authorize';
11
12
  import * as AuthorizeEventServiceOfferActionFactory from './action/authorize/offer/eventService';
12
13
  import * as AuthorizeMoneyTransferOfferActionFactory from './action/authorize/offer/moneyTransfer';
@@ -206,6 +207,7 @@ export declare namespace action {
206
207
  export import IPurpose = ActionFactory.IPurpose;
207
208
  export import ISortOrder = ActionFactory.ISortOrder;
208
209
  export import ISearchConditions = ActionFactory.ISearchConditions;
210
+ export import accept = AcceptActionFactory;
209
211
  namespace authorize {
210
212
  export import IAction = AuthorizeActionFactory.IAction;
211
213
  export import IAttributes = AuthorizeActionFactory.IAttributes;
package/lib/index.js CHANGED
@@ -10,6 +10,7 @@ var cognito = require("./cognito");
10
10
  exports.cognito = cognito;
11
11
  exports.waiter = waiter;
12
12
  var AccountFactory = require("./account");
13
+ var AcceptActionFactory = require("./action/accept");
13
14
  var AuthorizeEventServiceOfferActionFactory = require("./action/authorize/offer/eventService");
14
15
  var AuthorizeMoneyTransferOfferActionFactory = require("./action/authorize/offer/moneyTransfer");
15
16
  var AuthorizeProductOfferActionFactory = require("./action/authorize/offer/product");
@@ -164,6 +165,7 @@ exports.actionStatusType = actionStatusType_1.ActionStatusType;
164
165
  exports.actionType = actionType_1.ActionType;
165
166
  var action;
166
167
  (function (action) {
168
+ action.accept = AcceptActionFactory;
167
169
  var authorize;
168
170
  (function (authorize) {
169
171
  // tslint:disable-next-line:no-shadowed-variable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.364.0-alpha.4",
3
+ "version": "4.364.0-alpha.6",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",