@chevre/factory 4.388.0-alpha.1 → 4.388.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/project.d.ts
CHANGED
|
@@ -26,12 +26,6 @@ export interface IOnPaymentStatusChanged {
|
|
|
26
26
|
export interface IOnReservationUsed {
|
|
27
27
|
informAction?: IInformParams[];
|
|
28
28
|
}
|
|
29
|
-
/**
|
|
30
|
-
* 注文ステータス変更時イベント
|
|
31
|
-
*/
|
|
32
|
-
export interface IOnOrderStatusChanged {
|
|
33
|
-
informOrder?: IInformParams[];
|
|
34
|
-
}
|
|
35
29
|
/**
|
|
36
30
|
* ウェブフック設定
|
|
37
31
|
*/
|
|
@@ -52,7 +46,6 @@ export interface ISendEmailMessageSettings {
|
|
|
52
46
|
*/
|
|
53
47
|
export interface ISettings {
|
|
54
48
|
importEventsInWeeks?: number;
|
|
55
|
-
onOrderStatusChanged?: IOnOrderStatusChanged;
|
|
56
49
|
sendEmailMessage?: ISendEmailMessageSettings;
|
|
57
50
|
sendgridApiKey?: string;
|
|
58
51
|
useMyCreditCards?: boolean;
|
|
@@ -5,6 +5,10 @@ import * as TaskFactory from '../task';
|
|
|
5
5
|
import { TaskName } from '../taskName';
|
|
6
6
|
export type INotification = IOrder4inform | IReservation4inform | IReservation4inform[];
|
|
7
7
|
export interface IData {
|
|
8
|
+
/**
|
|
9
|
+
* 通知識別子
|
|
10
|
+
*/
|
|
11
|
+
identifier?: string;
|
|
8
12
|
object: INotification;
|
|
9
13
|
}
|
|
10
14
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
@@ -2,7 +2,12 @@ import { IAttributes as IInformActionAttributes, IObject } from '../action/inter
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export type IPotentialInformAction = Pick<IInformActionAttributes<IObject>, 'object' | 'purpose' | 'recipient'
|
|
5
|
+
export type IPotentialInformAction = Pick<IInformActionAttributes<IObject>, 'object' | 'purpose' | 'recipient'> & {
|
|
6
|
+
/**
|
|
7
|
+
* 通知識別子(2024-10-24~)
|
|
8
|
+
*/
|
|
9
|
+
identifier?: string;
|
|
10
|
+
};
|
|
6
11
|
export type IData = IPotentialInformAction;
|
|
7
12
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
8
13
|
name: TaskName.TriggerWebhook;
|