@chevre/factory 5.2.0-alpha.2 → 5.2.0-alpha.4
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/categoryCode.d.ts +2 -19
- package/lib/categoryCode.js +0 -4
- package/lib/event/screeningEvent.d.ts +18 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +4 -2
- package/lib/movieTicketType.d.ts +65 -0
- package/lib/movieTicketType.js +10 -0
- package/package.json +1 -1
package/lib/categoryCode.d.ts
CHANGED
|
@@ -24,10 +24,6 @@ export declare enum CategorySetIdentifier {
|
|
|
24
24
|
* メンバーシップ区分
|
|
25
25
|
*/
|
|
26
26
|
MembershipType = "MembershipType",
|
|
27
|
-
/**
|
|
28
|
-
* 決済カード区分
|
|
29
|
-
*/
|
|
30
|
-
MovieTicketType = "MovieTicketType",
|
|
31
27
|
/**
|
|
32
28
|
* オファーカテゴリータイプ
|
|
33
29
|
*/
|
|
@@ -71,12 +67,7 @@ export interface ICategoryCode extends Pick<IThing, 'color' | 'image' | 'name'>
|
|
|
71
67
|
codeValue: string;
|
|
72
68
|
inCodeSet: ICategoryCodeSet;
|
|
73
69
|
name: IMultilingualString;
|
|
74
|
-
paymentMethod?:
|
|
75
|
-
/**
|
|
76
|
-
* 決済カード区分の場合、対応決済方法区分
|
|
77
|
-
*/
|
|
78
|
-
typeOf?: string;
|
|
79
|
-
};
|
|
70
|
+
paymentMethod?: never;
|
|
80
71
|
}
|
|
81
72
|
/**
|
|
82
73
|
* 検索条件
|
|
@@ -109,15 +100,7 @@ export interface ISearchConditions {
|
|
|
109
100
|
$in?: string[];
|
|
110
101
|
};
|
|
111
102
|
};
|
|
112
|
-
paymentMethod?:
|
|
113
|
-
/**
|
|
114
|
-
* 決済カード区分の場合、対応決済方法区分
|
|
115
|
-
*/
|
|
116
|
-
typeOf?: {
|
|
117
|
-
$eq?: string;
|
|
118
|
-
$in?: string[];
|
|
119
|
-
};
|
|
120
|
-
};
|
|
103
|
+
paymentMethod?: never;
|
|
121
104
|
additionalProperty?: {
|
|
122
105
|
$elemMatch?: {
|
|
123
106
|
name?: {
|
package/lib/categoryCode.js
CHANGED
|
@@ -34,6 +34,9 @@ export import IServiceType = AnyEventFactory.IServiceType;
|
|
|
34
34
|
* 興行
|
|
35
35
|
*/
|
|
36
36
|
export interface IItemOffered {
|
|
37
|
+
/**
|
|
38
|
+
* 興行ID
|
|
39
|
+
*/
|
|
37
40
|
id: string;
|
|
38
41
|
/**
|
|
39
42
|
* プロダクト名称
|
|
@@ -179,6 +182,21 @@ export type ICreateParams = Pick<IAttributes, 'doorTime' | 'startDate' | 'endDat
|
|
|
179
182
|
export type IUpdateParams = Pick<ICreateParams, 'additionalProperty' | 'doorTime' | 'endDate' | 'eventStatus' | 'offers' | 'startDate' | 'maximumPhysicalAttendeeCapacity'> & {
|
|
180
183
|
location?: never;
|
|
181
184
|
};
|
|
185
|
+
export type IOffer4update = Pick<IOffers4create, 'eligibleQuantity' | 'identifier' | 'unacceptedPaymentMethod'> & {
|
|
186
|
+
/**
|
|
187
|
+
* 興行IDを指定
|
|
188
|
+
*/
|
|
189
|
+
itemOffered: Pick<IItemOffered, 'id'> & {
|
|
190
|
+
serviceOutput?: never;
|
|
191
|
+
};
|
|
192
|
+
seller?: never;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* 単一イベント編集パラメータ
|
|
196
|
+
*/
|
|
197
|
+
export type IUpdateByIdParams = Pick<IUpdateParams, 'additionalProperty' | 'doorTime' | 'endDate' | 'eventStatus' | 'startDate' | 'maximumPhysicalAttendeeCapacity' | 'location'> & {
|
|
198
|
+
offers: IOffer4update;
|
|
199
|
+
};
|
|
182
200
|
/**
|
|
183
201
|
* ソート条件
|
|
184
202
|
*/
|
package/lib/index.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ import { ItemAvailability } from './itemAvailability';
|
|
|
83
83
|
import * as LanguageFactory from './language';
|
|
84
84
|
import * as MerchantReturnPolicyFactory from './merchantReturnPolicy';
|
|
85
85
|
import * as MonetaryAmountFactory from './monetaryAmount';
|
|
86
|
+
import * as MovieTicketTypeFactory from './movieTicketType';
|
|
86
87
|
import { IMultilingualString } from './multilingualString';
|
|
87
88
|
import * as OfferFactory from './offer';
|
|
88
89
|
import * as AggregateOfferFactory from './offer/aggregateOffer';
|
|
@@ -400,6 +401,7 @@ export import itemAvailability = ItemAvailability;
|
|
|
400
401
|
export import language = LanguageFactory;
|
|
401
402
|
export import merchantReturnPolicy = MerchantReturnPolicyFactory;
|
|
402
403
|
export import monetaryAmount = MonetaryAmountFactory;
|
|
404
|
+
export import movieTicketType = MovieTicketTypeFactory;
|
|
403
405
|
export type multilingualString = IMultilingualString;
|
|
404
406
|
export declare namespace notification {
|
|
405
407
|
export import event = EventNotification;
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = void 0;
|
|
3
|
+
exports.personType = exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.order = exports.offerType = exports.offerItemCondition = exports.offerCatalog = exports.offer = exports.notification = exports.movieTicketType = exports.monetaryAmount = exports.merchantReturnPolicy = exports.language = exports.itemAvailability = exports.invoice = exports.identityProvider = exports.iam = exports.eventType = exports.eventStatusType = exports.entryPoint = exports.encodingFormat = exports.eventSeries = exports.event = exports.customer = exports.creativeWorkType = exports.creativeWork = exports.clientUser = exports.CertificationStatusEnumeration = exports.categoryCode = exports.authorization = exports.aggregateOffer = exports.aggregation = exports.advanceBookingRequirement = exports.additionalProperty = exports.accountType = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.account = exports.errorCode = exports.errors = exports.waiter = exports.cognito = void 0;
|
|
4
|
+
exports.unitPriceOffer = exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = exports.tripType = exports.trip = exports.thing = exports.taskStatus = exports.taskName = exports.sortType = exports.serviceChannel = exports.service = exports.task = exports.sellerReturnPolicy = exports.seller = exports.schedule = exports.role = exports.RESERVED_CODE_VALUES = exports.reservationType = exports.reservationStatusType = exports.reservation = exports.report = exports.recipe = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.project = exports.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
@@ -84,6 +84,7 @@ var itemAvailability_1 = require("./itemAvailability");
|
|
|
84
84
|
var LanguageFactory = require("./language");
|
|
85
85
|
var MerchantReturnPolicyFactory = require("./merchantReturnPolicy");
|
|
86
86
|
var MonetaryAmountFactory = require("./monetaryAmount");
|
|
87
|
+
var MovieTicketTypeFactory = require("./movieTicketType");
|
|
87
88
|
var OfferFactory = require("./offer");
|
|
88
89
|
var AggregateOfferFactory = require("./offer/aggregateOffer");
|
|
89
90
|
var ProductOfferFactory = require("./offer/productOffer");
|
|
@@ -415,6 +416,7 @@ exports.itemAvailability = itemAvailability_1.ItemAvailability;
|
|
|
415
416
|
exports.language = LanguageFactory;
|
|
416
417
|
exports.merchantReturnPolicy = MerchantReturnPolicyFactory;
|
|
417
418
|
exports.monetaryAmount = MonetaryAmountFactory;
|
|
419
|
+
exports.movieTicketType = MovieTicketTypeFactory;
|
|
418
420
|
var notification;
|
|
419
421
|
(function (notification) {
|
|
420
422
|
// tslint:disable-next-line:no-shadowed-variable
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ICategoryCode } from './categoryCode';
|
|
2
|
+
import { SortType } from './sortType';
|
|
3
|
+
export declare enum CategorySetIdentifier {
|
|
4
|
+
/**
|
|
5
|
+
* 決済カード区分
|
|
6
|
+
*/
|
|
7
|
+
MovieTicketType = "MovieTicketType"
|
|
8
|
+
}
|
|
9
|
+
export interface ICategoryCodeSet {
|
|
10
|
+
typeOf: 'CategoryCodeSet';
|
|
11
|
+
identifier: CategorySetIdentifier.MovieTicketType;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* 決済カード区分
|
|
15
|
+
*/
|
|
16
|
+
export interface IMovieTicketType extends Pick<ICategoryCode, 'codeValue' | 'color' | 'id' | 'image' | 'name' | 'project' | 'typeOf'> {
|
|
17
|
+
inCodeSet: ICategoryCodeSet;
|
|
18
|
+
paymentMethod: {
|
|
19
|
+
/**
|
|
20
|
+
* 決済カード区分の場合、対応決済方法区分
|
|
21
|
+
*/
|
|
22
|
+
typeOf: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* 検索条件
|
|
27
|
+
*/
|
|
28
|
+
export interface ISearchConditions {
|
|
29
|
+
limit?: number;
|
|
30
|
+
page?: number;
|
|
31
|
+
sort?: {
|
|
32
|
+
codeValue?: SortType;
|
|
33
|
+
};
|
|
34
|
+
project?: {
|
|
35
|
+
id?: {
|
|
36
|
+
$eq?: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
id?: {
|
|
40
|
+
$eq?: string;
|
|
41
|
+
$in?: string[];
|
|
42
|
+
};
|
|
43
|
+
name?: {
|
|
44
|
+
$regex?: string;
|
|
45
|
+
};
|
|
46
|
+
codeValue?: {
|
|
47
|
+
$eq?: string;
|
|
48
|
+
$in?: string[];
|
|
49
|
+
};
|
|
50
|
+
inCodeSet?: {
|
|
51
|
+
identifier?: {
|
|
52
|
+
$eq?: string;
|
|
53
|
+
$in?: string[];
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
paymentMethod?: {
|
|
57
|
+
/**
|
|
58
|
+
* 決済カード区分の場合、対応決済方法区分
|
|
59
|
+
*/
|
|
60
|
+
typeOf?: {
|
|
61
|
+
$eq?: string;
|
|
62
|
+
$in?: string[];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CategorySetIdentifier = void 0;
|
|
4
|
+
var CategorySetIdentifier;
|
|
5
|
+
(function (CategorySetIdentifier) {
|
|
6
|
+
/**
|
|
7
|
+
* 決済カード区分
|
|
8
|
+
*/
|
|
9
|
+
CategorySetIdentifier["MovieTicketType"] = "MovieTicketType";
|
|
10
|
+
})(CategorySetIdentifier = exports.CategorySetIdentifier || (exports.CategorySetIdentifier = {}));
|