@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
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
3
|
+
export type IAgent = ActionFactory.IParticipant;
|
|
4
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
5
|
+
export type IObject = any;
|
|
6
|
+
export type IResult = any;
|
|
7
|
+
export type IPotentialActions = any;
|
|
8
|
+
export type IPurpose = any;
|
|
9
9
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.SendAction, TObject, TResult> {
|
|
10
10
|
agent: IAgent;
|
|
11
11
|
recipient: ActionFactory.IParticipant;
|
|
@@ -15,4 +15,4 @@ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes
|
|
|
15
15
|
/**
|
|
16
16
|
* 送信(配送)アクションインターフェース
|
|
17
17
|
*/
|
|
18
|
-
export
|
|
18
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPerson } from '../../../person';
|
|
2
2
|
import * as DeleteActionFactory from '../delete';
|
|
3
|
-
export
|
|
3
|
+
export type IObject = Pick<IPerson, 'id' | 'typeOf'> & {
|
|
4
4
|
/**
|
|
5
5
|
* 新ユーザープールへ移行するかどうか
|
|
6
6
|
*/
|
|
@@ -14,10 +14,10 @@ export declare type IObject = Pick<IPerson, 'id' | 'typeOf'> & {
|
|
|
14
14
|
*/
|
|
15
15
|
physically?: boolean;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type IResult = any;
|
|
18
18
|
export interface IAttributes extends Omit<DeleteActionFactory.IAttributes<IObject, IResult>, 'potentialActions'> {
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* 会員削除アクション
|
|
22
22
|
*/
|
|
23
|
-
export
|
|
23
|
+
export type IAction = DeleteActionFactory.IAction<IAttributes>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as ActionFactory from '../../action';
|
|
2
2
|
import { ActionType } from '../../actionType';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
3
|
+
export type IAgent = ActionFactory.IParticipant;
|
|
4
|
+
export type IRecipient = ActionFactory.IParticipant;
|
|
5
|
+
export type IObject = any;
|
|
6
|
+
export type IResult = any;
|
|
7
7
|
export interface IPotentialActions {
|
|
8
8
|
}
|
|
9
9
|
export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes<ActionType.DeleteAction, TObject, TResult> {
|
|
@@ -12,4 +12,4 @@ export interface IAttributes<TObject, TResult> extends ActionFactory.IAttributes
|
|
|
12
12
|
/**
|
|
13
13
|
* 削除アクションインターフェース
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type IAction<TAttributes extends IAttributes<IObject, IResult>> = ActionFactory.IAction<TAttributes>;
|
package/lib/action.d.ts
CHANGED
|
@@ -10,27 +10,27 @@ export interface IParticipantOptionalAttributes {
|
|
|
10
10
|
name?: string;
|
|
11
11
|
url?: string;
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type IParticipantAsWebApplication = IParticipantOptionalAttributes & {
|
|
14
14
|
typeOf: CreativeWorkType.WebApplication;
|
|
15
15
|
id: string;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
18
|
-
export
|
|
17
|
+
export type IParticipantAsPerson = IParticipantOptionalAttributes & Pick<IPersonAttributes, 'id' | 'typeOf'>;
|
|
18
|
+
export type IParticipantAsSeller = IParticipantOptionalAttributes & {
|
|
19
19
|
typeOf: OrganizationType.Corporation;
|
|
20
20
|
id: string;
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type IParticipantAsProject = IParticipantOptionalAttributes & {
|
|
23
23
|
typeOf: OrganizationType.Project;
|
|
24
24
|
id: string;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type IParticipantAsCustomer = IParticipantOptionalAttributes & {
|
|
27
27
|
typeOf: OrganizationType.Organization;
|
|
28
28
|
id: string;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* アクションへの関係者
|
|
32
32
|
*/
|
|
33
|
-
export
|
|
33
|
+
export type IParticipant = IParticipantAsWebApplication | IParticipantAsPerson | IParticipantAsSeller | IParticipantAsProject | IParticipantAsCustomer;
|
|
34
34
|
/**
|
|
35
35
|
* アクション目的
|
|
36
36
|
*/
|
|
@@ -76,7 +76,7 @@ export interface IDynamicAttributes {
|
|
|
76
76
|
* アクション
|
|
77
77
|
* {@link https://schema.org/Action}
|
|
78
78
|
*/
|
|
79
|
-
export
|
|
79
|
+
export type IAction<TAttributes extends IAttributes<ActionType, any, any>> = IExtendId<TAttributes & IDynamicAttributes>;
|
|
80
80
|
/**
|
|
81
81
|
* ソート条件
|
|
82
82
|
*/
|
|
@@ -10,10 +10,10 @@ import { PropertyValueType } from './propertyValue';
|
|
|
10
10
|
import { ISeller } from './seller';
|
|
11
11
|
import { SortType } from './sortType';
|
|
12
12
|
import { IThing } from './thing';
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
13
|
+
export type CategoryCodeType = ICategoryCode['typeOf'];
|
|
14
|
+
export type OfferCatalogType = IOfferCatalog['typeOf'];
|
|
15
|
+
export type SellerType = ISeller['typeOf'];
|
|
16
|
+
export type CategorySetIdentifier = CategoryCodeType | CreativeWorkType.Movie | EventType.ScreeningEvent | EventType.ScreeningEventSeries | PropertyValueType.LocationFeatureSpecification | OfferCatalogType | OfferType.Offer | OrderType.Order | SellerType;
|
|
17
17
|
/**
|
|
18
18
|
* {@link https://schema.org/CategoryCodeSet}
|
|
19
19
|
*/
|
|
@@ -7,17 +7,17 @@ import { IClientUser } from '../clientUser';
|
|
|
7
7
|
import { IReservation as IBusReservation, IReservationFor as IBusReservationFor } from '../reservation/busReservation';
|
|
8
8
|
import { IReservation as IEventReservation, IReservationFor as IEventReservationFor } from '../reservation/event';
|
|
9
9
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
10
|
-
export
|
|
10
|
+
export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObjectWithoutDetail>;
|
|
11
11
|
/**
|
|
12
12
|
* 取引開始パラメータ
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.CancelReservation, IAgent, undefined, IObject>;
|
|
15
15
|
export interface IResult {
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* エラー
|
|
19
19
|
*/
|
|
20
|
-
export
|
|
20
|
+
export type IError = any;
|
|
21
21
|
export interface IObjectWithoutDetail {
|
|
22
22
|
clientUser?: IClientUser;
|
|
23
23
|
reservation?: {
|
|
@@ -31,15 +31,15 @@ export interface IObjectWithoutDetail {
|
|
|
31
31
|
reservationNumber?: string;
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export
|
|
34
|
+
export type IReserveTransactionAsObject = Pick<IReserveTransaction, 'typeOf' | 'id' | 'transactionNumber'> & {
|
|
35
35
|
object: {
|
|
36
36
|
reservationFor: Pick<IEventReservationFor | IBusReservationFor, 'id' | 'typeOf'>;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type IBusReservationAsObject = Pick<IBusReservation, 'id' | 'issuedThrough' | 'reservationNumber' | 'typeOf'> & {
|
|
40
40
|
reservationFor: Pick<IBusReservationFor, 'id' | 'typeOf'>;
|
|
41
41
|
};
|
|
42
|
-
export
|
|
42
|
+
export type IEventReservationAsObject = Pick<IEventReservation, 'id' | 'issuedThrough' | 'reservationNumber' | 'typeOf'> & {
|
|
43
43
|
reservationFor: Pick<IEventReservationFor, 'id' | 'typeOf'>;
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
@@ -59,7 +59,7 @@ export interface IConfirmParams {
|
|
|
59
59
|
export interface IPotentialActions {
|
|
60
60
|
cancelReservation: ICancelReservationActionAttributes[];
|
|
61
61
|
}
|
|
62
|
-
export
|
|
62
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
63
63
|
/**
|
|
64
64
|
* 取引属性
|
|
65
65
|
*/
|
|
@@ -5,11 +5,11 @@ import { IExtendId } from '../autoGenerated';
|
|
|
5
5
|
import { OrderType } from '../order';
|
|
6
6
|
import { PermitType } from '../permit';
|
|
7
7
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
8
|
-
export
|
|
8
|
+
export type IRecipient = IMoneyTransferRecipient & {
|
|
9
9
|
name: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
12
|
-
export
|
|
11
|
+
export type IFromLocation = ILocation;
|
|
12
|
+
export type IToLocation = ILocation;
|
|
13
13
|
/**
|
|
14
14
|
* ペイメントカード
|
|
15
15
|
*/
|
|
@@ -28,7 +28,7 @@ export interface IPaymentCard {
|
|
|
28
28
|
/**
|
|
29
29
|
* トークン化されたペイメントカードンターフェース
|
|
30
30
|
*/
|
|
31
|
-
export
|
|
31
|
+
export type ITokenizedPaymentCard = string;
|
|
32
32
|
/**
|
|
33
33
|
* 転送元としての注文
|
|
34
34
|
*/
|
|
@@ -37,8 +37,8 @@ export interface IOrderAsFromLocation {
|
|
|
37
37
|
confirmationNumber: string;
|
|
38
38
|
orderNumber: string;
|
|
39
39
|
}
|
|
40
|
-
export
|
|
41
|
-
export
|
|
40
|
+
export type IFromLocationBeforeStart = IOrderAsFromLocation | IPaymentCard | ITokenizedPaymentCard;
|
|
41
|
+
export type IToLocationBeforeStart = IOrderAsFromLocation | IPaymentCard;
|
|
42
42
|
/**
|
|
43
43
|
* 取引対象物
|
|
44
44
|
*/
|
|
@@ -65,7 +65,7 @@ export interface IObject {
|
|
|
65
65
|
*/
|
|
66
66
|
force?: boolean;
|
|
67
67
|
}
|
|
68
|
-
export
|
|
68
|
+
export type IObjectWithoutDetail = IObject;
|
|
69
69
|
export interface IObjectBeforeStart {
|
|
70
70
|
/**
|
|
71
71
|
* 金額
|
|
@@ -101,8 +101,8 @@ export interface IStartParamsBeforeStart extends AssetTransactionFactory.IStartP
|
|
|
101
101
|
export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.MoneyTransfer, IAgent, IRecipient, IObject> {
|
|
102
102
|
recipient: IRecipient;
|
|
103
103
|
}
|
|
104
|
-
export
|
|
105
|
-
export
|
|
104
|
+
export type IResult = any;
|
|
105
|
+
export type IError = any;
|
|
106
106
|
export interface IPotentialActions {
|
|
107
107
|
/**
|
|
108
108
|
* 通貨転送アクション
|
|
@@ -114,7 +114,7 @@ export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartP
|
|
|
114
114
|
/**
|
|
115
115
|
* 転送取引
|
|
116
116
|
*/
|
|
117
|
-
export
|
|
117
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
118
118
|
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.MoneyTransfer> {
|
|
119
119
|
object?: {
|
|
120
120
|
fromLocation?: {
|
|
@@ -10,12 +10,12 @@ import { IOnPaymentStatusChanged } from '../project';
|
|
|
10
10
|
import { IPropertyValue } from '../propertyValue';
|
|
11
11
|
import { PaymentServiceType } from '../service/paymentService';
|
|
12
12
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
13
|
-
export
|
|
13
|
+
export type IRecipient = IPayRecipient;
|
|
14
14
|
/**
|
|
15
15
|
* ペイメントカードトークン
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
18
|
-
export
|
|
17
|
+
export type ITokenizedPaymentCard = string;
|
|
18
|
+
export type IFromLocation = ITokenizedPaymentCard;
|
|
19
19
|
/**
|
|
20
20
|
* クレジットカード決済承認に必要なクレジットカードインターフェース
|
|
21
21
|
*/
|
|
@@ -109,7 +109,7 @@ export interface IPaymentMethodWithoutDetail extends IPaymentMethod {
|
|
|
109
109
|
export interface IObjectWithoutDetail extends Pick<IObject, 'typeOf' | 'id' | 'paymentMethod'> {
|
|
110
110
|
paymentMethod: IPaymentMethodWithoutDetail;
|
|
111
111
|
}
|
|
112
|
-
export
|
|
112
|
+
export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Pay, IAgent, IRecipient, IObjectWithoutDetail> & {
|
|
113
113
|
location?: ILocation;
|
|
114
114
|
recipient: IRecipient;
|
|
115
115
|
purpose?: IPayPurpose;
|
|
@@ -143,11 +143,11 @@ export interface IConfirmParams {
|
|
|
143
143
|
endDate?: Date;
|
|
144
144
|
potentialActions: IPotentialActionsParams;
|
|
145
145
|
}
|
|
146
|
-
export
|
|
147
|
-
export
|
|
146
|
+
export type IResult = any;
|
|
147
|
+
export type IError = any;
|
|
148
148
|
export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartParams, IResult, IError, IPotentialActions> {
|
|
149
149
|
}
|
|
150
|
-
export
|
|
150
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
151
151
|
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.Pay> {
|
|
152
152
|
object?: {
|
|
153
153
|
accountId?: {
|
|
@@ -6,7 +6,7 @@ import { IExtendId } from '../autoGenerated';
|
|
|
6
6
|
import { IOnPaymentStatusChanged } from '../project';
|
|
7
7
|
import { PaymentServiceType } from '../service/paymentService';
|
|
8
8
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
9
|
-
export
|
|
9
|
+
export type IRecipient = IRefundRecipient;
|
|
10
10
|
/**
|
|
11
11
|
* 取引対象物
|
|
12
12
|
*/
|
|
@@ -22,11 +22,11 @@ export interface IObject {
|
|
|
22
22
|
paymentMethod: IPaymentMethod;
|
|
23
23
|
refundFee?: number;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
26
|
-
export
|
|
25
|
+
export type IObjectWithoutDetail = Pick<IObject, 'typeOf' | 'id' | 'paymentMethod' | 'refundFee'>;
|
|
26
|
+
export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObjectWithoutDetail>;
|
|
27
27
|
export interface IStartParams extends AssetTransactionFactory.IStartParams<AssetTransactionType.Refund, IAgent, IRecipient, IObject> {
|
|
28
28
|
}
|
|
29
|
-
export
|
|
29
|
+
export type IRefundPurpose = IReturnActionAsPayPurpose;
|
|
30
30
|
export interface IPotentialActionsParams {
|
|
31
31
|
refund?: {
|
|
32
32
|
purpose?: IRefundPurpose;
|
|
@@ -41,15 +41,15 @@ export interface IConfirmParams {
|
|
|
41
41
|
endDate?: Date;
|
|
42
42
|
potentialActions?: IPotentialActionsParams;
|
|
43
43
|
}
|
|
44
|
-
export
|
|
45
|
-
export
|
|
44
|
+
export type IResult = any;
|
|
45
|
+
export type IError = any;
|
|
46
46
|
export interface IPotentialActions {
|
|
47
47
|
/**
|
|
48
48
|
* 返金アクション
|
|
49
49
|
*/
|
|
50
50
|
refund: IRefundActionAttributes[];
|
|
51
51
|
}
|
|
52
|
-
export
|
|
52
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
53
53
|
/**
|
|
54
54
|
* 返金取引
|
|
55
55
|
*/
|
|
@@ -7,12 +7,12 @@ import { OfferType } from '../offerType';
|
|
|
7
7
|
import { IIssuedThroughAsProduct, IPermit } from '../permit';
|
|
8
8
|
import { IProduct } from '../product';
|
|
9
9
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
10
|
-
export
|
|
10
|
+
export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObjectWithoutDetail>;
|
|
11
11
|
/**
|
|
12
12
|
* 取引開始パラメーター
|
|
13
13
|
* サービス: MembershipService,PaymentCardであればserviceOutputを発行する
|
|
14
14
|
*/
|
|
15
|
-
export
|
|
15
|
+
export type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObject>;
|
|
16
16
|
/**
|
|
17
17
|
* 確定パラメータ
|
|
18
18
|
*/
|
|
@@ -30,7 +30,7 @@ export interface IResult {
|
|
|
30
30
|
/**
|
|
31
31
|
* エラー
|
|
32
32
|
*/
|
|
33
|
-
export
|
|
33
|
+
export type IError = any;
|
|
34
34
|
export interface IAcceptedPointAward {
|
|
35
35
|
purpose?: {
|
|
36
36
|
identifier?: string;
|
|
@@ -52,7 +52,7 @@ export interface IAcceptedPointAward {
|
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
export
|
|
55
|
+
export type IServiceOutput = Omit<IPermit, 'issuedThrough'> & {
|
|
56
56
|
issuedThrough?: IIssuedThroughAsProduct;
|
|
57
57
|
};
|
|
58
58
|
export interface IAcceptedItemOffered {
|
|
@@ -74,8 +74,8 @@ export interface IAcceptedOffer {
|
|
|
74
74
|
id: string;
|
|
75
75
|
itemOffered: IItemOffered;
|
|
76
76
|
}
|
|
77
|
-
export
|
|
78
|
-
export
|
|
77
|
+
export type IObjectWithoutDetail = IAcceptedOfferWithoutDetail[];
|
|
78
|
+
export type IObject = IAcceptedOffer[];
|
|
79
79
|
export interface IPotentialActions {
|
|
80
80
|
moneyTransfer: IMoneyTransferActionAttributes[];
|
|
81
81
|
registerService: IRegisterServiceActionAttributes[];
|
|
@@ -85,7 +85,7 @@ export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartP
|
|
|
85
85
|
/**
|
|
86
86
|
* 取引
|
|
87
87
|
*/
|
|
88
|
-
export
|
|
88
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
89
89
|
export interface ISearchConditions extends AssetTransactionFactory.ISearchConditions<AssetTransactionType.RegisterService> {
|
|
90
90
|
object?: {
|
|
91
91
|
itemOffered?: {
|
|
@@ -12,11 +12,11 @@ import { IReservation as IReservationPackage } from '../reservation/reservationP
|
|
|
12
12
|
import { ReservationType } from '../reservationType';
|
|
13
13
|
import { IUnitPriceOffer } from '../unitPriceOffer';
|
|
14
14
|
export import IAgent = AssetTransactionFactory.IAgent;
|
|
15
|
-
export
|
|
15
|
+
export type IStartParamsWithoutDetail = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObjectWithoutDetail>;
|
|
16
16
|
/**
|
|
17
17
|
* 取引開始パラメータ
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export type IStartParams = AssetTransactionFactory.IStartParams<AssetTransactionType.Reserve, IAgent, undefined, IObject>;
|
|
20
20
|
export interface IAcceptedProgramMembershipUsedAsObject {
|
|
21
21
|
accessCode?: string;
|
|
22
22
|
/**
|
|
@@ -33,12 +33,12 @@ export interface IAcceptedProgramMembershipUsedAsObject {
|
|
|
33
33
|
/**
|
|
34
34
|
* トークン化された適用メンバーシップ
|
|
35
35
|
*/
|
|
36
|
-
export
|
|
36
|
+
export type ITokenizedAcceptedProgramMembershipUsed = string;
|
|
37
37
|
/**
|
|
38
38
|
* 適用メンバーシップ
|
|
39
39
|
*/
|
|
40
|
-
export
|
|
41
|
-
export
|
|
40
|
+
export type IAcceptedProgramMembershipUsed = IAcceptedProgramMembershipUsedAsObject | ITokenizedAcceptedProgramMembershipUsed;
|
|
41
|
+
export type IAcceptedSubReservation = ISubReservation4eventReservation;
|
|
42
42
|
export interface IAcceptedPointAward {
|
|
43
43
|
typeOf: ActionType.MoneyTransfer;
|
|
44
44
|
recipient?: any;
|
|
@@ -104,7 +104,7 @@ export interface IEventReservatonAsItemOfferedServiceOutput {
|
|
|
104
104
|
};
|
|
105
105
|
subReservation?: IAcceptedSubReservation[];
|
|
106
106
|
}
|
|
107
|
-
export
|
|
107
|
+
export type IItemOfferedServiceOutput = IBusReservatonAsItemOfferedServiceOutput | IEventReservatonAsItemOfferedServiceOutput;
|
|
108
108
|
/**
|
|
109
109
|
* 受け入れられたオファーのアイテム
|
|
110
110
|
*/
|
|
@@ -146,7 +146,7 @@ export interface ISingleAcceptedAppliesToMovieTicket {
|
|
|
146
146
|
* 複数承認適用決済カード
|
|
147
147
|
* 複数指定の場合、カード識別子と決済方法区分の組み合わせで指定します
|
|
148
148
|
*/
|
|
149
|
-
export
|
|
149
|
+
export type IMultipleAcceptedAppliesToMovieTicket = {
|
|
150
150
|
/**
|
|
151
151
|
* 適用決済カード識別子
|
|
152
152
|
*/
|
|
@@ -161,7 +161,7 @@ export declare type IMultipleAcceptedAppliesToMovieTicket = {
|
|
|
161
161
|
/**
|
|
162
162
|
* 承認適用決済カード
|
|
163
163
|
*/
|
|
164
|
-
export
|
|
164
|
+
export type IAcceptedAppliesToMovieTicket = ISingleAcceptedAppliesToMovieTicket | IMultipleAcceptedAppliesToMovieTicket;
|
|
165
165
|
/**
|
|
166
166
|
* 受け入れられたチケットオファー(詳細なし)
|
|
167
167
|
*/
|
|
@@ -212,7 +212,7 @@ export interface IResult {
|
|
|
212
212
|
/**
|
|
213
213
|
* エラー
|
|
214
214
|
*/
|
|
215
|
-
export
|
|
215
|
+
export type IError = any;
|
|
216
216
|
export interface IObjectWithoutDetail {
|
|
217
217
|
acceptedOffer?: IAcceptedTicketOfferWithoutDetail[];
|
|
218
218
|
broker?: ReservationFactory.IBroker;
|
|
@@ -220,14 +220,14 @@ export interface IObjectWithoutDetail {
|
|
|
220
220
|
id: string;
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
|
-
export
|
|
224
|
-
export
|
|
225
|
-
export
|
|
226
|
-
export
|
|
227
|
-
export
|
|
223
|
+
export type IReservationFor = IBusReservationReservationFor | IEventReservationReservationFor;
|
|
224
|
+
export type IOmittedReservationProperty = 'reservationFor' | 'broker' | 'issuedThrough' | 'provider' | 'reservationStatus';
|
|
225
|
+
export type IObjectSubReservation = Omit<IBusReservation, IOmittedReservationProperty> | Omit<IEventReservation, IOmittedReservationProperty>;
|
|
226
|
+
export type IObjectSubReservationReservedTicket = Pick<ReservationFactory.ITicket, 'issuedBy' | 'ticketedSeat' | 'ticketType'>;
|
|
227
|
+
export type IMinimizedObjectSubReservation = Pick<IObjectSubReservation, 'typeOf' | 'id' | 'subReservation'> & {
|
|
228
228
|
reservedTicket: IObjectSubReservationReservedTicket;
|
|
229
229
|
};
|
|
230
|
-
export
|
|
230
|
+
export type IIssuedThrough = IBusReservationIssuedThrough | IEventReservationIssuedThrough;
|
|
231
231
|
/**
|
|
232
232
|
* 取引対象物
|
|
233
233
|
*/
|
|
@@ -251,7 +251,7 @@ export interface IAttributes extends AssetTransactionFactory.IAttributes<IStartP
|
|
|
251
251
|
/**
|
|
252
252
|
* 予約取引
|
|
253
253
|
*/
|
|
254
|
-
export
|
|
254
|
+
export type ITransaction = IExtendId<IAttributes>;
|
|
255
255
|
export interface IObjectSearchConditions {
|
|
256
256
|
provider?: {
|
|
257
257
|
id?: {
|
|
@@ -33,7 +33,7 @@ export interface IAgentAsPerson {
|
|
|
33
33
|
/**
|
|
34
34
|
* 資産取引主体は販売者or管理者
|
|
35
35
|
*/
|
|
36
|
-
export
|
|
36
|
+
export type IAgent = IAgentAsSeller | IAgentAsPerson;
|
|
37
37
|
export interface IProject {
|
|
38
38
|
id: string;
|
|
39
39
|
typeOf: OrganizationType.Project;
|
|
@@ -82,7 +82,7 @@ export interface IStartParams<T extends AssetTransactionType, TAgent extends IAg
|
|
|
82
82
|
/**
|
|
83
83
|
* 資産取引属性
|
|
84
84
|
*/
|
|
85
|
-
export
|
|
85
|
+
export type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
|
|
86
86
|
purpose?: any;
|
|
87
87
|
/**
|
|
88
88
|
* 取引状態
|
|
@@ -121,7 +121,7 @@ export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions
|
|
|
121
121
|
/**
|
|
122
122
|
* 資産取引
|
|
123
123
|
*/
|
|
124
|
-
export
|
|
124
|
+
export type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
|
|
125
125
|
/**
|
|
126
126
|
* ソート条件
|
|
127
127
|
*/
|
package/lib/authorization.d.ts
CHANGED
|
@@ -2,15 +2,15 @@ import { IOrder } from './order';
|
|
|
2
2
|
import { IOwnershipInfo, IPermitAsGood, IPermitIssuedThrough, IReservation } from './ownershipInfo';
|
|
3
3
|
import { IProject } from './project';
|
|
4
4
|
import { SortType } from './sortType';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
5
|
+
export type IOrderAsObject = Pick<IOrder, 'orderNumber' | 'typeOf'>;
|
|
6
|
+
export type IPermitIssuedThroughOfObjectTypeOfGood = Pick<IPermitIssuedThrough, 'id' | 'typeOf'>;
|
|
7
|
+
export type IPermitAsObjectTypeOfGood = Pick<IPermitAsGood, 'identifier' | 'typeOf'> & {
|
|
8
8
|
issuedThrough?: IPermitIssuedThroughOfObjectTypeOfGood;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
10
|
+
export type IPermitOwnershipInfoAsObject = Pick<IOwnershipInfo<IPermitAsObjectTypeOfGood>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
|
|
11
|
+
export type IReservationOwnershipInfoAsObject = Pick<IOwnershipInfo<IReservation>, 'id' | 'identifier' | 'typeOf' | 'typeOfGood'>;
|
|
12
|
+
export type IOwnershipInfoAsObject = IPermitOwnershipInfoAsObject | IReservationOwnershipInfoAsObject;
|
|
13
|
+
export type IObject = IOrderAsObject | IOwnershipInfoAsObject;
|
|
14
14
|
/**
|
|
15
15
|
* 承認
|
|
16
16
|
*/
|
package/lib/autoGenerated.d.ts
CHANGED
package/lib/cognito.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Cognitoインターフェース
|
|
3
3
|
*/
|
|
4
|
-
import type {
|
|
5
|
-
export
|
|
6
|
-
export declare type UserPoolClientListType = CognitoIdentityServiceProvider.UserPoolClientListType;
|
|
7
|
-
export declare type UserPoolType = CognitoIdentityServiceProvider.UserPoolType;
|
|
4
|
+
import type { UserPoolClientDescription, UserPoolClientType, UserPoolType } from '@aws-sdk/client-cognito-identity-provider';
|
|
5
|
+
export { UserPoolClientDescription, UserPoolClientType, UserPoolType };
|
|
@@ -7,8 +7,8 @@ export interface IAbout {
|
|
|
7
7
|
id: string;
|
|
8
8
|
typeOf: string;
|
|
9
9
|
}
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type IAuthor = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
|
|
11
|
+
export type IMention = Pick<IPerson, 'id' | 'name' | 'typeOf'>;
|
|
12
12
|
/**
|
|
13
13
|
* コメント
|
|
14
14
|
* {@link https://schema.org/Comment}
|
|
@@ -8,7 +8,7 @@ import { SortType } from '../sortType';
|
|
|
8
8
|
* コンテンツに対するオファー
|
|
9
9
|
* 最適化(2023-08-01~)
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export type IOffer = Pick<OfferFactory.IOffer, 'typeOf' | 'availabilityEnds' | 'availabilityStarts'>;
|
|
12
12
|
/**
|
|
13
13
|
* 配給者
|
|
14
14
|
*/
|
package/lib/creativeWork.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { IThing } from './thing';
|
|
|
5
5
|
export interface ICopyrightHolder {
|
|
6
6
|
name: string;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type IContentRating = COA.factory.master.IKubunNameResult | string;
|
|
9
9
|
/**
|
|
10
10
|
* 作品
|
|
11
11
|
* {@link https://schema.org/CreativeWork}
|
|
@@ -29,7 +29,7 @@ var AlreadyInUseError = /** @class */ (function (_super) {
|
|
|
29
29
|
var _this = this;
|
|
30
30
|
var actualMessage = message;
|
|
31
31
|
if (message === undefined || message.length === 0) {
|
|
32
|
-
actualMessage = "The specified '"
|
|
32
|
+
actualMessage = "The specified '".concat(entityName, "' value is already in use for: ").concat(fieldNames.join(', '), ".");
|
|
33
33
|
}
|
|
34
34
|
// tslint:disable-next-line:no-single-line-block-comment
|
|
35
35
|
_this = _super.call(this, errorCode_1.ErrorCode.AlreadyInUse, actualMessage) /* istanbul ignore next */ || this;
|
package/lib/error/argument.js
CHANGED
|
@@ -29,7 +29,7 @@ var ArgumentError = /** @class */ (function (_super) {
|
|
|
29
29
|
var _this = this;
|
|
30
30
|
var actualMessage = message;
|
|
31
31
|
if (message === undefined || message.length === 0) {
|
|
32
|
-
actualMessage = "Invalid or missing argument supplied: "
|
|
32
|
+
actualMessage = "Invalid or missing argument supplied: ".concat(argumentName, ".");
|
|
33
33
|
}
|
|
34
34
|
// tslint:disable-next-line:no-single-line-block-comment
|
|
35
35
|
_this = _super.call(this, errorCode_1.ErrorCode.Argument, actualMessage) /* istanbul ignore next */ || this;
|
|
@@ -29,7 +29,7 @@ var ArgumentNullError = /** @class */ (function (_super) {
|
|
|
29
29
|
var _this = this;
|
|
30
30
|
var actualMessage = message;
|
|
31
31
|
if (message === undefined || message.length === 0) {
|
|
32
|
-
actualMessage = "Missing argument: "
|
|
32
|
+
actualMessage = "Missing argument: ".concat(argumentName, ".");
|
|
33
33
|
}
|
|
34
34
|
// tslint:disable-next-line:no-single-line-block-comment
|
|
35
35
|
_this = _super.call(this, errorCode_1.ErrorCode.ArgumentNull, actualMessage) /* istanbul ignore next */ || this;
|
package/lib/error/notFound.js
CHANGED
|
@@ -29,7 +29,7 @@ var NotFoundError = /** @class */ (function (_super) {
|
|
|
29
29
|
var _this = this;
|
|
30
30
|
var actualMessage = message;
|
|
31
31
|
if (message === undefined || message.length === 0) {
|
|
32
|
-
actualMessage = "Not Found: "
|
|
32
|
+
actualMessage = "Not Found: ".concat(entityName, ".");
|
|
33
33
|
}
|
|
34
34
|
// tslint:disable-next-line:no-single-line-block-comment
|
|
35
35
|
_this = _super.call(this, errorCode_1.ErrorCode.NotFound, actualMessage) /* istanbul ignore next */ || this;
|