@chevre/factory 8.2.0-alpha.7 → 8.2.0-alpha.8
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,4 +1,3 @@
|
|
|
1
|
-
import type { passport } from '@waiter/factory';
|
|
2
1
|
import { IAttributes as ISendEmailMessageActionAttributes } from '../action/transfer/send/message/email';
|
|
3
2
|
import { IExtendId } from '../autoGenerated';
|
|
4
3
|
import { IClientUser } from '../clientUser';
|
|
@@ -19,7 +18,7 @@ export type IAgent = IBaseAgent & {
|
|
|
19
18
|
* 外部メンバーシップトークン
|
|
20
19
|
*/
|
|
21
20
|
memberOfToken?: string;
|
|
22
|
-
memberOfPayload?:
|
|
21
|
+
memberOfPayload?: never;
|
|
23
22
|
};
|
|
24
23
|
export type ICustomerInObject = Pick<IOrderCustomer, 'id' | 'identifier' | 'typeOf'>;
|
|
25
24
|
export interface IPaymentMethodByPaymentUrl {
|
|
@@ -30,10 +29,8 @@ export interface IPaymentMethodByPaymentUrl {
|
|
|
30
29
|
paymentMethodId: string;
|
|
31
30
|
}
|
|
32
31
|
export interface IObject {
|
|
33
|
-
clientUser?: Omit<IClientUser, 'scope' | 'scopes'>;
|
|
34
32
|
broker?: Pick<IBroker, 'id' | 'typeOf'>;
|
|
35
33
|
customer?: ICustomerInObject;
|
|
36
|
-
identifier?: IOrderIdentifier;
|
|
37
34
|
/**
|
|
38
35
|
* 確認番号
|
|
39
36
|
*/
|
|
@@ -50,11 +47,11 @@ export interface IObject {
|
|
|
50
47
|
* 決済URLでの決済情報
|
|
51
48
|
*/
|
|
52
49
|
paymentMethods?: IPaymentMethodByPaymentUrl;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
passport?: passport.IPassport;
|
|
50
|
+
identifier?: never;
|
|
51
|
+
clientUser?: never;
|
|
52
|
+
passport?: never;
|
|
57
53
|
}
|
|
54
|
+
export type IClientUserBeforeStart = Pick<IClientUser, 'aud' | 'client_id' | 'exp' | 'iat' | 'iss' | 'jti' | 'sub' | 'token_use' | 'username'>;
|
|
58
55
|
export interface IStartParamsWithoutDetail {
|
|
59
56
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
60
57
|
agent: IAgent;
|
|
@@ -62,7 +59,7 @@ export interface IStartParamsWithoutDetail {
|
|
|
62
59
|
id: string;
|
|
63
60
|
};
|
|
64
61
|
object: {
|
|
65
|
-
clientUser?:
|
|
62
|
+
clientUser?: IClientUserBeforeStart;
|
|
66
63
|
customer?: ICustomerInObject;
|
|
67
64
|
passport?: IPassportBeforeStart;
|
|
68
65
|
/**
|
|
@@ -143,7 +140,7 @@ export interface IConfirmParams {
|
|
|
143
140
|
*/
|
|
144
141
|
result?: IResultParams;
|
|
145
142
|
}
|
|
146
|
-
export type IOrderAsResult = Pick<IOrder, 'confirmationNumber' | 'identifier' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'price' | 'priceCurrency' | 'typeOf' | 'url'
|
|
143
|
+
export type IOrderAsResult = Pick<IOrder, 'confirmationNumber' | 'identifier' | 'orderDate' | 'orderNumber' | 'orderStatus' | 'price' | 'priceCurrency' | 'typeOf' | 'url'> & {};
|
|
147
144
|
export interface IAuthorizeActionAsResult {
|
|
148
145
|
id: string;
|
|
149
146
|
}
|