@chevre/factory 4.183.0 → 4.186.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/factory/action/consume/use/reservation.d.ts +6 -0
- package/lib/factory/action/transfer/return/order.d.ts +6 -1
- package/lib/factory/action.d.ts +3 -1
- package/lib/factory/order.d.ts +36 -0
- package/lib/factory/task/importOffersFromCOA.d.ts +1 -1
- package/lib/factory/transaction/returnOrder.d.ts +2 -9
- package/package.json +1 -1
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
import { PlaceType } from '../../../placeType';
|
|
1
2
|
import { IReservation } from '../../../reservation/event';
|
|
2
3
|
import * as UseActionFactory from '../use';
|
|
3
4
|
export declare type IObject = IReservation[];
|
|
4
5
|
export declare type IResult = any;
|
|
6
|
+
export interface ILocation {
|
|
7
|
+
typeOf: PlaceType.Place;
|
|
8
|
+
identifier: string;
|
|
9
|
+
}
|
|
5
10
|
export declare type IPotentialActions = any;
|
|
6
11
|
export interface IAttributes extends UseActionFactory.IAttributes<IObject, IResult> {
|
|
12
|
+
location?: ILocation;
|
|
7
13
|
potentialActions?: IPotentialActions;
|
|
8
14
|
}
|
|
9
15
|
/**
|
|
@@ -11,7 +11,12 @@ export declare type IRecipient = ActionFactory.IParticipant;
|
|
|
11
11
|
/**
|
|
12
12
|
* 返却対象は注文
|
|
13
13
|
*/
|
|
14
|
-
export declare type IObject = OrderFactory.ISimpleOrder
|
|
14
|
+
export declare type IObject = OrderFactory.ISimpleOrder & {
|
|
15
|
+
/**
|
|
16
|
+
* 返品日時
|
|
17
|
+
*/
|
|
18
|
+
dateReturned: Date;
|
|
19
|
+
};
|
|
15
20
|
export declare type IResult = any;
|
|
16
21
|
export interface IPotentialActions {
|
|
17
22
|
/**
|
package/lib/factory/action.d.ts
CHANGED
|
@@ -46,8 +46,9 @@ export interface IAttributes<T extends ActionType, TObject, TResult> {
|
|
|
46
46
|
*/
|
|
47
47
|
error?: any;
|
|
48
48
|
/**
|
|
49
|
-
* The
|
|
49
|
+
* The location of, for example, where an event is happening, where an organization is located, or where an action takes place.
|
|
50
50
|
*/
|
|
51
|
+
location?: any;
|
|
51
52
|
instrument?: any;
|
|
52
53
|
/**
|
|
53
54
|
* アクション対象
|
|
@@ -94,6 +95,7 @@ export interface IDynamicAttributes {
|
|
|
94
95
|
}
|
|
95
96
|
/**
|
|
96
97
|
* 抽象アクションインターフェース
|
|
98
|
+
* {@link https://schema.org/Action}
|
|
97
99
|
*/
|
|
98
100
|
export declare type IAction<TAttributes extends IAttributes<ActionType, any, any>> = IExtendId<TAttributes & IDynamicAttributes>;
|
|
99
101
|
/**
|
package/lib/factory/order.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import * as PermitFactory from './permit';
|
|
|
13
13
|
import { IIdentifier as IPersonIdentifier, IPerson, IProfile } from './person';
|
|
14
14
|
import PersonType from './personType';
|
|
15
15
|
import PriceCurrency from './priceCurrency';
|
|
16
|
+
import { ProductType } from './product';
|
|
16
17
|
import { IPropertyValue } from './propertyValue';
|
|
17
18
|
import { IProgramMembershipUsedSearchConditions } from './reservation';
|
|
18
19
|
import * as EventReservationFactory from './reservation/event';
|
|
@@ -332,25 +333,60 @@ export interface ICustomerSearchConditions {
|
|
|
332
333
|
};
|
|
333
334
|
}
|
|
334
335
|
export interface IPaymentMethodsSearchConditions {
|
|
336
|
+
/**
|
|
337
|
+
* 決済アカウントID
|
|
338
|
+
* ムビチケ購入番号、ペイメントカード番号など
|
|
339
|
+
*/
|
|
335
340
|
accountIds?: string[];
|
|
341
|
+
/**
|
|
342
|
+
* 決済方法区分コード
|
|
343
|
+
*/
|
|
336
344
|
typeOfs?: AvailablePaymentMethodType[];
|
|
345
|
+
/**
|
|
346
|
+
* 決済方法ID
|
|
347
|
+
* 決済代行オーダーIDなど
|
|
348
|
+
*/
|
|
337
349
|
paymentMethodIds?: string[];
|
|
338
350
|
}
|
|
339
351
|
export interface IAcceptedOffersSearchConditions {
|
|
340
352
|
itemOffered?: {
|
|
353
|
+
/**
|
|
354
|
+
* アイテムタイプ
|
|
355
|
+
* 現状、EventReservation or Permit
|
|
356
|
+
*/
|
|
341
357
|
typeOf?: {
|
|
342
358
|
$in?: string[];
|
|
343
359
|
};
|
|
360
|
+
/**
|
|
361
|
+
* アイテムコード
|
|
362
|
+
* メンバーシップコード、ペイメントカード番号など
|
|
363
|
+
*/
|
|
344
364
|
identifier?: {
|
|
345
365
|
$in?: string[];
|
|
346
366
|
};
|
|
347
367
|
issuedThrough?: {
|
|
368
|
+
/**
|
|
369
|
+
* 発行サービスID
|
|
370
|
+
*/
|
|
348
371
|
id?: {
|
|
349
372
|
$in?: string[];
|
|
350
373
|
};
|
|
374
|
+
/**
|
|
375
|
+
* 発行サービスタイプ
|
|
376
|
+
*/
|
|
377
|
+
typeOf?: {
|
|
378
|
+
$eq?: ProductType;
|
|
379
|
+
};
|
|
351
380
|
};
|
|
381
|
+
/**
|
|
382
|
+
* アイテムID
|
|
383
|
+
* 予約IDなど
|
|
384
|
+
*/
|
|
352
385
|
ids?: string[];
|
|
353
386
|
reservationFor?: IReservationForSearchConditions;
|
|
387
|
+
/**
|
|
388
|
+
* 予約番号
|
|
389
|
+
*/
|
|
354
390
|
reservationNumbers?: string[];
|
|
355
391
|
/**
|
|
356
392
|
* 使用メンバーシップ
|
|
@@ -3,7 +3,6 @@ import * as ReturnReservationActionFactory from '../action/transfer/return/reser
|
|
|
3
3
|
import { IExtendId } from '../autoGenerated';
|
|
4
4
|
import { IMerchantReturnPolicy } from '../merchantReturnPolicy';
|
|
5
5
|
import { IInformParams, IProject } from '../project';
|
|
6
|
-
import * as WebAPIFactory from '../service/webAPI';
|
|
7
6
|
import * as TransactionFactory from '../transaction';
|
|
8
7
|
import TransactionType from '../transactionType';
|
|
9
8
|
export declare type IAgent = TransactionFactory.IAgent;
|
|
@@ -62,14 +61,8 @@ export import ICancelReservationObject = ReturnReservationActionFactory.IObject;
|
|
|
62
61
|
export import ICancelReservationPotentialActions = ReturnReservationActionFactory.IPotentialActions;
|
|
63
62
|
/**
|
|
64
63
|
* 予約取消パラメータ
|
|
64
|
+
* 廃止済
|
|
65
65
|
*/
|
|
66
|
-
export interface ICancelReservationParams {
|
|
67
|
-
/**
|
|
68
|
-
* 確定対象
|
|
69
|
-
*/
|
|
70
|
-
object?: ICancelReservationObject<WebAPIFactory.Identifier>;
|
|
71
|
-
potentialActions?: ICancelReservationPotentialActions;
|
|
72
|
-
}
|
|
73
66
|
declare type ISendEmailMessageParams = TransactionFactory.ISendEmailMessageParams;
|
|
74
67
|
/**
|
|
75
68
|
* クレジットカード返金パラメータ
|
|
@@ -105,8 +98,8 @@ export interface IReturnOrderActionParams {
|
|
|
105
98
|
potentialActions?: {
|
|
106
99
|
/**
|
|
107
100
|
* 予約取消アクション
|
|
101
|
+
* 廃止済
|
|
108
102
|
*/
|
|
109
|
-
cancelReservation?: ICancelReservationParams[];
|
|
110
103
|
/**
|
|
111
104
|
* クレジットカード返金アクションについてカスタマイズする場合に指定
|
|
112
105
|
*/
|