@chevre/factory 4.335.0 → 4.337.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/README.md +0 -5
- package/lib/account/action/moneyTransfer.d.ts +5 -5
- package/lib/account/transaction/deposit.d.ts +3 -3
- package/lib/account/transaction/transfer.d.ts +3 -3
- package/lib/account/transaction/withdraw.d.ts +3 -3
- package/lib/account/transaction.d.ts +2 -2
- package/lib/action/authorize/award/point.d.ts +4 -4
- package/lib/action/authorize/offer/moneyTransfer.d.ts +8 -8
- package/lib/action/authorize/offer/product.d.ts +11 -11
- package/lib/action/authorize/offer/seatReservation/coa.d.ts +1 -1
- package/lib/action/authorize/offer/seatReservation.d.ts +22 -22
- package/lib/action/authorize/paymentMethod/any.d.ts +6 -6
- package/lib/action/authorize.d.ts +4 -4
- package/lib/action/cancel/reservation.d.ts +4 -4
- package/lib/action/check/paymentMethod/movieTicket.d.ts +7 -7
- package/lib/action/check/token.d.ts +4 -4
- package/lib/action/check.d.ts +3 -3
- package/lib/action/consume/use/reservation.d.ts +5 -5
- package/lib/action/consume/use.d.ts +4 -4
- package/lib/action/interact/confirm/moneyTransfer.d.ts +3 -3
- package/lib/action/interact/confirm/pay.d.ts +4 -4
- package/lib/action/interact/confirm/registerService.d.ts +4 -4
- package/lib/action/interact/confirm/reservation.d.ts +7 -7
- package/lib/action/interact/confirm.d.ts +6 -6
- package/lib/action/interact/inform.d.ts +6 -6
- package/lib/action/interact/register/service.d.ts +4 -4
- package/lib/action/interact/register.d.ts +5 -5
- package/lib/action/reserve.d.ts +5 -5
- package/lib/action/trade/order.d.ts +5 -5
- package/lib/action/trade/pay.d.ts +7 -7
- package/lib/action/trade/refund.d.ts +8 -8
- package/lib/action/transfer/give/pointAward.d.ts +5 -5
- package/lib/action/transfer/give.d.ts +6 -6
- package/lib/action/transfer/moneyTransfer.d.ts +9 -9
- package/lib/action/transfer/return/moneyTransfer.d.ts +5 -5
- package/lib/action/transfer/return/order.d.ts +5 -5
- package/lib/action/transfer/return/paymentMethod.d.ts +6 -6
- package/lib/action/transfer/return/pointAward.d.ts +6 -6
- package/lib/action/transfer/return/reserveTransaction.d.ts +8 -8
- package/lib/action/transfer/return.d.ts +3 -3
- package/lib/action/transfer/send/message/email.d.ts +6 -6
- package/lib/action/transfer/send/order.d.ts +5 -5
- package/lib/action/transfer/send.d.ts +7 -7
- package/lib/action/update/delete/member.d.ts +3 -3
- package/lib/action/update/delete.d.ts +5 -5
- package/lib/action.d.ts +7 -7
- package/lib/additionalProperty.d.ts +4 -4
- package/lib/assetTransaction/cancelReservation.d.ts +7 -7
- package/lib/assetTransaction/moneyTransfer.d.ts +10 -10
- package/lib/assetTransaction/pay.d.ts +7 -7
- package/lib/assetTransaction/refund.d.ts +7 -7
- package/lib/assetTransaction/registerService.d.ts +7 -7
- package/lib/assetTransaction/reserve.d.ts +16 -16
- package/lib/assetTransaction.d.ts +3 -3
- package/lib/authorization.d.ts +7 -7
- package/lib/autoGenerated.d.ts +1 -1
- package/lib/cognito.d.ts +2 -4
- package/lib/creativeWork/comment.d.ts +2 -2
- package/lib/creativeWork/movie.d.ts +1 -1
- package/lib/creativeWork.d.ts +1 -1
- package/lib/error/alreadyInUse.js +1 -1
- package/lib/error/argument.js +1 -1
- package/lib/error/argumentNull.js +1 -1
- package/lib/error/notFound.js +1 -1
- package/lib/event/anyEvent.d.ts +14 -14
- package/lib/event/screeningEvent.d.ts +12 -12
- package/lib/event/screeningEventSeries.d.ts +4 -4
- package/lib/event.d.ts +2 -2
- package/lib/iam.d.ts +2 -2
- package/lib/index.d.ts +1 -1
- package/lib/invoice.d.ts +11 -11
- package/lib/merchantReturnPolicy.d.ts +4 -4
- package/lib/offer/aggregateOffer.d.ts +1 -1
- package/lib/offer.d.ts +6 -6
- package/lib/offerCatalog.d.ts +2 -2
- package/lib/offerItemCondition.d.ts +1 -1
- package/lib/order.d.ts +30 -35
- package/lib/orderExternal.d.ts +1 -1
- package/lib/organization.d.ts +2 -2
- package/lib/ownershipInfo.d.ts +9 -9
- package/lib/paymentMethod/paymentCard.d.ts +1 -1
- package/lib/permit.d.ts +9 -9
- package/lib/person.d.ts +3 -3
- package/lib/place/movieTheater.d.ts +4 -18
- package/lib/place/screeningRoom.d.ts +2 -2
- package/lib/place/seat.d.ts +8 -6
- package/lib/place.d.ts +1 -2
- package/lib/priceSpecification/categoryCodeChargeSpecification.d.ts +1 -1
- package/lib/priceSpecification/compoundPriceSpecification.d.ts +2 -2
- package/lib/priceSpecification/unitPriceSpecification.d.ts +3 -3
- package/lib/priceSpecification.d.ts +2 -2
- package/lib/product.d.ts +10 -10
- package/lib/quantitativeValue.d.ts +1 -1
- package/lib/report/accountingReport.d.ts +7 -7
- package/lib/reservation/busReservation.d.ts +3 -3
- package/lib/reservation/event.d.ts +4 -4
- package/lib/reservation/reservationPackage.d.ts +2 -2
- package/lib/reservation.d.ts +12 -12
- package/lib/seller.d.ts +4 -4
- package/lib/service/paymentService.d.ts +3 -3
- package/lib/task/accountMoneyTransfer.d.ts +1 -1
- package/lib/task/aggregateScreeningEvent.d.ts +1 -1
- package/lib/task/aggregateUseActionsOnEvent.d.ts +1 -1
- package/lib/task/cancelAccountMoneyTransfer.d.ts +1 -1
- package/lib/task/cancelMoneyTransfer.d.ts +1 -1
- package/lib/task/cancelPendingReservation.d.ts +1 -1
- package/lib/task/cancelReservation.d.ts +1 -1
- package/lib/task/confirmMoneyTransfer.d.ts +2 -2
- package/lib/task/confirmPayTransaction.d.ts +2 -2
- package/lib/task/confirmRegisterService.d.ts +2 -2
- package/lib/task/confirmRegisterServiceTransaction.d.ts +2 -2
- package/lib/task/confirmReserveTransaction.d.ts +2 -2
- package/lib/task/createEvent.d.ts +3 -3
- package/lib/task/deleteTransaction.d.ts +5 -5
- package/lib/task/givePointAward.d.ts +2 -2
- package/lib/task/importEventCapacitiesFromCOA.d.ts +1 -1
- package/lib/task/importEventsFromCOA.d.ts +1 -1
- package/lib/task/importOffersFromCOA.d.ts +1 -1
- package/lib/task/moneyTransfer.d.ts +2 -2
- package/lib/task/onAssetTransactionStatusChanged.d.ts +1 -1
- package/lib/task/onAuthorizationCreated.d.ts +1 -1
- package/lib/task/onEventChanged.d.ts +1 -1
- package/lib/task/onOrderPaymentCompleted.d.ts +1 -1
- package/lib/task/onResourceUpdated.d.ts +6 -6
- package/lib/task/pay.d.ts +2 -2
- package/lib/task/placeOrder.d.ts +1 -1
- package/lib/task/refund.d.ts +2 -2
- package/lib/task/registerService.d.ts +2 -2
- package/lib/task/reserve.d.ts +1 -1
- package/lib/task/returnMoneyTransfer.d.ts +2 -2
- package/lib/task/returnOrder.d.ts +2 -2
- package/lib/task/returnPayTransaction.d.ts +2 -2
- package/lib/task/returnPointAward.d.ts +2 -2
- package/lib/task/returnReserveTransaction.d.ts +2 -2
- package/lib/task/sendEmailMessage.d.ts +1 -1
- package/lib/task/sendOrder.d.ts +2 -2
- package/lib/task/syncScreeningRooms.d.ts +1 -1
- package/lib/task/triggerWebhook.d.ts +2 -2
- package/lib/task/useReservation.d.ts +3 -3
- package/lib/task/voidMoneyTransferTransaction.d.ts +1 -1
- package/lib/task/voidPayTransaction.d.ts +2 -2
- package/lib/task/voidPayment.d.ts +2 -2
- package/lib/task/voidRegisterServiceTransaction.d.ts +1 -1
- package/lib/task/voidReserveTransaction.d.ts +2 -2
- package/lib/task.d.ts +3 -3
- package/lib/thing.d.ts +1 -1
- package/lib/transaction/moneyTransfer.d.ts +7 -7
- package/lib/transaction/placeOrder.d.ts +7 -7
- package/lib/transaction/returnOrder.d.ts +8 -8
- package/lib/transaction.d.ts +3 -3
- package/lib/trip/busTrip.d.ts +3 -3
- package/lib/unitPriceOffer/merchantReturnPolicy.d.ts +1 -1
- package/lib/unitPriceOffer.d.ts +4 -4
- package/package.json +9 -14
|
@@ -5,7 +5,7 @@ import { IAttributes as IScreeningEventSeriesAttributes } from '../event/screeni
|
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import * as TaskFactory from '../task';
|
|
7
7
|
import { TaskName } from '../taskName';
|
|
8
|
-
export
|
|
8
|
+
export type IActionObject = IScreeningEventAttributes[] | IScreeningEventSeriesAttributes[];
|
|
9
9
|
export interface IActionInstrument {
|
|
10
10
|
createScreeningEventSeriesIfNotExistByWorkPerformed: boolean;
|
|
11
11
|
/**
|
|
@@ -13,7 +13,7 @@ export interface IActionInstrument {
|
|
|
13
13
|
*/
|
|
14
14
|
createScreeningEventSeriesOnAllLocation?: boolean;
|
|
15
15
|
}
|
|
16
|
-
export
|
|
16
|
+
export type IData = IActionAttributes<ActionType.CreateAction, IActionObject, any> & {
|
|
17
17
|
instrument: IActionInstrument;
|
|
18
18
|
};
|
|
19
19
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
@@ -23,4 +23,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
23
23
|
/**
|
|
24
24
|
* イベント作成タスク
|
|
25
25
|
*/
|
|
26
|
-
export
|
|
26
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -12,15 +12,15 @@ export declare enum SpecifyingMethod {
|
|
|
12
12
|
Id = "Id",
|
|
13
13
|
AgentId = "AgentId"
|
|
14
14
|
}
|
|
15
|
-
export
|
|
15
|
+
export type IObjectAsMoneyTransfer = Pick<IMoneyTransfer, 'project' | 'id' | 'typeOf' | 'startDate' | 'endDate'> & {
|
|
16
16
|
object: Pick<IMoneyTransferObject, 'pendingTransaction'>;
|
|
17
17
|
specifyingMethod?: SpecifyingMethod.Id;
|
|
18
18
|
};
|
|
19
|
-
export
|
|
19
|
+
export type IObjectAsPlaceOrder = Pick<IPlaceOrder, 'project' | 'id' | 'typeOf' | 'startDate' | 'endDate'> & {
|
|
20
20
|
object: Pick<IPlaceOrderObject, 'confirmationNumber' | 'orderNumber'>;
|
|
21
21
|
specifyingMethod?: SpecifyingMethod.Id;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type IObjectAsReturnOrder = Pick<IReturnOrder, 'project' | 'id' | 'typeOf' | 'startDate' | 'endDate'> & {
|
|
24
24
|
object: Pick<IReturnOrderObject, 'order'>;
|
|
25
25
|
specifyingMethod?: SpecifyingMethod.Id;
|
|
26
26
|
};
|
|
@@ -34,7 +34,7 @@ export interface IObjectByAgentId {
|
|
|
34
34
|
id: string;
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
export
|
|
37
|
+
export type IObject = IObjectAsMoneyTransfer | IObjectAsPlaceOrder | IObjectAsReturnOrder | IObjectByAgentId;
|
|
38
38
|
export interface IData {
|
|
39
39
|
object: IObject;
|
|
40
40
|
}
|
|
@@ -45,4 +45,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
45
45
|
/**
|
|
46
46
|
* 取引削除タスク
|
|
47
47
|
*/
|
|
48
|
-
export
|
|
48
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IGivePointAwardActionAttributes } from '../action/transf
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IGivePointAwardActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.GivePointAward;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* ポイント特典付与タスク
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IMoneyTransferActionAttributes } from '../action/transfe
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IMoneyTransferActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.MoneyTransfer;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* 通貨転送タスクファクトリー
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -10,10 +10,10 @@ import { PlaceType } from '../placeType';
|
|
|
10
10
|
import { ProductType } from '../product';
|
|
11
11
|
import * as TaskFactory from '../task';
|
|
12
12
|
import { TaskName } from '../taskName';
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
13
|
+
export type AccountTitleType = IAccountTitle['typeOf'];
|
|
14
|
+
export type CategoryCodeType = ICategoryCode['typeOf'];
|
|
15
|
+
export type OfferCatalogType = IOfferCatalog['typeOf'];
|
|
16
|
+
export type IResourceTypeOf = AccountTitleType | CategoryCodeType | CreativeWorkType | EventType.ScreeningEventSeries | OrganizationType.Corporation | PlaceType.MovieTheater | ProductType | OfferCatalogType | OfferType.AggregateOffer;
|
|
17
17
|
export interface IData4common {
|
|
18
18
|
id: string[];
|
|
19
19
|
project: {
|
|
@@ -65,7 +65,7 @@ export interface IData4pos {
|
|
|
65
65
|
isDeleted: boolean;
|
|
66
66
|
useInform: boolean;
|
|
67
67
|
}
|
|
68
|
-
export
|
|
68
|
+
export type IData = IData4common | IData4screeningRoom | IData4pos;
|
|
69
69
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
70
70
|
name: TaskName.OnResourceUpdated;
|
|
71
71
|
data: IData;
|
|
@@ -73,4 +73,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
73
73
|
/**
|
|
74
74
|
* リソース変更時タスク
|
|
75
75
|
*/
|
|
76
|
-
export
|
|
76
|
+
export type ITask = IExtendId<IAttributes>;
|
package/lib/task/pay.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IAttributes as IPayActionAttributes } from '../action/trade/pay';
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IPayActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.Pay;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* 決済タスク
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
package/lib/task/placeOrder.d.ts
CHANGED
package/lib/task/refund.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IAttributes as IRefundActionAttributes } from '../action/trade/refund';
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IRefundActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.Refund;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* 返金タスクインターフェース
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -5,9 +5,9 @@ import { IAttributes as IRegisterServiceActionAttributes } from '../action/inter
|
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
6
|
import * as TaskFactory from '../task';
|
|
7
7
|
import { TaskName } from '../taskName';
|
|
8
|
-
export
|
|
8
|
+
export type IData = IRegisterServiceActionAttributes[];
|
|
9
9
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
10
10
|
name: TaskName.RegisterService;
|
|
11
11
|
data: IData;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
package/lib/task/reserve.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { IAttributes as IReturnMoneyTransferActionAttributes } from '../action/t
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IReturnMoneyTransferActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ReturnMoneyTransfer;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* 入金返却タスクインターフェース
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IReturnOrderActionAttributes } from '../action/transfer/
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = Pick<IReturnOrderActionAttributes, 'agent' | 'object' | 'project' | 'typeOf'>;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ReturnOrder;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* 注文返品タスク
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IReturnActionAttributes } from '../action/transfer/retur
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IReturnActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ReturnPayTransaction;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* 決済資産取引返却タスク
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IReturnPointAwardActionAttributes } from '../action/tran
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IReturnPointAwardActionAttributes;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.ReturnPointAward;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* ポイントインセンティブ返却タスクインターフェース
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -3,7 +3,7 @@ import { IExtendId } from '../autoGenerated';
|
|
|
3
3
|
import * as WebAPIFactory from '../service/webAPI';
|
|
4
4
|
import * as TaskFactory from '../task';
|
|
5
5
|
import { TaskName } from '../taskName';
|
|
6
|
-
export
|
|
6
|
+
export type IData = IReturnActionAttributes<WebAPIFactory.Identifier>;
|
|
7
7
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
8
8
|
name: TaskName.ReturnReserveTransaction;
|
|
9
9
|
data: IData;
|
|
@@ -11,4 +11,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
11
11
|
/**
|
|
12
12
|
* 予約資産取引返却タスク
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type ITask = IExtendId<IAttributes>;
|
package/lib/task/sendOrder.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { IExtendId } from '../autoGenerated';
|
|
|
3
3
|
import { IProject } from '../project';
|
|
4
4
|
import * as TaskFactory from '../task';
|
|
5
5
|
import { TaskName } from '../taskName';
|
|
6
|
-
export
|
|
6
|
+
export type IObject = SendOrderActionFactory.IObject & {
|
|
7
7
|
confirmationNumber: string;
|
|
8
8
|
};
|
|
9
9
|
export interface IData {
|
|
@@ -17,4 +17,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
17
17
|
/**
|
|
18
18
|
* 注文配送タスク
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { IAttributes as IInformActionAttributes } from '../action/interact/infor
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IData = IInformActionAttributes<any, any>;
|
|
6
6
|
export interface IAttributes extends TaskFactory.IAttributes {
|
|
7
7
|
name: TaskName.TriggerWebhook;
|
|
8
8
|
data: IData;
|
|
@@ -10,4 +10,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
10
10
|
/**
|
|
11
11
|
* ウェブフックタスクインターフェース
|
|
12
12
|
*/
|
|
13
|
-
export
|
|
13
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,8 +2,8 @@ import { IAttributes as IUseReservationActionAttributes, IReservationAsObject }
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type IUseReservationObject = Pick<IReservationAsObject, 'id' | 'typeOf'>;
|
|
6
|
+
export type IData = Pick<IUseReservationActionAttributes, 'agent' | 'instrument' | 'location' | 'project' | 'typeOf'> & {
|
|
7
7
|
object: IUseReservationObject;
|
|
8
8
|
/**
|
|
9
9
|
* 発券前に予約アクションを実行するかどうか
|
|
@@ -17,4 +17,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
17
17
|
/**
|
|
18
18
|
* 予約使用タスク
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -4,7 +4,7 @@ import { OrderStatus } from '../orderStatus';
|
|
|
4
4
|
import { IProject } from '../project';
|
|
5
5
|
import * as TaskFactory from '../task';
|
|
6
6
|
import { TaskName } from '../taskName';
|
|
7
|
-
export
|
|
7
|
+
export type IPurpose = IAuthorizePaymentPurpose & {
|
|
8
8
|
result?: {
|
|
9
9
|
order?: {
|
|
10
10
|
orderStatus?: OrderStatus.OrderCancelled;
|
|
@@ -26,4 +26,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
26
26
|
/**
|
|
27
27
|
* 決済中止タスクインターフェース
|
|
28
28
|
*/
|
|
29
|
-
export
|
|
29
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -2,7 +2,7 @@ import { ITransaction as IPayTransaction } from '../assetTransaction/pay';
|
|
|
2
2
|
import { IExtendId } from '../autoGenerated';
|
|
3
3
|
import * as TaskFactory from '../task';
|
|
4
4
|
import { TaskName } from '../taskName';
|
|
5
|
-
export
|
|
5
|
+
export type IPayTransactionAsObject = Pick<IPayTransaction, 'project' | 'typeOf' | 'id' | 'transactionNumber' | 'recipient' | 'object'>;
|
|
6
6
|
export interface IData {
|
|
7
7
|
object: IPayTransactionAsObject;
|
|
8
8
|
}
|
|
@@ -13,4 +13,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
13
13
|
/**
|
|
14
14
|
* 決済中止タスク
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export type ITask = IExtendId<IAttributes>;
|
|
@@ -4,7 +4,7 @@ import { OrderStatus } from '../orderStatus';
|
|
|
4
4
|
import { IProject } from '../project';
|
|
5
5
|
import * as TaskFactory from '../task';
|
|
6
6
|
import { TaskName } from '../taskName';
|
|
7
|
-
export
|
|
7
|
+
export type IPurpose = IAuthorizeEventServiceOfferPurpose & {
|
|
8
8
|
result?: {
|
|
9
9
|
order?: {
|
|
10
10
|
orderStatus?: OrderStatus.OrderCancelled;
|
|
@@ -26,4 +26,4 @@ export interface IAttributes extends TaskFactory.IAttributes {
|
|
|
26
26
|
/**
|
|
27
27
|
* 予約承認取消タスクインターフェース
|
|
28
28
|
*/
|
|
29
|
-
export
|
|
29
|
+
export type ITask = IExtendId<IAttributes>;
|
package/lib/task.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { IProject } from './project';
|
|
|
3
3
|
import { SortType } from './sortType';
|
|
4
4
|
import { TaskName } from './taskName';
|
|
5
5
|
import { TaskStatus } from './taskStatus';
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type IData = any;
|
|
7
|
+
export type IExecutionErrorAsObject = Error;
|
|
8
8
|
/**
|
|
9
9
|
* タスク実行結果
|
|
10
10
|
*/
|
|
@@ -19,7 +19,7 @@ export interface IExecutor {
|
|
|
19
19
|
/**
|
|
20
20
|
* タスク
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export type ITask = IExtendId<IAttributes>;
|
|
23
23
|
export interface IAttributes {
|
|
24
24
|
/**
|
|
25
25
|
* タスク識別子
|
package/lib/thing.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { PersonType } from '../personType';
|
|
|
8
8
|
import { IProject } from '../project';
|
|
9
9
|
import * as TransactionFactory from '../transaction';
|
|
10
10
|
import { TransactionType } from '../transactionType';
|
|
11
|
-
export
|
|
11
|
+
export type IAgent = TransactionFactory.IAgent;
|
|
12
12
|
export interface IRecipientAsPerson {
|
|
13
13
|
typeOf: PersonType.Person;
|
|
14
14
|
id: string;
|
|
@@ -17,14 +17,14 @@ export interface IRecipientAsPerson {
|
|
|
17
17
|
*/
|
|
18
18
|
name?: string;
|
|
19
19
|
}
|
|
20
|
-
export
|
|
20
|
+
export type IRecipient = IRecipientAsPerson;
|
|
21
21
|
export import ISeller = TransactionFactory.ISeller;
|
|
22
22
|
export import IPaymentCard = MoneyTransferAssetTransactionFactory.IPaymentCard;
|
|
23
23
|
export import ITokenizedPaymentCard = MoneyTransferAssetTransactionFactory.ITokenizedPaymentCard;
|
|
24
24
|
export import IOrderAsFromLocation = MoneyTransferAssetTransactionFactory.IOrderAsFromLocation;
|
|
25
25
|
export import IFromLocationBeforeStart = MoneyTransferAssetTransactionFactory.IFromLocationBeforeStart;
|
|
26
|
-
export
|
|
27
|
-
export
|
|
26
|
+
export type IFromLocation = IPaymentCard;
|
|
27
|
+
export type IToLocation = IPaymentCard;
|
|
28
28
|
export interface IObjectPendingTransaction {
|
|
29
29
|
typeOf?: AssetTransactionType.MoneyTransfer;
|
|
30
30
|
id?: string;
|
|
@@ -85,11 +85,11 @@ export interface IStartParams extends TransactionFactory.IStartParams<Transactio
|
|
|
85
85
|
*/
|
|
86
86
|
seller: ISeller;
|
|
87
87
|
}
|
|
88
|
-
export
|
|
88
|
+
export type IResult = any;
|
|
89
89
|
/**
|
|
90
90
|
* エラーインターフェース
|
|
91
91
|
*/
|
|
92
|
-
export
|
|
92
|
+
export type IError = any;
|
|
93
93
|
/**
|
|
94
94
|
* 取引対象物インターフェース
|
|
95
95
|
*/
|
|
@@ -122,7 +122,7 @@ export interface IPotentialActions {
|
|
|
122
122
|
*/
|
|
123
123
|
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
124
124
|
}
|
|
125
|
-
export
|
|
125
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
126
126
|
/**
|
|
127
127
|
* 転送取引インターフェース
|
|
128
128
|
*/
|
|
@@ -13,8 +13,8 @@ import { TransactionType } from '../transactionType';
|
|
|
13
13
|
/**
|
|
14
14
|
* 取引人
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
17
|
-
export
|
|
16
|
+
export type IAgent = TransactionFactory.IAgent;
|
|
17
|
+
export type ICustomer = OrderFactory.ICustomer;
|
|
18
18
|
export interface IPaymentMethodByPaymentUrl {
|
|
19
19
|
/**
|
|
20
20
|
* 決済方法区分
|
|
@@ -86,7 +86,7 @@ export interface IStartParamsWithoutDetail {
|
|
|
86
86
|
name?: string;
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
export
|
|
89
|
+
export type ISeller = TransactionFactory.ISeller & Pick<OrderFactory.ISeller, 'additionalProperty'>;
|
|
90
90
|
/**
|
|
91
91
|
* 取引開始パラメーター
|
|
92
92
|
*/
|
|
@@ -100,7 +100,7 @@ export interface IStartParams extends Omit<TransactionFactory.IStartParams<Trans
|
|
|
100
100
|
/**
|
|
101
101
|
* 注文通知パラメータ
|
|
102
102
|
*/
|
|
103
|
-
export
|
|
103
|
+
export type IInformOrderParams = IInformParams;
|
|
104
104
|
/**
|
|
105
105
|
* 予約確定パラメータ
|
|
106
106
|
*/
|
|
@@ -110,7 +110,7 @@ export interface IConfirmReservationParams {
|
|
|
110
110
|
*/
|
|
111
111
|
object?: IConfirmReservationObject<WebAPIFactory.Identifier>;
|
|
112
112
|
}
|
|
113
|
-
|
|
113
|
+
type ISendEmailMessageParams = TransactionFactory.ISendEmailMessageParams;
|
|
114
114
|
/**
|
|
115
115
|
* インセンティブ付与パラメータ
|
|
116
116
|
*/
|
|
@@ -182,7 +182,7 @@ export interface IResult {
|
|
|
182
182
|
/**
|
|
183
183
|
* エラー
|
|
184
184
|
*/
|
|
185
|
-
export
|
|
185
|
+
export type IError = any;
|
|
186
186
|
export interface IPotentialActions {
|
|
187
187
|
order: IOrderActionAttributes;
|
|
188
188
|
}
|
|
@@ -191,7 +191,7 @@ export interface IAttributes extends TransactionFactory.IAttributes<Omit<IStartP
|
|
|
191
191
|
/**
|
|
192
192
|
* 注文取引
|
|
193
193
|
*/
|
|
194
|
-
export
|
|
194
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
195
195
|
export interface ISearchConditions extends TransactionFactory.ISearchConditions<TransactionType.PlaceOrder> {
|
|
196
196
|
seller?: {
|
|
197
197
|
ids?: string[];
|
|
@@ -5,10 +5,10 @@ import { IOfferItemCondition } from '../offerItemCondition';
|
|
|
5
5
|
import { IProject } from '../project';
|
|
6
6
|
import * as TransactionFactory from '../transaction';
|
|
7
7
|
import { TransactionType } from '../transactionType';
|
|
8
|
-
export
|
|
8
|
+
export type IAgent = TransactionFactory.IAgent;
|
|
9
9
|
export import ISeller = TransactionFactory.ISeller;
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type IResult = any;
|
|
11
|
+
export type IError = any;
|
|
12
12
|
/**
|
|
13
13
|
* 返品理由
|
|
14
14
|
*/
|
|
@@ -54,7 +54,7 @@ export interface IStartParams extends Omit<TransactionFactory.IStartParams<Trans
|
|
|
54
54
|
seller: ISeller;
|
|
55
55
|
expiresInSeconds: number;
|
|
56
56
|
}
|
|
57
|
-
|
|
57
|
+
type ISendEmailMessageParams = TransactionFactory.ISendEmailMessageParams;
|
|
58
58
|
/**
|
|
59
59
|
* 返金アクションカスタムパラメータ
|
|
60
60
|
*/
|
|
@@ -136,11 +136,11 @@ export interface IReturnFeesMovieTicket {
|
|
|
136
136
|
typeOf: string;
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
|
-
export
|
|
139
|
+
export type IReturnPolicyItemCondition = IOfferItemCondition;
|
|
140
140
|
/**
|
|
141
141
|
* 取引に適用される返品ポリシー
|
|
142
142
|
*/
|
|
143
|
-
export
|
|
143
|
+
export type IReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'merchantReturnDays' | 'restockingFee' | 'returnFees' | 'applicablePaymentMethod'> & {
|
|
144
144
|
returnFees: ReturnFeesEnumeration;
|
|
145
145
|
/**
|
|
146
146
|
* 決済カードコードごとの着券取消実行有無
|
|
@@ -156,7 +156,7 @@ export interface IObject {
|
|
|
156
156
|
reason: Reason;
|
|
157
157
|
returnPolicy: IReturnPolicy;
|
|
158
158
|
}
|
|
159
|
-
export
|
|
159
|
+
export type IReturnOrderPotentialAction = Pick<IReturnOrderActionAttributes, 'agent' | 'object' | 'potentialActions' | 'typeOf'>;
|
|
160
160
|
export interface IPotentialActions {
|
|
161
161
|
/**
|
|
162
162
|
* 注文返品アクション属性
|
|
@@ -168,7 +168,7 @@ export interface IAttributes extends TransactionFactory.IAttributes<Omit<IStartP
|
|
|
168
168
|
/**
|
|
169
169
|
* 返品取引
|
|
170
170
|
*/
|
|
171
|
-
export
|
|
171
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
172
172
|
export interface ISearchConditions extends TransactionFactory.ISearchConditions<TransactionType.ReturnOrder> {
|
|
173
173
|
object?: {
|
|
174
174
|
order?: {
|