@chevre/factory 4.278.0 → 4.279.0-alpha.1
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
|
@@ -54,10 +54,6 @@ export interface ISettings {
|
|
|
54
54
|
transactionWebhookUrls?: string[];
|
|
55
55
|
useMyCreditCards?: boolean;
|
|
56
56
|
useUsernameAsGMOMemberId?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* プロダクトとしての興行管理を利用するかどうか
|
|
59
|
-
*/
|
|
60
|
-
useEventServiceAsProduct?: boolean;
|
|
61
57
|
}
|
|
62
58
|
/**
|
|
63
59
|
* プロジェクト
|
|
@@ -71,6 +67,9 @@ export interface IProject extends IOrganization {
|
|
|
71
67
|
settings?: ISettings;
|
|
72
68
|
subscription?: {
|
|
73
69
|
identifier?: string;
|
|
70
|
+
/**
|
|
71
|
+
* プロダクトとしての興行管理を利用するかどうか
|
|
72
|
+
*/
|
|
74
73
|
useEventServiceAsProduct?: boolean;
|
|
75
74
|
};
|
|
76
75
|
}
|
|
@@ -76,7 +76,7 @@ export interface IObject {
|
|
|
76
76
|
}
|
|
77
77
|
export interface IStartParamsWithoutDetail {
|
|
78
78
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
79
|
-
|
|
79
|
+
expiresInSeconds?: number;
|
|
80
80
|
agent: IAgent;
|
|
81
81
|
seller: {
|
|
82
82
|
id: string;
|
|
@@ -95,11 +95,12 @@ export declare type ISeller = TransactionFactory.ISeller;
|
|
|
95
95
|
/**
|
|
96
96
|
* 取引開始パラメーター
|
|
97
97
|
*/
|
|
98
|
-
export interface IStartParams extends TransactionFactory.IStartParams<TransactionType.PlaceOrder, IAgent, undefined, IObject> {
|
|
98
|
+
export interface IStartParams extends Omit<TransactionFactory.IStartParams<TransactionType.PlaceOrder, IAgent, undefined, IObject>, 'expires'> {
|
|
99
99
|
/**
|
|
100
100
|
* 販売者
|
|
101
101
|
*/
|
|
102
102
|
seller: ISeller;
|
|
103
|
+
expiresInSeconds: number;
|
|
103
104
|
}
|
|
104
105
|
/**
|
|
105
106
|
* 注文通知パラメータ
|
|
@@ -190,7 +191,7 @@ export declare type IError = any;
|
|
|
190
191
|
export interface IPotentialActions {
|
|
191
192
|
order: IOrderActionAttributes;
|
|
192
193
|
}
|
|
193
|
-
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
194
|
+
export interface IAttributes extends TransactionFactory.IAttributes<Omit<IStartParams, 'expiresInSeconds'>, IResult, IError, IPotentialActions> {
|
|
194
195
|
}
|
|
195
196
|
/**
|
|
196
197
|
* 注文取引
|
|
@@ -33,7 +33,7 @@ export interface IReturnableOrder {
|
|
|
33
33
|
*/
|
|
34
34
|
export interface IStartParamsWithoutDetail {
|
|
35
35
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
36
|
-
|
|
36
|
+
expiresInSeconds?: number;
|
|
37
37
|
agent: IAgent;
|
|
38
38
|
object: {
|
|
39
39
|
order: IReturnableOrder | IReturnableOrder[];
|
|
@@ -46,11 +46,12 @@ export interface IStartParamsWithoutDetail {
|
|
|
46
46
|
/**
|
|
47
47
|
* 取引開始パラメータ
|
|
48
48
|
*/
|
|
49
|
-
export interface IStartParams extends TransactionFactory.IStartParams<TransactionType.ReturnOrder, IAgent, undefined, IObject> {
|
|
49
|
+
export interface IStartParams extends Omit<TransactionFactory.IStartParams<TransactionType.ReturnOrder, IAgent, undefined, IObject>, 'expires'> {
|
|
50
50
|
/**
|
|
51
51
|
* 販売者
|
|
52
52
|
*/
|
|
53
53
|
seller: ISeller;
|
|
54
|
+
expiresInSeconds: number;
|
|
54
55
|
}
|
|
55
56
|
declare type ISendEmailMessageParams = TransactionFactory.ISendEmailMessageParams;
|
|
56
57
|
/**
|
|
@@ -152,7 +153,7 @@ export interface IPotentialActions {
|
|
|
152
153
|
*/
|
|
153
154
|
returnOrder: IReturnOrderActionAttributes[];
|
|
154
155
|
}
|
|
155
|
-
export interface IAttributes extends TransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
156
|
+
export interface IAttributes extends TransactionFactory.IAttributes<Omit<IStartParams, 'expiresInSeconds'>, IResult, IError, IPotentialActions> {
|
|
156
157
|
}
|
|
157
158
|
/**
|
|
158
159
|
* 返品取引
|