@chevre/factory 4.214.0 → 4.215.0
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/factory/action/transfer/give/pointAward.d.ts +9 -3
- package/lib/factory/action/transfer/return/moneyTransfer.d.ts +7 -2
- package/lib/factory/action/transfer/return/order.d.ts +7 -2
- package/lib/factory/action/transfer/return/paymentMethod.d.ts +7 -1
- package/lib/factory/action/transfer/return/pointAward.d.ts +7 -2
- package/lib/factory/action/transfer/return/reservation.d.ts +7 -2
- package/lib/factory/task/givePointAward.d.ts +1 -1
- package/lib/factory/taskName.d.ts +2 -2
- package/lib/factory/taskName.js +2 -2
- package/package.json +1 -1
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import * as OrderFactory from '../../../order';
|
|
2
|
+
import { OrganizationType } from '../../../organizationType';
|
|
2
3
|
import { ObjectType as AuthorizePointAwardActionObjectType } from '../../authorize/award/point';
|
|
3
4
|
import * as GiveActionFactory from '../give';
|
|
5
|
+
export interface IAgent {
|
|
6
|
+
id: string;
|
|
7
|
+
typeOf: OrganizationType.Project;
|
|
8
|
+
}
|
|
4
9
|
export import ObjectType = AuthorizePointAwardActionObjectType;
|
|
5
10
|
/**
|
|
6
|
-
*
|
|
11
|
+
* ポイント特典付与対象インターフェース
|
|
7
12
|
*/
|
|
8
13
|
export interface IObject {
|
|
9
14
|
typeOf: ObjectType;
|
|
@@ -33,14 +38,15 @@ export interface IObject {
|
|
|
33
38
|
export declare type IResult = any;
|
|
34
39
|
/**
|
|
35
40
|
* 目的は注文
|
|
36
|
-
*
|
|
41
|
+
* 注文に対する特典としてポイントが付与される仕組み
|
|
37
42
|
*/
|
|
38
43
|
export declare type IPurpose = OrderFactory.ISimpleOrder;
|
|
39
44
|
export declare type IPotentialActions = any;
|
|
40
45
|
export interface IAttributes extends GiveActionFactory.IAttributes<IObject, IResult> {
|
|
46
|
+
agent: IAgent;
|
|
41
47
|
purpose: IPurpose;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
|
-
*
|
|
50
|
+
* ポイント特典付与アクション
|
|
45
51
|
*/
|
|
46
52
|
export declare type IAction = GiveActionFactory.IAction<IAttributes>;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
|
+
import { OrganizationType } from '../../../organizationType';
|
|
2
3
|
import * as MoneyTransferActionFactory from '../moneyTransfer';
|
|
3
4
|
import * as ReturnActionFactory from '../return';
|
|
4
|
-
export
|
|
5
|
+
export interface IAgent {
|
|
6
|
+
id: string;
|
|
7
|
+
typeOf: OrganizationType.Project;
|
|
8
|
+
}
|
|
5
9
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
6
10
|
/**
|
|
7
11
|
* 返却対象は入金アクション
|
|
@@ -11,10 +15,11 @@ export declare type IResult = any;
|
|
|
11
15
|
export interface IPotentialActions {
|
|
12
16
|
}
|
|
13
17
|
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
18
|
+
agent: IAgent;
|
|
14
19
|
recipient: IRecipient;
|
|
15
20
|
potentialActions?: IPotentialActions;
|
|
16
21
|
}
|
|
17
22
|
/**
|
|
18
|
-
*
|
|
23
|
+
* 入金返却アクション
|
|
19
24
|
*/
|
|
20
25
|
export declare type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import * as OrderFactory from '../../../order';
|
|
3
|
+
import { OrganizationType } from '../../../organizationType';
|
|
3
4
|
import { IAttributes as IRefundActionAttributes } from '../../transfer/return/paymentMethod';
|
|
4
5
|
import { IAttributes as ICancelActionAttributes } from '../../transfer/return/reservation';
|
|
5
6
|
import * as ReturnActionFactory from '../return';
|
|
6
7
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../send/message/email';
|
|
7
8
|
import * as ReturnMoneyTransferActionFactory from './moneyTransfer';
|
|
8
9
|
import * as ReturnPointAwardActionFactory from './pointAward';
|
|
9
|
-
export
|
|
10
|
+
export interface IAgent {
|
|
11
|
+
id: string;
|
|
12
|
+
typeOf: OrganizationType.Project;
|
|
13
|
+
}
|
|
10
14
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
11
15
|
/**
|
|
12
16
|
* 返却対象は注文
|
|
@@ -41,10 +45,11 @@ export interface IPotentialActions {
|
|
|
41
45
|
sendEmailMessage?: ISendEmailMessageActionAttributes[];
|
|
42
46
|
}
|
|
43
47
|
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
48
|
+
agent: IAgent;
|
|
44
49
|
recipient: IRecipient;
|
|
45
50
|
potentialActions?: IPotentialActions;
|
|
46
51
|
}
|
|
47
52
|
/**
|
|
48
|
-
*
|
|
53
|
+
* 返品アクション
|
|
49
54
|
*/
|
|
50
55
|
export declare type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import { ActionType } from '../../../actionType';
|
|
3
3
|
import * as OrderFactory from '../../../order';
|
|
4
|
+
import { OrganizationType } from '../../../organizationType';
|
|
4
5
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../../transfer/send/message/email';
|
|
6
|
+
export interface IAgent {
|
|
7
|
+
id: string;
|
|
8
|
+
typeOf: OrganizationType.Project;
|
|
9
|
+
}
|
|
5
10
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
6
11
|
export declare type IObject = OrderFactory.IPaymentMethod;
|
|
7
12
|
export declare type IResult = any;
|
|
@@ -13,11 +18,12 @@ export interface IPotentialActions {
|
|
|
13
18
|
}
|
|
14
19
|
export declare type IPurpose = OrderFactory.ISimpleOrder;
|
|
15
20
|
export interface IAttributes extends ActionFactory.IAttributes<ActionType.ReturnAction, IObject, IResult> {
|
|
21
|
+
agent: IAgent;
|
|
16
22
|
recipient: IRecipient;
|
|
17
23
|
purpose: IPurpose;
|
|
18
24
|
potentialActions?: IPotentialActions;
|
|
19
25
|
}
|
|
20
26
|
/**
|
|
21
|
-
*
|
|
27
|
+
* 決済返却アクション
|
|
22
28
|
*/
|
|
23
29
|
export declare type IAction = ActionFactory.IAction<IAttributes>;
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import * as ActionFactory from '../../../action';
|
|
2
2
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
3
3
|
import { ISimpleOrder } from '../../../order';
|
|
4
|
+
import { OrganizationType } from '../../../organizationType';
|
|
4
5
|
import * as ReturnActionFactory from '../return';
|
|
5
|
-
export
|
|
6
|
+
export interface IAgent {
|
|
7
|
+
id: string;
|
|
8
|
+
typeOf: OrganizationType.Project;
|
|
9
|
+
}
|
|
6
10
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
7
11
|
/**
|
|
8
12
|
* 入金取引識別子で指定する場合のオブジェクト
|
|
@@ -28,11 +32,12 @@ export declare type IResult = any;
|
|
|
28
32
|
export interface IPotentialActions {
|
|
29
33
|
}
|
|
30
34
|
export interface IAttributes extends ReturnActionFactory.IAttributes<IObject, IResult> {
|
|
35
|
+
agent: IAgent;
|
|
31
36
|
recipient: IRecipient;
|
|
32
37
|
potentialActions?: IPotentialActions;
|
|
33
38
|
purpose: IPurpose;
|
|
34
39
|
}
|
|
35
40
|
/**
|
|
36
|
-
*
|
|
41
|
+
* ポイント特典返却アクション
|
|
37
42
|
*/
|
|
38
43
|
export declare type IAction = ReturnActionFactory.IAction<IAttributes>;
|
|
@@ -4,8 +4,12 @@ import { ActionType } from '../../../actionType';
|
|
|
4
4
|
import * as CancelReservationAssetTransactionFactory from '../../../assetTransaction/cancelReservation';
|
|
5
5
|
import { AssetTransactionType } from '../../../assetTransactionType';
|
|
6
6
|
import { ISimpleOrder } from '../../../order';
|
|
7
|
+
import { OrganizationType } from '../../../organizationType';
|
|
7
8
|
import { Identifier as WebAPIIdentifier } from '../../../service/webAPI';
|
|
8
|
-
export
|
|
9
|
+
export interface IAgent {
|
|
10
|
+
id: string;
|
|
11
|
+
typeOf: OrganizationType.Project;
|
|
12
|
+
}
|
|
9
13
|
export declare type IObject4COA = COA.factory.reserve.IStateReserveArgs;
|
|
10
14
|
export interface IObject4Chevre {
|
|
11
15
|
typeOf: AssetTransactionType.Reserve;
|
|
@@ -17,10 +21,11 @@ export declare type IPurpose = ISimpleOrder;
|
|
|
17
21
|
export declare type IResult = any;
|
|
18
22
|
export declare type IPotentialActions = CancelReservationAssetTransactionFactory.IPotentialActionsParams;
|
|
19
23
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.ReturnAction, TObject, TResult> {
|
|
24
|
+
agent: IAgent;
|
|
20
25
|
potentialActions?: IPotentialActions;
|
|
21
26
|
purpose?: IPurpose;
|
|
22
27
|
}
|
|
23
28
|
/**
|
|
24
|
-
*
|
|
29
|
+
* 予約返却アクション
|
|
25
30
|
*/
|
|
26
31
|
export declare type IAction<TAttributes extends IAttributes<IObject<WebAPIIdentifier>, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -60,7 +60,7 @@ export declare enum TaskName {
|
|
|
60
60
|
*/
|
|
61
61
|
DeleteMember = "deleteMember",
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* ポイント特典付与
|
|
64
64
|
*/
|
|
65
65
|
GivePointAward = "givePointAward",
|
|
66
66
|
/**
|
|
@@ -80,7 +80,7 @@ export declare enum TaskName {
|
|
|
80
80
|
*/
|
|
81
81
|
ReturnMoneyTransfer = "returnMoneyTransfer",
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* ポイント特典返却
|
|
84
84
|
*/
|
|
85
85
|
ReturnPointAward = "returnPointAward",
|
|
86
86
|
/**
|
package/lib/factory/taskName.js
CHANGED
|
@@ -64,7 +64,7 @@ var TaskName;
|
|
|
64
64
|
*/
|
|
65
65
|
TaskName["DeleteMember"] = "deleteMember";
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* ポイント特典付与
|
|
68
68
|
*/
|
|
69
69
|
TaskName["GivePointAward"] = "givePointAward";
|
|
70
70
|
/**
|
|
@@ -84,7 +84,7 @@ var TaskName;
|
|
|
84
84
|
*/
|
|
85
85
|
TaskName["ReturnMoneyTransfer"] = "returnMoneyTransfer";
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* ポイント特典返却
|
|
88
88
|
*/
|
|
89
89
|
TaskName["ReturnPointAward"] = "returnPointAward";
|
|
90
90
|
/**
|