@chevre/factory 4.336.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 -14
- 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
package/lib/transaction.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export interface IAgentAsWebApplication extends Pick<IWebApplication, 'id' | 'id
|
|
|
16
16
|
export interface IAgentAsPerson extends Pick<IPersonAttributes, 'id' | 'identifier' | 'memberOf' | 'typeOf'> {
|
|
17
17
|
name?: string;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export type IAgent = IAgentAsWebApplication | IAgentAsPerson;
|
|
20
20
|
/**
|
|
21
21
|
* 販売者
|
|
22
22
|
*/
|
|
@@ -88,7 +88,7 @@ export interface IStartParams<T extends TransactionType, TAgent, TRecipient, TOb
|
|
|
88
88
|
*/
|
|
89
89
|
expires: Date;
|
|
90
90
|
}
|
|
91
|
-
export
|
|
91
|
+
export type IAttributes<TStartParams, TResult, TError, TPotentialActions> = TStartParams & {
|
|
92
92
|
/**
|
|
93
93
|
* 取引状態
|
|
94
94
|
*/
|
|
@@ -127,7 +127,7 @@ export declare type IAttributes<TStartParams, TResult, TError, TPotentialActions
|
|
|
127
127
|
*/
|
|
128
128
|
potentialActions?: TPotentialActions;
|
|
129
129
|
};
|
|
130
|
-
export
|
|
130
|
+
export type ITransaction<TStartParams, TResult, TError, TPotentialActions> = IExtendId<IAttributes<TStartParams, TResult, TError, TPotentialActions>>;
|
|
131
131
|
/**
|
|
132
132
|
* ソート条件
|
|
133
133
|
*/
|
package/lib/trip/busTrip.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { IPlace as IBusStop } from '../place/busStop';
|
|
|
3
3
|
import { IProject } from '../project';
|
|
4
4
|
import { ITrip as IBaseTrip } from '../trip';
|
|
5
5
|
import { TripType } from '../tripType';
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type IArrivalBusStop = Pick<IBusStop, 'typeOf' | 'branchCode' | 'name'>;
|
|
7
|
+
export type IDepartureBusStop = Pick<IBusStop, 'typeOf' | 'branchCode' | 'name'>;
|
|
8
8
|
export interface ITrip extends Pick<IBaseTrip, 'id' | 'name' | 'offers'> {
|
|
9
9
|
arrivalBusStop: IArrivalBusStop;
|
|
10
10
|
departureBusStop: IDepartureBusStop;
|
|
@@ -18,7 +18,7 @@ export interface ITripWithDetails extends Pick<ITrip, 'id' | 'name' | 'arrivalBu
|
|
|
18
18
|
busNumber: string;
|
|
19
19
|
departureTime: Date;
|
|
20
20
|
}
|
|
21
|
-
export
|
|
21
|
+
export type ISortOrder = any;
|
|
22
22
|
export interface ISearchConditions {
|
|
23
23
|
limit?: number;
|
|
24
24
|
page?: number;
|
|
@@ -3,7 +3,7 @@ import { IMultilingualString } from '../multilingualString';
|
|
|
3
3
|
import { IProject } from '../project';
|
|
4
4
|
import { IPropertyValue } from '../propertyValue';
|
|
5
5
|
import { SortType } from '../sortType';
|
|
6
|
-
export
|
|
6
|
+
export type IOfferMerchantReturnPolicy = Pick<IMerchantReturnPolicy, 'typeOf' | 'customerRemorseReturnFees' | 'customerRemorseReturnFeesMovieTicket'> & {
|
|
7
7
|
customerRemorseReturnFees: ICustomerRemorseReturnFees;
|
|
8
8
|
customerRemorseReturnFeesMovieTicket: ICustomerRemorseReturnFeesMovieTicket;
|
|
9
9
|
project: Pick<IProject, 'id' | 'typeOf'>;
|
package/lib/unitPriceOffer.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { IQuantitativeValue } from './quantitativeValue';
|
|
|
9
9
|
import { SortType } from './sortType';
|
|
10
10
|
import { UnitCode } from './unitCode';
|
|
11
11
|
import { IOfferMerchantReturnPolicy, IOfferMerchantReturnPolicySearchConditions, IOfferMerchantReturnPolicySortOrder } from './unitPriceOffer/merchantReturnPolicy';
|
|
12
|
-
export
|
|
12
|
+
export type IHasMerchantReturnPolicy = (Pick<IOfferMerchantReturnPolicy, 'typeOf' | 'id' | 'identifier' | 'name'> & {
|
|
13
13
|
id: string;
|
|
14
14
|
identifier: string;
|
|
15
15
|
})[];
|
|
@@ -42,8 +42,8 @@ export interface IItemOffered {
|
|
|
42
42
|
* 単価オファーの価格仕様
|
|
43
43
|
* 最適化(Pickで表現)(2023-09-01~)
|
|
44
44
|
*/
|
|
45
|
-
export
|
|
46
|
-
export
|
|
45
|
+
export type IUnitPriceOfferPriceSpecification = Pick<IUnitPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'eligibleQuantity' | 'eligibleTransactionVolume' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
|
|
46
|
+
export type IAddOnItemOffered = Pick<IProduct, 'typeOf' | 'id' | 'name'>;
|
|
47
47
|
export interface IAddOn4unitPriceOffer extends Pick<IAddOn, 'typeOf' | 'priceCurrency'> {
|
|
48
48
|
itemOffered: IAddOnItemOffered;
|
|
49
49
|
}
|
|
@@ -52,7 +52,7 @@ export interface ISettings {
|
|
|
52
52
|
}
|
|
53
53
|
export interface IAdvanceBookingRequirement extends Pick<IQuantitativeValue<UnitCode.Sec>, 'typeOf' | 'minValue' | 'unitCode' | 'description'> {
|
|
54
54
|
}
|
|
55
|
-
export
|
|
55
|
+
export type IAvailability = ItemAvailability.InStock | ItemAvailability.OutOfStock;
|
|
56
56
|
/**
|
|
57
57
|
* 単価オファー
|
|
58
58
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chevre/factory",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.337.0",
|
|
4
4
|
"description": "Chevre Factory Library for Javascript",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -39,33 +39,28 @@
|
|
|
39
39
|
"email": "yamazaki@motionpicture.jp"
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
|
-
"license": "
|
|
42
|
+
"license": "UNLICENSED",
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/mocha": "^5.2.7",
|
|
45
45
|
"@types/node": "^8.10.51",
|
|
46
|
-
"@types/power-assert": "^1.5.0",
|
|
47
46
|
"@types/request": "^2.48.5",
|
|
48
47
|
"@types/request-promise-native": "^1.0.17",
|
|
49
|
-
"@types/sinon": "^4.3.3",
|
|
50
48
|
"coveralls": "^3.0.5",
|
|
51
|
-
"http-signature": "^1.2.0",
|
|
52
49
|
"mocha": "^5.2.0",
|
|
53
|
-
"nyc": "
|
|
54
|
-
"power-assert": "^1.6.1",
|
|
50
|
+
"nyc": "12.0.2",
|
|
55
51
|
"rimraf": "^2.6.3",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"tslint": "
|
|
59
|
-
"
|
|
60
|
-
"typescript": "^4.3.2"
|
|
52
|
+
"ts-node": "10.9.1",
|
|
53
|
+
"tslint": "6.1.3",
|
|
54
|
+
"tslint-microsoft-contrib": "6.2.0",
|
|
55
|
+
"typescript": "5.0.4"
|
|
61
56
|
},
|
|
62
57
|
"dependencies": {
|
|
58
|
+
"@aws-sdk/client-cognito-identity-provider": "3.438.0",
|
|
63
59
|
"@motionpicture/coa-service": "9.2.0",
|
|
64
60
|
"@motionpicture/gmo-service": "^5.0.0",
|
|
65
61
|
"@surfrock/sdk": "1.1.0",
|
|
66
62
|
"@waiter/factory": "2.1.0",
|
|
67
|
-
"
|
|
68
|
-
"setprototypeof": "^1.2.0"
|
|
63
|
+
"setprototypeof": "1.2.0"
|
|
69
64
|
},
|
|
70
65
|
"repository": {
|
|
71
66
|
"type": "git",
|