@chevre/factory 8.0.0-alpha.6 → 8.0.0-alpha.7
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/index.d.ts
CHANGED
|
@@ -36,7 +36,6 @@ import { ActionStatusType } from './actionStatusType';
|
|
|
36
36
|
import { ActionType } from './actionType';
|
|
37
37
|
import * as AccountTitleFactory from './accountTitle';
|
|
38
38
|
import * as AdditionalPropertyFactory from './additionalProperty';
|
|
39
|
-
import * as AdvanceBookingRequirementFactory from './advanceBookingRequirement';
|
|
40
39
|
import * as AggregationFactory from './aggregation';
|
|
41
40
|
import * as AuthorizationFactory from './authorization';
|
|
42
41
|
import * as CategoryCodeFactory from './categoryCode';
|
|
@@ -294,7 +293,6 @@ export declare namespace action {
|
|
|
294
293
|
}
|
|
295
294
|
export import accountTitle = AccountTitleFactory;
|
|
296
295
|
export import additionalProperty = AdditionalPropertyFactory;
|
|
297
|
-
export import advanceBookingRequirement = AdvanceBookingRequirementFactory;
|
|
298
296
|
export import aggregation = AggregationFactory;
|
|
299
297
|
export import authorization = AuthorizationFactory;
|
|
300
298
|
export import categoryCode = CategoryCodeFactory;
|
package/lib/chevre/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = 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.aggregation = exports.
|
|
4
|
-
exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = 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.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType =
|
|
3
|
+
exports.person = exports.permit = exports.paymentStatusType = exports.paymentMethod = exports.ownershipInfo = exports.organizationType = exports.organization = exports.orderStatus = exports.offerType = exports.offerItemCondition = exports.offerCatalog = 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.aggregation = exports.additionalProperty = exports.accountTitle = exports.action = exports.actionType = exports.actionStatusType = exports.errorCode = exports.recipe = exports.errors = exports.unitPriceOffer = exports.project = exports.order = exports.eventOffer = exports.aggregateOffer = exports.offer = exports.cognito = exports.waiter = void 0;
|
|
4
|
+
exports.unitCode = exports.assetTransactionType = exports.transactionStatusType = exports.transactionType = exports.transaction = exports.assetTransaction = 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.reservationPackage = exports.reservation = exports.report = exports.quantitativeValue = exports.qualitativeValue = exports.propertyValue = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = void 0;
|
|
5
5
|
exports.waiter = require("@waiter/factory");
|
|
6
6
|
exports.cognito = require("./cognito");
|
|
7
7
|
const AcceptCOAOfferActionFactory = require("./action/accept/coaOffer");
|
|
@@ -37,7 +37,6 @@ const actionStatusType_1 = require("./actionStatusType");
|
|
|
37
37
|
const actionType_1 = require("./actionType");
|
|
38
38
|
const AccountTitleFactory = require("./accountTitle");
|
|
39
39
|
const AdditionalPropertyFactory = require("./additionalProperty");
|
|
40
|
-
const AdvanceBookingRequirementFactory = require("./advanceBookingRequirement");
|
|
41
40
|
const AggregationFactory = require("./aggregation");
|
|
42
41
|
const AuthorizationFactory = require("./authorization");
|
|
43
42
|
const CategoryCodeFactory = require("./categoryCode");
|
|
@@ -283,7 +282,6 @@ var action;
|
|
|
283
282
|
})(action || (exports.action = action = {}));
|
|
284
283
|
exports.accountTitle = AccountTitleFactory;
|
|
285
284
|
exports.additionalProperty = AdditionalPropertyFactory;
|
|
286
|
-
exports.advanceBookingRequirement = AdvanceBookingRequirementFactory;
|
|
287
285
|
exports.aggregation = AggregationFactory;
|
|
288
286
|
exports.authorization = AuthorizationFactory;
|
|
289
287
|
exports.categoryCode = CategoryCodeFactory;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IAdvanceBookingRequirement as IActualAdvanceBookingRequirement } from './advanceBookingRequirement';
|
|
2
1
|
import { ItemAvailability } from './itemAvailability';
|
|
3
2
|
import { IAddOn, ICategory, IEligibleCategoryCode, IName, IOffer } from './offer';
|
|
4
3
|
import { OfferType } from './offerType';
|
|
@@ -41,17 +40,11 @@ export interface ISettings {
|
|
|
41
40
|
*/
|
|
42
41
|
includedInAggregateReservation?: boolean;
|
|
43
42
|
}
|
|
44
|
-
export type IAdvanceBookingRequirement = Pick<IActualAdvanceBookingRequirement, 'id' | 'identifier' | 'typeOf'>;
|
|
45
43
|
export type IAvailability = ItemAvailability.InStock | ItemAvailability.OutOfStock;
|
|
46
44
|
/**
|
|
47
45
|
* 単価オファー
|
|
48
46
|
*/
|
|
49
47
|
export interface IUnitPriceOffer extends Pick<IOffer, 'acceptedPaymentMethod' | 'project' | 'typeOf' | 'priceCurrency' | 'id' | 'identifier' | 'name' | 'description' | 'alternateName' | 'availability' | 'availableAtOrFrom' | 'itemOffered' | 'priceSpecification' | 'additionalProperty' | 'color' | 'category' | 'eligibleSeatingType' | 'eligibleMembershipType' | 'eligibleSubReservation' | 'validFrom' | 'validThrough' | 'validRateLimit'> {
|
|
50
|
-
/**
|
|
51
|
-
* The amount of time that is required between accepting the offer and the actual usage of the resource or service.
|
|
52
|
-
* 事前予約要件(興行オファー承認日時とイベント開始日時の差)
|
|
53
|
-
*/
|
|
54
|
-
advanceBookingRequirement?: IAdvanceBookingRequirement;
|
|
55
48
|
availability: IAvailability;
|
|
56
49
|
/**
|
|
57
50
|
* コード
|
|
@@ -95,10 +88,6 @@ export type ICreateParams = Pick<IUnitPriceOffer, 'acceptedPaymentMethod' | 'eli
|
|
|
95
88
|
id: string;
|
|
96
89
|
};
|
|
97
90
|
}[];
|
|
98
|
-
/**
|
|
99
|
-
* 事前予約要件
|
|
100
|
-
*/
|
|
101
|
-
advanceBookingRequirement?: Pick<IActualAdvanceBookingRequirement, 'identifier'>;
|
|
102
91
|
/**
|
|
103
92
|
* カテゴリー
|
|
104
93
|
*/
|
|
@@ -290,11 +279,6 @@ export interface ISearchConditions {
|
|
|
290
279
|
};
|
|
291
280
|
};
|
|
292
281
|
};
|
|
293
|
-
advanceBookingRequirement?: {
|
|
294
|
-
id?: {
|
|
295
|
-
$eq?: string;
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
282
|
/**
|
|
299
283
|
* 有効期間設定がない、あるいは、有効期間内
|
|
300
284
|
*/
|
package/package.json
CHANGED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { IMultilingualString } from './multilingualString';
|
|
2
|
-
import { IProject } from './project';
|
|
3
|
-
import { IQuantitativeValue } from './quantitativeValue';
|
|
4
|
-
import { SortType } from './sortType';
|
|
5
|
-
import { UnitCode } from './unitCode';
|
|
6
|
-
interface IAdvanceBookingActualUsageHours {
|
|
7
|
-
typeOf: 'OpeningHoursSpecification';
|
|
8
|
-
/**
|
|
9
|
-
* 開始時刻
|
|
10
|
-
* hh:mm:ss[Z|(+|-)hh:mm]
|
|
11
|
-
*/
|
|
12
|
-
opens: string;
|
|
13
|
-
}
|
|
14
|
-
interface IAdvanceBookingRequirement extends Pick<IQuantitativeValue<UnitCode.Day>, 'typeOf' | 'maxValue' | 'minValue' | 'unitCode' | 'description'> {
|
|
15
|
-
project: Pick<IProject, 'id' | 'typeOf'>;
|
|
16
|
-
id: string;
|
|
17
|
-
/**
|
|
18
|
-
* 事前予約要件コード
|
|
19
|
-
*/
|
|
20
|
-
identifier: string;
|
|
21
|
-
/**
|
|
22
|
-
* n日前から
|
|
23
|
-
*/
|
|
24
|
-
maxValue?: number;
|
|
25
|
-
/**
|
|
26
|
-
* n日前まで
|
|
27
|
-
*/
|
|
28
|
-
minValue?: number;
|
|
29
|
-
/**
|
|
30
|
-
* 要件説明
|
|
31
|
-
*/
|
|
32
|
-
description?: IMultilingualString;
|
|
33
|
-
unitCode: UnitCode.Day;
|
|
34
|
-
/**
|
|
35
|
-
* 基準となるイベント開始日の時刻
|
|
36
|
-
* 未定義の場合、イベントのstartDate
|
|
37
|
-
*/
|
|
38
|
-
valueReference?: IAdvanceBookingActualUsageHours;
|
|
39
|
-
}
|
|
40
|
-
interface ISearchConditions {
|
|
41
|
-
limit?: number;
|
|
42
|
-
page?: number;
|
|
43
|
-
sort?: {
|
|
44
|
-
identifier?: SortType;
|
|
45
|
-
};
|
|
46
|
-
project?: {
|
|
47
|
-
id?: {
|
|
48
|
-
$eq?: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
id?: {
|
|
52
|
-
$eq?: string;
|
|
53
|
-
$in?: string[];
|
|
54
|
-
};
|
|
55
|
-
identifier?: {
|
|
56
|
-
$eq?: string;
|
|
57
|
-
$regex?: string;
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
export { IAdvanceBookingActualUsageHours, IAdvanceBookingRequirement, ISearchConditions };
|