@chevre/factory 4.192.0 → 4.195.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 +2 -1
- package/lib/chevre.js +7 -2
- package/lib/factory/action/authorize/paymentMethod/any.d.ts +6 -0
- package/lib/factory/action/check/paymentMethod/movieTicket.d.ts +3 -3
- package/lib/factory/assetTransaction/registerService.d.ts +1 -1
- package/lib/factory/event/screeningEvent.d.ts +20 -9
- package/lib/factory/event/screeningEventSeries.d.ts +9 -4
- package/lib/factory/offer.d.ts +1 -1
- package/lib/factory/offerCatalog.d.ts +1 -1
- package/lib/factory/offerType.d.ts +1 -2
- package/lib/factory/offerType.js +3 -2
- package/lib/factory/place/movieTheater.d.ts +2 -2
- package/lib/factory/reservation.d.ts +1 -1
- package/package.json +2 -2
package/lib/chevre.d.ts
CHANGED
|
@@ -74,7 +74,7 @@ import * as MonetaryAmountFactory from './factory/monetaryAmount';
|
|
|
74
74
|
import IMultilingualString from './factory/multilingualString';
|
|
75
75
|
import * as OfferFactory from './factory/offer';
|
|
76
76
|
import * as OfferCatalogFactory from './factory/offerCatalog';
|
|
77
|
-
import OfferType from './factory/offerType';
|
|
77
|
+
import { OfferType } from './factory/offerType';
|
|
78
78
|
import * as OrderFactory from './factory/order';
|
|
79
79
|
import OrderStatus from './factory/orderStatus';
|
|
80
80
|
import * as OrganizationFactory from './factory/organization';
|
|
@@ -371,6 +371,7 @@ export declare namespace report {
|
|
|
371
371
|
export import accountingReport = AccountingReportFactory;
|
|
372
372
|
}
|
|
373
373
|
export declare namespace reservation {
|
|
374
|
+
export import eventReservation = EventReservationFactory;
|
|
374
375
|
type IBroker<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.IBroker : ReservationFactory.IBroker;
|
|
375
376
|
type IPriceSpecification<T extends ReservationType> = T extends ReservationType.EventReservation ? EventReservationFactory.IPriceSpecification : T extends ReservationType.ReservationPackage ? ReservationPackageFactory.IPriceSpecification : ReservationFactory.IPriceSpecification;
|
|
376
377
|
type IProgramMembershipUsed<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.IProgramMembershipUsed : ReservationFactory.IProgramMembershipUsed;
|
package/lib/chevre.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.qualitativeValue = exports.propertyValue = exports.project = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerCatalog = exports.offer = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.iam = exports.eventType = exports.eventStatusType = exports.encodingFormat = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.categoryCode = exports.authorization = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.accountStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
|
|
4
|
-
exports.unitCode = exports.assetTransactionType = exports.transactionTasksExportationStatus = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceType = exports.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.report = exports.quantitativeValue = void 0;
|
|
4
|
+
exports.unitCode = exports.assetTransactionType = exports.transactionTasksExportationStatus = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceType = exports.service = exports.task = exports.seller = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.quantitativeValue = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
@@ -94,6 +94,7 @@ var PropertyValueFactory = require("./factory/propertyValue");
|
|
|
94
94
|
var QualitativeValueFactory = require("./factory/qualitativeValue");
|
|
95
95
|
var QuantitativeValueFactory = require("./factory/quantitativeValue");
|
|
96
96
|
var AccountingReportFactory = require("./factory/report/accountingReport");
|
|
97
|
+
var EventReservationFactory = require("./factory/reservation/event");
|
|
97
98
|
var reservationStatusType_1 = require("./factory/reservationStatusType");
|
|
98
99
|
var reservationType_1 = require("./factory/reservationType");
|
|
99
100
|
var SellerFactory = require("./factory/seller");
|
|
@@ -304,7 +305,7 @@ exports.merchantReturnPolicy = MerchantReturnPolicyFactory;
|
|
|
304
305
|
exports.monetaryAmount = MonetaryAmountFactory;
|
|
305
306
|
exports.offer = OfferFactory;
|
|
306
307
|
exports.offerCatalog = OfferCatalogFactory;
|
|
307
|
-
exports.offerType = offerType_1.
|
|
308
|
+
exports.offerType = offerType_1.OfferType;
|
|
308
309
|
exports.order = OrderFactory;
|
|
309
310
|
exports.orderStatus = orderStatus_1.default;
|
|
310
311
|
exports.organization = OrganizationFactory;
|
|
@@ -345,6 +346,10 @@ var report;
|
|
|
345
346
|
(function (report) {
|
|
346
347
|
report.accountingReport = AccountingReportFactory;
|
|
347
348
|
})(report = exports.report || (exports.report = {}));
|
|
349
|
+
var reservation;
|
|
350
|
+
(function (reservation) {
|
|
351
|
+
reservation.eventReservation = EventReservationFactory;
|
|
352
|
+
})(reservation = exports.reservation || (exports.reservation = {}));
|
|
348
353
|
exports.reservationStatusType = reservationStatusType_1.default;
|
|
349
354
|
exports.reservationType = reservationType_1.default;
|
|
350
355
|
exports.seller = SellerFactory;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as surfrock from '@surfrock/sdk';
|
|
2
2
|
import * as ActionFactory from '../../../action';
|
|
3
3
|
import { OrganizationType } from '../../../organizationType';
|
|
4
4
|
import { IMovieTicket } from '../../../paymentMethod/paymentCard/movieTicket';
|
|
5
5
|
import * as CheckActionFactory from '../../check';
|
|
6
6
|
import * as PayActionFactory from '../../trade/pay';
|
|
7
7
|
export declare type IAgent = ActionFactory.IParticipant;
|
|
8
|
-
export declare type IPurchaseNumberAuthIn =
|
|
9
|
-
export declare type IPurchaseNumberAuthResult =
|
|
8
|
+
export declare type IPurchaseNumberAuthIn = surfrock.service.auth.factory.IPurchaseNumberAuthIn;
|
|
9
|
+
export declare type IPurchaseNumberAuthResult = surfrock.service.auth.factory.IPurchaseNumberAuthResult;
|
|
10
10
|
export declare type IMovieTicketResult = IMovieTicket;
|
|
11
11
|
export interface IPaymentService extends PayActionFactory.IPaymentService {
|
|
12
12
|
/**
|
|
@@ -3,7 +3,7 @@ import { IAttributes as IMoneyTransferActionAttributes } from '../action/transfe
|
|
|
3
3
|
import * as TransactionFactory from '../assetTransaction';
|
|
4
4
|
import AssetTransactionType from '../assetTransactionType';
|
|
5
5
|
import { IExtendId } from '../autoGenerated';
|
|
6
|
-
import OfferType from '../offerType';
|
|
6
|
+
import { OfferType } from '../offerType';
|
|
7
7
|
import { IProduct, IServiceOutput } from '../product';
|
|
8
8
|
import { IInformParams } from '../project';
|
|
9
9
|
export declare type IStartParamsWithoutDetail = TransactionFactory.IStartParams<AssetTransactionType.RegisterService, IAgent, undefined, IObjectWithoutDetail>;
|
|
@@ -4,8 +4,10 @@ import * as ScreeningEventSeriesFactory from '../event/screeningEventSeries';
|
|
|
4
4
|
import EventType from '../eventType';
|
|
5
5
|
import IMultilingualString from '../multilingualString';
|
|
6
6
|
import * as OfferFactory from '../offer';
|
|
7
|
-
import OfferType from '../offerType';
|
|
7
|
+
import { OfferType } from '../offerType';
|
|
8
|
+
import { OrganizationType } from '../organizationType';
|
|
8
9
|
import { PlaceType } from '../placeType';
|
|
10
|
+
import PriceCurrency from '../priceCurrency';
|
|
9
11
|
import { IPriceSpecification as ICategoryCodeChargeSpecification } from '../priceSpecification/categoryCodeChargeSpecification';
|
|
10
12
|
import { IPriceSpecification as ICompoundPriceSpecification } from '../priceSpecification/compoundPriceSpecification';
|
|
11
13
|
import { IPriceSpecification as IMovieTicketTypeChargeSpecification } from '../priceSpecification/movieTicketTypeChargeSpecification';
|
|
@@ -87,7 +89,6 @@ export interface IServiceOutput {
|
|
|
87
89
|
* イベントのサービスインターフェース
|
|
88
90
|
*/
|
|
89
91
|
export interface IService {
|
|
90
|
-
typeOf?: string;
|
|
91
92
|
/**
|
|
92
93
|
* サービス区分
|
|
93
94
|
*/
|
|
@@ -98,10 +99,18 @@ export interface IService {
|
|
|
98
99
|
serviceOutput?: IServiceOutput;
|
|
99
100
|
}
|
|
100
101
|
export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
|
|
102
|
+
export interface ISeller {
|
|
103
|
+
typeOf: OrganizationType;
|
|
104
|
+
id: string;
|
|
105
|
+
name?: string | IMultilingualString;
|
|
106
|
+
}
|
|
101
107
|
/**
|
|
102
|
-
*
|
|
108
|
+
* イベントに対するオファーインターフェース
|
|
103
109
|
*/
|
|
104
|
-
export interface IOffer
|
|
110
|
+
export interface IOffer {
|
|
111
|
+
project: IProject;
|
|
112
|
+
typeOf: OfferType.Offer;
|
|
113
|
+
priceCurrency: PriceCurrency.JPY;
|
|
105
114
|
/**
|
|
106
115
|
* 情報提供終了日時
|
|
107
116
|
*/
|
|
@@ -124,13 +133,15 @@ export interface IOffer extends OfferFactory.IOffer {
|
|
|
124
133
|
* 販売可能期間through
|
|
125
134
|
*/
|
|
126
135
|
validThrough: Date;
|
|
136
|
+
unacceptedPaymentMethod?: string[];
|
|
137
|
+
seller: ISeller;
|
|
127
138
|
}
|
|
128
139
|
/**
|
|
129
|
-
*
|
|
140
|
+
* イベントに対して有効なチケット価格仕様要素インターフェース
|
|
130
141
|
*/
|
|
131
142
|
export declare type ITicketPriceComponent = ICategoryCodeChargeSpecification | IMovieTicketTypeChargeSpecification | IUnitPriceSpecification;
|
|
132
143
|
/**
|
|
133
|
-
*
|
|
144
|
+
* イベントに対して有効なチケット価格仕様インターフェース
|
|
134
145
|
*/
|
|
135
146
|
export declare type ITicketPriceSpecification = ICompoundPriceSpecification<ITicketPriceComponent>;
|
|
136
147
|
/**
|
|
@@ -236,7 +247,7 @@ export interface ILocation {
|
|
|
236
247
|
export declare type ISuperEvent = ScreeningEventSeriesFactory.IEvent;
|
|
237
248
|
export declare type IName = IMultilingualString;
|
|
238
249
|
/**
|
|
239
|
-
*
|
|
250
|
+
* イベント属性インターフェース
|
|
240
251
|
*/
|
|
241
252
|
export interface IAttributes extends EventFactory.IAttributes<EventType.ScreeningEvent> {
|
|
242
253
|
/**
|
|
@@ -302,7 +313,7 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Screenin
|
|
|
302
313
|
coaInfo?: ICOAInfo;
|
|
303
314
|
}
|
|
304
315
|
/**
|
|
305
|
-
*
|
|
316
|
+
* イベントインターフェース
|
|
306
317
|
*/
|
|
307
318
|
export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
308
319
|
/**
|
|
@@ -328,7 +339,7 @@ export interface IOfferSearchConditions {
|
|
|
328
339
|
};
|
|
329
340
|
}
|
|
330
341
|
/**
|
|
331
|
-
*
|
|
342
|
+
* イベントの検索条件インターフェース
|
|
332
343
|
*/
|
|
333
344
|
export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.ScreeningEvent> {
|
|
334
345
|
/**
|
|
@@ -4,14 +4,19 @@ import * as EventFactory from '../event';
|
|
|
4
4
|
import EventType from '../eventType';
|
|
5
5
|
import { ILanguage } from '../language';
|
|
6
6
|
import IMultilingualString from '../multilingualString';
|
|
7
|
-
import
|
|
7
|
+
import { OfferType } from '../offerType';
|
|
8
8
|
import { OrganizationType } from '../organizationType';
|
|
9
9
|
import { PlaceType } from '../placeType';
|
|
10
|
+
import PriceCurrency from '../priceCurrency';
|
|
10
11
|
import { IProject } from '../project';
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
+
* 施設コンテンツに対するオファーインターフェース
|
|
13
14
|
*/
|
|
14
|
-
export interface IOffer
|
|
15
|
+
export interface IOffer {
|
|
16
|
+
project: IProject;
|
|
17
|
+
typeOf: OfferType.Offer;
|
|
18
|
+
priceCurrency: PriceCurrency.JPY;
|
|
19
|
+
unacceptedPaymentMethod?: string[];
|
|
15
20
|
}
|
|
16
21
|
export interface IVideoFormat {
|
|
17
22
|
typeOf: string;
|
|
@@ -148,7 +153,7 @@ export declare type IEvent = EventFactory.IEvent<IAttributes>;
|
|
|
148
153
|
*/
|
|
149
154
|
export declare type ISortOrder = EventFactory.ISortOrder;
|
|
150
155
|
/**
|
|
151
|
-
*
|
|
156
|
+
* イベントの検索条件インターフェース
|
|
152
157
|
*/
|
|
153
158
|
export interface ISearchConditions extends EventFactory.ISearchConditions<EventType.ScreeningEventSeries> {
|
|
154
159
|
sort?: ISortOrder;
|
package/lib/factory/offer.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ICategoryCode } from './categoryCode';
|
|
|
3
3
|
import ItemAvailability from './itemAvailability';
|
|
4
4
|
import { IMonetaryAmount } from './monetaryAmount';
|
|
5
5
|
import * as SeatReservationOfferFactory from './offer/seatReservation';
|
|
6
|
-
import OfferType from './offerType';
|
|
6
|
+
import { OfferType } from './offerType';
|
|
7
7
|
import PriceCurrency from './priceCurrency';
|
|
8
8
|
import { IPriceSpecification } from './priceSpecification';
|
|
9
9
|
import { IPriceSpecification as IUnitPriceSpecification } from './priceSpecification/unitPriceSpecification';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import IMultilingualString from './multilingualString';
|
|
2
|
-
import OfferType from './offerType';
|
|
2
|
+
import { OfferType } from './offerType';
|
|
3
3
|
import { IProject } from './project';
|
|
4
4
|
import { IPropertyValue } from './propertyValue';
|
|
5
5
|
import { IServiceType } from './serviceType';
|
package/lib/factory/offerType.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OfferType = void 0;
|
|
3
4
|
/**
|
|
4
5
|
* オファータイプ
|
|
5
6
|
*/
|
|
@@ -7,5 +8,5 @@ var OfferType;
|
|
|
7
8
|
(function (OfferType) {
|
|
8
9
|
OfferType["Offer"] = "Offer";
|
|
9
10
|
OfferType["AggregateOffer"] = "AggregateOffer";
|
|
10
|
-
})(OfferType || (OfferType = {}));
|
|
11
|
-
|
|
11
|
+
})(OfferType = exports.OfferType || (exports.OfferType = {}));
|
|
12
|
+
// export default OfferType;
|
|
@@ -11,11 +11,11 @@ import { IPlace as IScreeningRoom } from './screeningRoom';
|
|
|
11
11
|
*/
|
|
12
12
|
export interface IOffer extends OfferFactory.IOffer {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* イベント開始前の販売猶予期間
|
|
15
15
|
*/
|
|
16
16
|
availabilityStartsGraceTime?: IQuantitativeValue<UnitCode.Day>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* イベント開始後の販売猶予期間
|
|
19
19
|
*/
|
|
20
20
|
availabilityEndsGraceTime?: IQuantitativeValue<UnitCode.Sec>;
|
|
21
21
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as COA from '@motionpicture/coa-service';
|
|
2
2
|
import IMultilingualString from './multilingualString';
|
|
3
3
|
import * as OfferFactory from './offer';
|
|
4
|
-
import OfferType from './offerType';
|
|
4
|
+
import { OfferType } from './offerType';
|
|
5
5
|
import { IPermit } from './permit';
|
|
6
6
|
import * as SeatFactory from './place/seat';
|
|
7
7
|
import { PlaceType } from './placeType';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chevre/factory",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.195.0",
|
|
4
4
|
"description": "Chevre Factory Library for Javascript",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@motionpicture/coa-service": "^9.0.0",
|
|
64
64
|
"@motionpicture/gmo-service": "^5.0.0",
|
|
65
|
-
"@
|
|
65
|
+
"@surfrock/sdk": "1.1.0",
|
|
66
66
|
"@waiter/factory": "2.1.0",
|
|
67
67
|
"aws-sdk": "2.447.0",
|
|
68
68
|
"setprototypeof": "^1.2.0"
|