@chevre/factory 4.367.0 → 4.368.0-alpha.2
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/lib/action.d.ts +11 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/task/authorizePayment.d.ts +35 -0
- package/lib/task/authorizePayment.js +2 -0
- package/lib/task.d.ts +4 -0
- package/lib/taskName.d.ts +4 -0
- package/lib/taskName.js +4 -0
- package/package.json +1 -1
package/lib/action.d.ts
CHANGED
|
@@ -59,6 +59,12 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
|
|
|
59
59
|
purpose?: IPurpose;
|
|
60
60
|
recipient?: IParticipant;
|
|
61
61
|
result?: TResult;
|
|
62
|
+
sameAs?: {
|
|
63
|
+
/**
|
|
64
|
+
* タスクID
|
|
65
|
+
*/
|
|
66
|
+
id: string;
|
|
67
|
+
};
|
|
62
68
|
/**
|
|
63
69
|
* アクションタイプ
|
|
64
70
|
*/
|
|
@@ -245,6 +251,11 @@ export interface ISearchConditions {
|
|
|
245
251
|
$in?: string[];
|
|
246
252
|
};
|
|
247
253
|
};
|
|
254
|
+
sameAs?: {
|
|
255
|
+
id?: {
|
|
256
|
+
$eq?: string;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
248
259
|
fromLocation?: {
|
|
249
260
|
typeOf?: {
|
|
250
261
|
$in?: string[];
|
package/lib/index.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ import * as AccountMoneyTransferTaskFactory from './task/accountMoneyTransfer';
|
|
|
128
128
|
import * as AggregateOffersTaskFactory from './task/aggregateOffers';
|
|
129
129
|
import * as AggregateScreeningEventTaskFactory from './task/aggregateScreeningEvent';
|
|
130
130
|
import * as AggregateUseActionsOnEventTaskFactory from './task/aggregateUseActionsOnEvent';
|
|
131
|
+
import * as AuthorizePaymentTaskFactory from './task/authorizePayment';
|
|
131
132
|
import * as CancelAccountMoneyTransferTaskFactory from './task/cancelAccountMoneyTransfer';
|
|
132
133
|
import * as CancelMoneyTransferTaskFactory from './task/cancelMoneyTransfer';
|
|
133
134
|
import * as CancelPendingReservationTaskFactory from './task/cancelPendingReservation';
|
|
@@ -421,6 +422,7 @@ export declare namespace task {
|
|
|
421
422
|
export import aggregateOffers = AggregateOffersTaskFactory;
|
|
422
423
|
export import aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
423
424
|
export import aggregateUseActionsOnEvent = AggregateUseActionsOnEventTaskFactory;
|
|
425
|
+
export import authorizePayment = AuthorizePaymentTaskFactory;
|
|
424
426
|
export import cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
|
|
425
427
|
export import cancelPendingReservation = CancelPendingReservationTaskFactory;
|
|
426
428
|
export import cancelReservation = CancelReservationTaskFactory;
|
package/lib/index.js
CHANGED
|
@@ -117,6 +117,7 @@ var AccountMoneyTransferTaskFactory = require("./task/accountMoneyTransfer");
|
|
|
117
117
|
var AggregateOffersTaskFactory = require("./task/aggregateOffers");
|
|
118
118
|
var AggregateScreeningEventTaskFactory = require("./task/aggregateScreeningEvent");
|
|
119
119
|
var AggregateUseActionsOnEventTaskFactory = require("./task/aggregateUseActionsOnEvent");
|
|
120
|
+
var AuthorizePaymentTaskFactory = require("./task/authorizePayment");
|
|
120
121
|
var CancelAccountMoneyTransferTaskFactory = require("./task/cancelAccountMoneyTransfer");
|
|
121
122
|
var CancelMoneyTransferTaskFactory = require("./task/cancelMoneyTransfer");
|
|
122
123
|
var CancelPendingReservationTaskFactory = require("./task/cancelPendingReservation");
|
|
@@ -374,6 +375,7 @@ var task;
|
|
|
374
375
|
task.aggregateOffers = AggregateOffersTaskFactory;
|
|
375
376
|
task.aggregateScreeningEvent = AggregateScreeningEventTaskFactory;
|
|
376
377
|
task.aggregateUseActionsOnEvent = AggregateUseActionsOnEventTaskFactory;
|
|
378
|
+
task.authorizePayment = AuthorizePaymentTaskFactory;
|
|
377
379
|
task.cancelMoneyTransfer = CancelMoneyTransferTaskFactory;
|
|
378
380
|
task.cancelPendingReservation = CancelPendingReservationTaskFactory;
|
|
379
381
|
task.cancelReservation = CancelReservationTaskFactory;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IObjectWithoutDetail, IPurpose } from '../action/authorize/paymentMethod/any';
|
|
2
|
+
import { ILocation } from '../action/trade/pay';
|
|
3
|
+
import { IExtendId } from '../autoGenerated';
|
|
4
|
+
import { PaymentServiceType } from '../service/paymentService';
|
|
5
|
+
import * as TaskFactory from '../task';
|
|
6
|
+
import { TaskName } from '../taskName';
|
|
7
|
+
export interface IData {
|
|
8
|
+
project: {
|
|
9
|
+
id: string;
|
|
10
|
+
};
|
|
11
|
+
agent: {
|
|
12
|
+
id: string;
|
|
13
|
+
};
|
|
14
|
+
object: IObjectWithoutDetail;
|
|
15
|
+
purpose: IPurpose;
|
|
16
|
+
paymentServiceType: PaymentServiceType;
|
|
17
|
+
location?: ILocation;
|
|
18
|
+
options: {
|
|
19
|
+
/**
|
|
20
|
+
* アクション失敗時に即時に決済取引を中止するかどうか
|
|
21
|
+
*/
|
|
22
|
+
useCancelPayTransactionOnFailed: boolean;
|
|
23
|
+
useCheckMovieTicketBeforePay: boolean;
|
|
24
|
+
useCheckByIdentifierIfNotYet: boolean;
|
|
25
|
+
useUnlockTransactionProcess: boolean;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
29
|
+
name: TaskName.AuthorizePayment;
|
|
30
|
+
data: IData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 決済承認タスク
|
|
34
|
+
*/
|
|
35
|
+
export type ITask = IExtendId<IAttributes>;
|
package/lib/task.d.ts
CHANGED
package/lib/taskName.d.ts
CHANGED
|
@@ -9,6 +9,10 @@ export declare enum TaskName {
|
|
|
9
9
|
AggregateOffers = "aggregateOffers",
|
|
10
10
|
AggregateScreeningEvent = "aggregateScreeningEvent",
|
|
11
11
|
AggregateUseActionsOnEvent = "aggregateUseActionsOnEvent",
|
|
12
|
+
/**
|
|
13
|
+
* 決済承認(2024-04-20~)
|
|
14
|
+
*/
|
|
15
|
+
AuthorizePayment = "authorizePayment",
|
|
12
16
|
/**
|
|
13
17
|
* 口座転送中止
|
|
14
18
|
*/
|
package/lib/taskName.js
CHANGED
|
@@ -13,6 +13,10 @@ var TaskName;
|
|
|
13
13
|
TaskName["AggregateOffers"] = "aggregateOffers";
|
|
14
14
|
TaskName["AggregateScreeningEvent"] = "aggregateScreeningEvent";
|
|
15
15
|
TaskName["AggregateUseActionsOnEvent"] = "aggregateUseActionsOnEvent";
|
|
16
|
+
/**
|
|
17
|
+
* 決済承認(2024-04-20~)
|
|
18
|
+
*/
|
|
19
|
+
TaskName["AuthorizePayment"] = "authorizePayment";
|
|
16
20
|
/**
|
|
17
21
|
* 口座転送中止
|
|
18
22
|
*/
|