@chevre/factory 4.393.0-alpha.31 → 4.393.0-alpha.33
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/accept/pay.d.ts +6 -1
- package/lib/action.d.ts +10 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +2 -0
- package/lib/task/invalidatePaymentUrl.d.ts +15 -0
- package/lib/task/invalidatePaymentUrl.js +2 -0
- package/lib/task/publishPaymentUrl.d.ts +5 -0
- package/lib/taskName.d.ts +1 -0
- package/lib/taskName.js +1 -0
- package/package.json +1 -1
|
@@ -26,11 +26,16 @@ export interface IPurpose {
|
|
|
26
26
|
/**
|
|
27
27
|
* 決済採用アクション属性
|
|
28
28
|
*/
|
|
29
|
-
export interface IAttributes extends AcceptActionFactory.IAttributes<IObject, IResult> {
|
|
29
|
+
export interface IAttributes extends Pick<AcceptActionFactory.IAttributes<IObject, IResult>, 'agent' | 'error' | 'identifier' | 'location' | 'object' | 'project' | 'purpose' | 'result' | 'sameAs' | 'typeOf'> {
|
|
30
30
|
typeOf: ActionType.AcceptAction;
|
|
31
31
|
object: IObject;
|
|
32
32
|
agent: IAgent;
|
|
33
33
|
purpose: IPurpose;
|
|
34
|
+
/**
|
|
35
|
+
* add identifier for an unique index(2025-02-25~)
|
|
36
|
+
* authorize payment action identifier
|
|
37
|
+
*/
|
|
38
|
+
identifier?: string;
|
|
34
39
|
}
|
|
35
40
|
/**
|
|
36
41
|
* 決済採用アクション
|
package/lib/action.d.ts
CHANGED
|
@@ -90,6 +90,10 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
|
|
|
90
90
|
cancelAction?: any;
|
|
91
91
|
about?: any;
|
|
92
92
|
target?: IEntryPoint;
|
|
93
|
+
/**
|
|
94
|
+
* globally unique identifier(2025-02-25~)
|
|
95
|
+
*/
|
|
96
|
+
identifier?: string;
|
|
93
97
|
}
|
|
94
98
|
/**
|
|
95
99
|
* アクション動的属性
|
|
@@ -160,6 +164,12 @@ export interface ISearchConditions {
|
|
|
160
164
|
identifier?: {
|
|
161
165
|
$eq?: string;
|
|
162
166
|
};
|
|
167
|
+
id?: {
|
|
168
|
+
$eq?: string;
|
|
169
|
+
};
|
|
170
|
+
orderNumber?: {
|
|
171
|
+
$eq?: string;
|
|
172
|
+
};
|
|
163
173
|
};
|
|
164
174
|
location?: {
|
|
165
175
|
id?: {
|
package/lib/index.d.ts
CHANGED
|
@@ -179,6 +179,7 @@ import * as HandleNotificationTaskFactory from './task/handleNotification';
|
|
|
179
179
|
import * as ImportEventCapacitiesFromCOATaskFactory from './task/importEventCapacitiesFromCOA';
|
|
180
180
|
import * as ImportEventsFromCOATaskFactory from './task/importEventsFromCOA';
|
|
181
181
|
import * as ImportOffersFromCOATaskFactory from './task/importOffersFromCOA';
|
|
182
|
+
import * as InvalidatePaymentUrlTaskFactory from './task/invalidatePaymentUrl';
|
|
182
183
|
import * as MoneyTransferTaskFactory from './task/moneyTransfer';
|
|
183
184
|
import * as OnAssetTransactionStatusChangedTaskFactory from './task/onAssetTransactionStatusChanged';
|
|
184
185
|
import * as OnAuthorizationCreatedTaskFactory from './task/onAuthorizationCreated';
|
|
@@ -507,6 +508,7 @@ export declare namespace task {
|
|
|
507
508
|
export import importEventCapacitiesFromCOA = ImportEventCapacitiesFromCOATaskFactory;
|
|
508
509
|
export import importEventsFromCOA = ImportEventsFromCOATaskFactory;
|
|
509
510
|
export import importOffersFromCOA = ImportOffersFromCOATaskFactory;
|
|
511
|
+
export import invalidatePaymentUrl = InvalidatePaymentUrlTaskFactory;
|
|
510
512
|
export import moneyTransfer = MoneyTransferTaskFactory;
|
|
511
513
|
export import pay = PayTaskFactory;
|
|
512
514
|
export import publishPaymentUrl = PublishPaymentUrlTaskFactory;
|
package/lib/index.js
CHANGED
|
@@ -165,6 +165,7 @@ var HandleNotificationTaskFactory = require("./task/handleNotification");
|
|
|
165
165
|
var ImportEventCapacitiesFromCOATaskFactory = require("./task/importEventCapacitiesFromCOA");
|
|
166
166
|
var ImportEventsFromCOATaskFactory = require("./task/importEventsFromCOA");
|
|
167
167
|
var ImportOffersFromCOATaskFactory = require("./task/importOffersFromCOA");
|
|
168
|
+
var InvalidatePaymentUrlTaskFactory = require("./task/invalidatePaymentUrl");
|
|
168
169
|
var MoneyTransferTaskFactory = require("./task/moneyTransfer");
|
|
169
170
|
var OnAuthorizationCreatedTaskFactory = require("./task/onAuthorizationCreated");
|
|
170
171
|
var OnEventChangedTaskFactory = require("./task/onEventChanged");
|
|
@@ -472,6 +473,7 @@ var task;
|
|
|
472
473
|
task.importEventCapacitiesFromCOA = ImportEventCapacitiesFromCOATaskFactory;
|
|
473
474
|
task.importEventsFromCOA = ImportEventsFromCOATaskFactory;
|
|
474
475
|
task.importOffersFromCOA = ImportOffersFromCOATaskFactory;
|
|
476
|
+
task.invalidatePaymentUrl = InvalidatePaymentUrlTaskFactory;
|
|
475
477
|
task.moneyTransfer = MoneyTransferTaskFactory;
|
|
476
478
|
task.pay = PayTaskFactory;
|
|
477
479
|
task.publishPaymentUrl = PublishPaymentUrlTaskFactory;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IAttributes as IRefundActionAttributes, IPurposeAsPlaceOrder } from '../action/trade/refund';
|
|
2
|
+
import { IExtendId } from '../autoGenerated';
|
|
3
|
+
import * as TaskFactory from '../task';
|
|
4
|
+
import { TaskName } from '../taskName';
|
|
5
|
+
export type IData = Pick<IRefundActionAttributes, 'agent' | 'object' | 'project' | 'recipient' | 'typeOf' | 'instrument'> & {
|
|
6
|
+
purpose: IPurposeAsPlaceOrder;
|
|
7
|
+
};
|
|
8
|
+
export interface IAttributes extends TaskFactory.IAttributes {
|
|
9
|
+
name: TaskName.InvalidatePaymentUrl;
|
|
10
|
+
data: IData;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* invalidatePaymentUrl task
|
|
14
|
+
*/
|
|
15
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -15,6 +15,11 @@ export interface IData {
|
|
|
15
15
|
purpose: IPurpose;
|
|
16
16
|
paymentServiceType: PaymentServiceType;
|
|
17
17
|
location: ILocation;
|
|
18
|
+
/**
|
|
19
|
+
* add identifier for an unique index(2025-02-25~)
|
|
20
|
+
* authorize payment action identifier
|
|
21
|
+
*/
|
|
22
|
+
identifier?: string;
|
|
18
23
|
}
|
|
19
24
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
20
25
|
name: TaskName.PublishPaymentUrl;
|
package/lib/taskName.d.ts
CHANGED
|
@@ -67,6 +67,7 @@ export declare enum TaskName {
|
|
|
67
67
|
ImportEventCapacitiesFromCOA = "importEventCapacitiesFromCOA",
|
|
68
68
|
ImportEventsFromCOA = "importEventsFromCOA",
|
|
69
69
|
ImportOffersFromCOA = "importOffersFromCOA",
|
|
70
|
+
InvalidatePaymentUrl = "invalidatePaymentUrl",
|
|
70
71
|
MoneyTransfer = "moneyTransfer",
|
|
71
72
|
OnAssetTransactionStatusChanged = "onAssetTransactionStatusChanged",
|
|
72
73
|
OnAuthorizationCreated = "onAuthorizationCreated",
|
package/lib/taskName.js
CHANGED
|
@@ -71,6 +71,7 @@ var TaskName;
|
|
|
71
71
|
TaskName["ImportEventCapacitiesFromCOA"] = "importEventCapacitiesFromCOA";
|
|
72
72
|
TaskName["ImportEventsFromCOA"] = "importEventsFromCOA";
|
|
73
73
|
TaskName["ImportOffersFromCOA"] = "importOffersFromCOA";
|
|
74
|
+
TaskName["InvalidatePaymentUrl"] = "invalidatePaymentUrl";
|
|
74
75
|
TaskName["MoneyTransfer"] = "moneyTransfer";
|
|
75
76
|
TaskName["OnAssetTransactionStatusChanged"] = "onAssetTransactionStatusChanged";
|
|
76
77
|
TaskName["OnAuthorizationCreated"] = "onAuthorizationCreated";
|