@chevre/factory 4.218.0 → 4.219.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/chevre.d.ts +5 -0
- package/lib/factory/action/authorize/award/point.d.ts +1 -1
- package/lib/factory/action/authorize/offer/product.d.ts +1 -1
- package/lib/factory/action/authorize/offer/seatReservation.d.ts +1 -1
- package/lib/factory/action/authorize/paymentMethod/any.d.ts +1 -1
- package/lib/factory/action.d.ts +13 -10
- package/package.json +1 -1
package/lib/chevre.d.ts
CHANGED
|
@@ -186,6 +186,11 @@ export declare namespace action {
|
|
|
186
186
|
export import IAdditionalProperty = ActionFactory.IAdditionalProperty;
|
|
187
187
|
export import IAttributes = ActionFactory.IAttributes;
|
|
188
188
|
export import IDynamicAttributes = ActionFactory.IDynamicAttributes;
|
|
189
|
+
export import IParticipantAsWebApplication = ActionFactory.IParticipantAsWebApplication;
|
|
190
|
+
export import IParticipantAsPerson = ActionFactory.IParticipantAsPerson;
|
|
191
|
+
export import IParticipantAsSeller = ActionFactory.IParticipantAsSeller;
|
|
192
|
+
export import IParticipantAsProject = ActionFactory.IParticipantAsProject;
|
|
193
|
+
export import IParticipantAsCustomer = ActionFactory.IParticipantAsCustomer;
|
|
189
194
|
export import IParticipant = ActionFactory.IParticipant;
|
|
190
195
|
export import IPurpose = ActionFactory.IPurpose;
|
|
191
196
|
export import ISortOrder = ActionFactory.ISortOrder;
|
|
@@ -2,7 +2,7 @@ import * as ActionFactory from '../../../action';
|
|
|
2
2
|
import { ActionType } from '../../../actionType';
|
|
3
3
|
import { TransactionType } from '../../../transactionType';
|
|
4
4
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
5
|
-
export declare type IAgent = ActionFactory.
|
|
5
|
+
export declare type IAgent = ActionFactory.IParticipantAsSeller;
|
|
6
6
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
7
7
|
export declare enum ObjectType {
|
|
8
8
|
PointAward = "PointAward"
|
|
@@ -8,7 +8,7 @@ import { IProduct } from '../../../product';
|
|
|
8
8
|
import { ISeller } from '../../../seller';
|
|
9
9
|
import { TransactionType } from '../../../transactionType';
|
|
10
10
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
11
|
-
export declare type IAgent = ActionFactory.
|
|
11
|
+
export declare type IAgent = ActionFactory.IParticipantAsSeller;
|
|
12
12
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
13
13
|
export declare type IService = IProduct;
|
|
14
14
|
export declare type IAcceptedOfferWithoutDetail = RegisterServiceTransactionFactory.IAcceptedOfferWithoutDetail;
|
|
@@ -11,7 +11,7 @@ import { PriceCurrency } from '../../../priceCurrency';
|
|
|
11
11
|
import * as WebAPIFactory from '../../../service/webAPI';
|
|
12
12
|
import { TransactionType } from '../../../transactionType';
|
|
13
13
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
14
|
-
export declare type IAgent = ActionFactory.
|
|
14
|
+
export declare type IAgent = ActionFactory.IParticipantAsSeller;
|
|
15
15
|
export declare type IRecipient = ActionFactory.IParticipant;
|
|
16
16
|
export declare enum ObjectType {
|
|
17
17
|
SeatReservation = "SeatReservation"
|
|
@@ -13,7 +13,7 @@ import { PaymentServiceType } from '../../../service/paymentService';
|
|
|
13
13
|
import { TransactionType } from '../../../transactionType';
|
|
14
14
|
import * as AuthorizeActionFactory from '../../authorize';
|
|
15
15
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
16
|
-
export declare type IRecipient = ActionFactory.
|
|
16
|
+
export declare type IRecipient = ActionFactory.IParticipantAsSeller;
|
|
17
17
|
export declare enum ResultType {
|
|
18
18
|
Payment = "Payment"
|
|
19
19
|
}
|
package/lib/factory/action.d.ts
CHANGED
|
@@ -9,22 +9,25 @@ import { IProject } from './project';
|
|
|
9
9
|
import { IPropertyValue } from './propertyValue';
|
|
10
10
|
import { ISeller } from './seller';
|
|
11
11
|
import { SortType } from './sortType';
|
|
12
|
-
export declare type
|
|
12
|
+
export declare type IParticipantAsWebApplication = Omit<IWebApplication, 'additionalProperty'>;
|
|
13
|
+
export declare type IParticipantAsPerson = Omit<IPerson, 'email' | 'telephone' | 'givenName' | 'familyName' | 'additionalProperty'>;
|
|
14
|
+
export declare type IParticipantAsSeller = Omit<ISeller, 'branchCode' | 'paymentAccepted' | 'project' | 'additionalProperty'>;
|
|
15
|
+
export declare type IParticipantAsProject = Omit<IProject, 'settings' | 'subscription' | 'alternateName' | 'description' | 'additionalProperty'>;
|
|
16
|
+
export declare type IParticipantAsCustomer = Omit<ICustomer, 'name' | 'branchCode' | 'contactPoint' | 'project' | 'additionalProperty'> & {
|
|
13
17
|
name?: string | IMultilingualString;
|
|
14
18
|
};
|
|
15
19
|
/**
|
|
16
|
-
*
|
|
17
|
-
* 継承先にて、インターフェースが強化される可能性あり
|
|
20
|
+
* アクションへの関係者
|
|
18
21
|
*/
|
|
19
|
-
export declare type IParticipant =
|
|
22
|
+
export declare type IParticipant = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsSeller | IParticipantAsProject | IParticipantAsCustomer;
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
24
|
+
* アクション目的
|
|
22
25
|
*/
|
|
23
26
|
export interface IPurpose {
|
|
24
27
|
typeOf: string;
|
|
25
28
|
}
|
|
26
29
|
/**
|
|
27
|
-
*
|
|
30
|
+
* 追加属性
|
|
28
31
|
*/
|
|
29
32
|
export declare type IAdditionalProperty = IPropertyValue<string>[];
|
|
30
33
|
/**
|
|
@@ -81,7 +84,7 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
|
|
|
81
84
|
typeOf: T;
|
|
82
85
|
}
|
|
83
86
|
/**
|
|
84
|
-
*
|
|
87
|
+
* アクション動的属性
|
|
85
88
|
* リポジトリに保管時にセット、あるいは変更される
|
|
86
89
|
*/
|
|
87
90
|
export interface IDynamicAttributes {
|
|
@@ -99,18 +102,18 @@ export interface IDynamicAttributes {
|
|
|
99
102
|
endDate?: Date;
|
|
100
103
|
}
|
|
101
104
|
/**
|
|
102
|
-
*
|
|
105
|
+
* 抽象アクション
|
|
103
106
|
* {@link https://schema.org/Action}
|
|
104
107
|
*/
|
|
105
108
|
export declare type IAction<TAttributes extends IAttributes<ActionType, any, any>> = IExtendId<TAttributes & IDynamicAttributes>;
|
|
106
109
|
/**
|
|
107
|
-
*
|
|
110
|
+
* ソート条件
|
|
108
111
|
*/
|
|
109
112
|
export interface ISortOrder {
|
|
110
113
|
startDate?: SortType;
|
|
111
114
|
}
|
|
112
115
|
/**
|
|
113
|
-
*
|
|
116
|
+
* 検索条件
|
|
114
117
|
*/
|
|
115
118
|
export interface ISearchConditions {
|
|
116
119
|
limit?: number;
|