@chevre/factory 4.326.0-alpha.0 → 4.326.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.
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { IParticipantAsCustomer, IParticipantAsPerson, IParticipantAsProject, IParticipantAsWebApplication } from '../../../action';
|
|
2
2
|
import * as OrderFactory from '../../../order';
|
|
3
3
|
import * as OwnershipInfoFactory from '../../../ownershipInfo';
|
|
4
|
-
import * as WebAPIFactory from '../../../service/webAPI';
|
|
5
4
|
import { IAttributes as IMoneyTransferActionAttributes } from '../../interact/confirm/moneyTransfer';
|
|
6
5
|
import { IAttributes as IRegisterServiceAttributes } from '../../interact/confirm/registerService';
|
|
7
|
-
import { IAttributes as IConfirmReservationActionAttributes } from '../../interact/confirm/reservation';
|
|
8
6
|
import * as SendActionFactory from '../send';
|
|
9
7
|
import { IAttributes as ISendEmailMessageActionAttributes } from './message/email';
|
|
10
8
|
export declare type IAgent = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
|
|
@@ -15,10 +13,6 @@ export declare type IObject = OrderFactory.ISimpleOrder;
|
|
|
15
13
|
*/
|
|
16
14
|
export declare type IResult = OwnershipInfoFactory.IOwnershipInfo<OwnershipInfoFactory.IGood>[];
|
|
17
15
|
export interface IPotentialActions {
|
|
18
|
-
/**
|
|
19
|
-
* 予約確定アクション
|
|
20
|
-
*/
|
|
21
|
-
confirmReservation?: IConfirmReservationActionAttributes<WebAPIFactory.Identifier>[];
|
|
22
16
|
/**
|
|
23
17
|
* 通貨転送アクション
|
|
24
18
|
*/
|
package/lib/project.d.ts
CHANGED
|
@@ -41,6 +41,11 @@ export interface IWebhookSettings {
|
|
|
41
41
|
*/
|
|
42
42
|
timeout?: number;
|
|
43
43
|
}
|
|
44
|
+
export interface ISendEmailMessageSettings {
|
|
45
|
+
sender?: {
|
|
46
|
+
email?: string;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
44
49
|
/**
|
|
45
50
|
* プロジェクト設定
|
|
46
51
|
*/
|
|
@@ -49,6 +54,7 @@ export interface ISettings {
|
|
|
49
54
|
cognito?: ICognitoSettings;
|
|
50
55
|
onOrderStatusChanged?: IOnOrderStatusChanged;
|
|
51
56
|
webhook?: IWebhookSettings;
|
|
57
|
+
sendEmailMessage?: ISendEmailMessageSettings;
|
|
52
58
|
sendgridApiKey?: string;
|
|
53
59
|
transactionWebhookUrls?: string[];
|
|
54
60
|
useMyCreditCards?: boolean;
|
package/lib/task/placeOrder.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IPotentialActions as IOrderActionPotentialActions } from '../action/trade/order';
|
|
2
1
|
import { IExtendId } from '../autoGenerated';
|
|
3
2
|
import { IProject } from '../project';
|
|
4
3
|
import * as TaskFactory from '../task';
|
|
@@ -9,13 +8,12 @@ export interface IData {
|
|
|
9
8
|
confirmationNumber: string;
|
|
10
9
|
orderNumber: string;
|
|
11
10
|
};
|
|
12
|
-
potentialActions?: IOrderActionPotentialActions;
|
|
13
11
|
}
|
|
14
12
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
15
13
|
name: TaskName.PlaceOrder;
|
|
16
14
|
data: IData;
|
|
17
15
|
}
|
|
18
16
|
/**
|
|
19
|
-
*
|
|
17
|
+
* 注文タスク
|
|
20
18
|
*/
|
|
21
19
|
export declare type ITask = IExtendId<IAttributes>;
|
package/lib/task/sendOrder.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export declare type IObject = SendOrderActionFactory.IObject & {
|
|
|
9
9
|
export interface IData {
|
|
10
10
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
11
11
|
object: IObject;
|
|
12
|
-
potentialActions?: SendOrderActionFactory.IPotentialActions;
|
|
13
12
|
}
|
|
14
13
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
15
14
|
name: TaskName.SendOrder;
|