@chevre/factory 6.0.0-alpha.1 → 6.0.0-alpha.2
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/account/transactionType.js +1 -1
- package/lib/account.js +2 -2
- package/lib/accountType.js +1 -1
- package/lib/action/accept/coaOffer.js +1 -1
- package/lib/action/authorize/offer/any.d.ts +76 -0
- package/lib/action/authorize/offer/any.js +8 -0
- package/lib/action/authorize/offer/eventService.d.ts +5 -71
- package/lib/action/authorize/offer/eventService.js +2 -4
- package/lib/action/authorize/offer/product.d.ts +8 -19
- package/lib/action/authorize/offer/product.js +3 -0
- package/lib/action/authorize/paymentMethod/any.js +2 -2
- package/lib/action/transfer/give/pointAward.js +1 -1
- package/lib/action/update/delete.js +1 -1
- package/lib/actionStatusType.js +1 -1
- package/lib/actionType.js +1 -1
- package/lib/aggregation.js +1 -1
- package/lib/assetTransactionType.js +1 -1
- package/lib/categoryCode.js +1 -1
- package/lib/certificationStatusEnumeration.js +1 -1
- package/lib/creativeWork/message/email.js +1 -1
- package/lib/creativeWork/noteDigitalDocument.js +2 -2
- package/lib/creativeWorkType.js +1 -1
- package/lib/encodingFormat.js +10 -10
- package/lib/error/alreadyInUse.js +1 -3
- package/lib/error/argument.js +1 -3
- package/lib/error/argumentNull.js +1 -3
- package/lib/error/chevre.js +1 -3
- package/lib/error/forbidden.js +1 -3
- package/lib/error/gatewayTimeout.js +1 -3
- package/lib/error/internal.js +1 -3
- package/lib/error/notFound.js +1 -3
- package/lib/error/notImplemented.js +1 -3
- package/lib/error/rateLimitExceeded.js +1 -3
- package/lib/error/serviceUnavailable.js +1 -3
- package/lib/error/unauthorized.js +1 -3
- package/lib/error/unknown.js +1 -3
- package/lib/errorCode.js +1 -1
- package/lib/event/anyEvent.d.ts +2 -2
- package/lib/eventStatusType.js +1 -1
- package/lib/eventType.js +1 -1
- package/lib/index.d.ts +4 -8
- package/lib/index.js +30 -58
- package/lib/itemAvailability.js +1 -1
- package/lib/merchantReturnPolicy.js +3 -3
- package/lib/movieTicketType.js +1 -1
- package/lib/offerItemCondition.js +1 -1
- package/lib/offerType.js +1 -1
- package/lib/order.js +1 -1
- package/lib/orderStatus.js +1 -1
- package/lib/organizationType.js +1 -1
- package/lib/paymentStatusType.js +1 -1
- package/lib/permit.js +1 -1
- package/lib/personType.js +1 -1
- package/lib/place/seat.d.ts +1 -3
- package/lib/placeType.js +1 -1
- package/lib/priceCurrency.js +1 -1
- package/lib/priceSpecificationType.js +1 -1
- package/lib/product.js +1 -1
- package/lib/programMembership.js +1 -1
- package/lib/propertyValue.js +1 -1
- package/lib/quantitativeValue.js +1 -1
- package/lib/recipe.js +2 -2
- package/lib/reservationStatusType.js +1 -1
- package/lib/reservationType.js +1 -1
- package/lib/role/organizationRole.js +1 -1
- package/lib/role.js +1 -1
- package/lib/service/paymentService.js +1 -1
- package/lib/service/webAPI.js +1 -1
- package/lib/sortType.js +1 -1
- package/lib/taskName.js +1 -1
- package/lib/taskStatus.js +1 -1
- package/lib/transaction/returnOrder.js +1 -1
- package/lib/transactionStatusType.js +1 -1
- package/lib/transactionType.js +1 -1
- package/lib/tripType.js +1 -1
- package/lib/unitCode.js +1 -1
- package/package.json +15 -18
- package/example/customReturnPolicyRequest.json +0 -125
- package/example/customReturnPolicyResponse.json +0 -17
- package/example/informPayAction.json +0 -126
- package/example/informPersonAction.json +0 -517
- package/example/informRefundAction.json +0 -16
- package/example/testErrorInstance.js +0 -9
|
@@ -16,8 +16,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
})();
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.RateLimitExceededError = void 0;
|
|
19
|
-
//
|
|
20
|
-
var setPrototypeOf = require("setprototypeof");
|
|
19
|
+
var setPrototypeOf = require("setprototypeof"); // eslint-disable-line @typescript-eslint/no-require-imports
|
|
21
20
|
var errorCode_1 = require("../errorCode");
|
|
22
21
|
var chevre_1 = require("./chevre");
|
|
23
22
|
/**
|
|
@@ -31,7 +30,6 @@ var RateLimitExceededError = /** @class */ (function (_super) {
|
|
|
31
30
|
if (message === undefined || message.length === 0) {
|
|
32
31
|
actualMessage = 'Rate limit exceeded.';
|
|
33
32
|
}
|
|
34
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
35
33
|
/* istanbul ignore next */
|
|
36
34
|
_this = _super.call(this, errorCode_1.ErrorCode.RateLimitExceeded, actualMessage) || this;
|
|
37
35
|
setPrototypeOf(_this, RateLimitExceededError.prototype);
|
|
@@ -16,8 +16,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
})();
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.ServiceUnavailableError = void 0;
|
|
19
|
-
//
|
|
20
|
-
var setPrototypeOf = require("setprototypeof");
|
|
19
|
+
var setPrototypeOf = require("setprototypeof"); // eslint-disable-line @typescript-eslint/no-require-imports
|
|
21
20
|
var errorCode_1 = require("../errorCode");
|
|
22
21
|
var chevre_1 = require("./chevre");
|
|
23
22
|
/**
|
|
@@ -31,7 +30,6 @@ var ServiceUnavailableError = /** @class */ (function (_super) {
|
|
|
31
30
|
if (message === undefined || message.length === 0) {
|
|
32
31
|
actualMessage = 'Service unavailable temporarily.';
|
|
33
32
|
}
|
|
34
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
35
33
|
/* istanbul ignore next */
|
|
36
34
|
_this = _super.call(this, errorCode_1.ErrorCode.ServiceUnavailable, actualMessage) || this;
|
|
37
35
|
setPrototypeOf(_this, ServiceUnavailableError.prototype);
|
|
@@ -16,8 +16,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
})();
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.UnauthorizedError = void 0;
|
|
19
|
-
//
|
|
20
|
-
var setPrototypeOf = require("setprototypeof");
|
|
19
|
+
var setPrototypeOf = require("setprototypeof"); // eslint-disable-line @typescript-eslint/no-require-imports
|
|
21
20
|
var errorCode_1 = require("../errorCode");
|
|
22
21
|
var chevre_1 = require("./chevre");
|
|
23
22
|
/**
|
|
@@ -31,7 +30,6 @@ var UnauthorizedError = /** @class */ (function (_super) {
|
|
|
31
30
|
if (message === undefined || message.length === 0) {
|
|
32
31
|
actualMessage = 'Unauthorized.';
|
|
33
32
|
}
|
|
34
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
35
33
|
/* istanbul ignore next */
|
|
36
34
|
_this = _super.call(this, errorCode_1.ErrorCode.Unauthorized, actualMessage) || this;
|
|
37
35
|
setPrototypeOf(_this, UnauthorizedError.prototype);
|
package/lib/error/unknown.js
CHANGED
|
@@ -16,8 +16,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
16
16
|
})();
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
exports.UnknownError = void 0;
|
|
19
|
-
//
|
|
20
|
-
var setPrototypeOf = require("setprototypeof");
|
|
19
|
+
var setPrototypeOf = require("setprototypeof"); // eslint-disable-line @typescript-eslint/no-require-imports
|
|
21
20
|
var errorCode_1 = require("../errorCode");
|
|
22
21
|
var chevre_1 = require("./chevre");
|
|
23
22
|
/**
|
|
@@ -31,7 +30,6 @@ var UnknownError = /** @class */ (function (_super) {
|
|
|
31
30
|
if (message === undefined || message.length === 0) {
|
|
32
31
|
actualMessage = 'Unknown server error.';
|
|
33
32
|
}
|
|
34
|
-
// tslint:disable-next-line:no-single-line-block-comment
|
|
35
33
|
/* istanbul ignore next */
|
|
36
34
|
_this = _super.call(this, errorCode_1.ErrorCode.Unknown, actualMessage) || this;
|
|
37
35
|
setPrototypeOf(_this, UnknownError.prototype);
|
package/lib/errorCode.js
CHANGED
|
@@ -18,4 +18,4 @@ var ErrorCode;
|
|
|
18
18
|
ErrorCode["ServiceUnavailable"] = "ServiceUnavailable";
|
|
19
19
|
ErrorCode["Unauthorized"] = "Unauthorized";
|
|
20
20
|
ErrorCode["Unknown"] = "Unknown";
|
|
21
|
-
})(ErrorCode
|
|
21
|
+
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
|
package/lib/event/anyEvent.d.ts
CHANGED
|
@@ -150,11 +150,11 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType>, '
|
|
|
150
150
|
/**
|
|
151
151
|
* 発券数
|
|
152
152
|
*/
|
|
153
|
-
checkInCount?:
|
|
153
|
+
checkInCount?: number;
|
|
154
154
|
/**
|
|
155
155
|
* 参加数
|
|
156
156
|
*/
|
|
157
|
-
attendeeCount?:
|
|
157
|
+
attendeeCount?: number;
|
|
158
158
|
/**
|
|
159
159
|
* 予約集計
|
|
160
160
|
*/
|
package/lib/eventStatusType.js
CHANGED
|
@@ -10,4 +10,4 @@ var EventStatusType;
|
|
|
10
10
|
EventStatusType["EventPostponed"] = "EventPostponed";
|
|
11
11
|
EventStatusType["EventRescheduled"] = "EventRescheduled";
|
|
12
12
|
EventStatusType["EventScheduled"] = "EventScheduled";
|
|
13
|
-
})(EventStatusType
|
|
13
|
+
})(EventStatusType || (exports.EventStatusType = EventStatusType = {}));
|
package/lib/eventType.js
CHANGED
|
@@ -9,4 +9,4 @@ var EventType;
|
|
|
9
9
|
// Event = 'Event', // discontinue(2025-10-04~)
|
|
10
10
|
EventType["ScreeningEvent"] = "ScreeningEvent";
|
|
11
11
|
EventType["ScreeningEventSeries"] = "ScreeningEventSeries";
|
|
12
|
-
})(EventType
|
|
12
|
+
})(EventType || (exports.EventType = EventType = {}));
|
package/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* factory
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export import cognito = cognito;
|
|
7
|
-
export import waiter = waiter;
|
|
4
|
+
export * as waiter from '@waiter/factory';
|
|
5
|
+
export * as cognito from '@waiter/factory';
|
|
8
6
|
import * as AccountFactory from './account';
|
|
9
7
|
import * as ActionFactory from './action';
|
|
10
8
|
import * as AcceptCOAOfferActionFactory from './action/accept/coaOffer';
|
|
@@ -119,7 +117,7 @@ import * as UnitPriceSpecificationFactory from './priceSpecification/unitPriceSp
|
|
|
119
117
|
import { PriceSpecificationType } from './priceSpecificationType';
|
|
120
118
|
import * as ProductFactory from './product';
|
|
121
119
|
import * as ProgramMembershipFactory from './programMembership';
|
|
122
|
-
|
|
120
|
+
export * as project from './project';
|
|
123
121
|
import * as PropertyValueFactory from './propertyValue';
|
|
124
122
|
import * as LocationFeatureSpecificationFactory from './propertyValue/locationFeatureSpecification';
|
|
125
123
|
import * as QualitativeValueFactory from './qualitativeValue';
|
|
@@ -230,8 +228,7 @@ import * as PlaceOrderTransactionFactory from './transaction/placeOrder';
|
|
|
230
228
|
import * as ReturnOrderTransactionFactory from './transaction/returnOrder';
|
|
231
229
|
import { TransactionType } from './transactionType';
|
|
232
230
|
import { ErrorCode } from './errorCode';
|
|
233
|
-
|
|
234
|
-
export import errors = errors;
|
|
231
|
+
export * as errors from './errors';
|
|
235
232
|
export import errorCode = ErrorCode;
|
|
236
233
|
export import acceptedPaymentMethodOffer = AcceptedPaymentMethodOfferFactory;
|
|
237
234
|
export import account = AccountFactory;
|
|
@@ -464,7 +461,6 @@ export import priceSpecificationType = PriceSpecificationType;
|
|
|
464
461
|
export import programMembership = ProgramMembershipFactory;
|
|
465
462
|
export import product = ProductFactory;
|
|
466
463
|
export import productOffer = ProductOfferFactory;
|
|
467
|
-
export import project = project;
|
|
468
464
|
export declare namespace propertyValue {
|
|
469
465
|
export import PropertyValueType = PropertyValueFactory.PropertyValueType;
|
|
470
466
|
export import IPropertyValue = PropertyValueFactory.IPropertyValue;
|
package/lib/index.js
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
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.
|
|
3
|
+
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.eventOffer = 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.acceptedPaymentMethodOffer = exports.errorCode = exports.errors = exports.project = exports.cognito = exports.waiter = 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.productOffer = exports.product = exports.programMembership = exports.priceSpecificationType = exports.priceSpecification = exports.potentialAction = exports.placeType = exports.place = exports.priceCurrency = exports.personType = exports.person = exports.permit = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* factory
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
exports.
|
|
8
|
+
// import * as waiter from '@waiter/factory';
|
|
9
|
+
exports.waiter = require("@waiter/factory");
|
|
10
|
+
// import * as cognito from './cognito';
|
|
11
|
+
exports.cognito = require("@waiter/factory");
|
|
12
|
+
// export import cognito = cognito;
|
|
13
|
+
// export import waiter = waiter;
|
|
12
14
|
var AccountFactory = require("./account");
|
|
13
15
|
var AcceptCOAOfferActionFactory = require("./action/accept/coaOffer");
|
|
14
16
|
var AcceptPayActionFactory = require("./action/accept/pay");
|
|
@@ -115,7 +117,8 @@ var UnitPriceSpecificationFactory = require("./priceSpecification/unitPriceSpeci
|
|
|
115
117
|
var priceSpecificationType_1 = require("./priceSpecificationType");
|
|
116
118
|
var ProductFactory = require("./product");
|
|
117
119
|
var ProgramMembershipFactory = require("./programMembership");
|
|
118
|
-
|
|
120
|
+
// import * as project from './project';
|
|
121
|
+
exports.project = require("./project");
|
|
119
122
|
var PropertyValueFactory = require("./propertyValue");
|
|
120
123
|
var LocationFeatureSpecificationFactory = require("./propertyValue/locationFeatureSpecification");
|
|
121
124
|
var QualitativeValueFactory = require("./qualitativeValue");
|
|
@@ -208,8 +211,9 @@ var PlaceOrderTransactionFactory = require("./transaction/placeOrder");
|
|
|
208
211
|
var ReturnOrderTransactionFactory = require("./transaction/returnOrder");
|
|
209
212
|
var transactionType_1 = require("./transactionType");
|
|
210
213
|
var errorCode_1 = require("./errorCode");
|
|
211
|
-
|
|
212
|
-
exports.errors = errors;
|
|
214
|
+
// import * as errors from './errors';
|
|
215
|
+
exports.errors = require("./errors");
|
|
216
|
+
// export import errors = errors;
|
|
213
217
|
exports.errorCode = errorCode_1.ErrorCode;
|
|
214
218
|
exports.acceptedPaymentMethodOffer = AcceptedPaymentMethodOfferFactory;
|
|
215
219
|
exports.account = AccountFactory;
|
|
@@ -224,36 +228,29 @@ var action;
|
|
|
224
228
|
})(accept = action.accept || (action.accept = {}));
|
|
225
229
|
var authorize;
|
|
226
230
|
(function (authorize) {
|
|
227
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
228
231
|
var paymentMethod;
|
|
229
232
|
(function (paymentMethod) {
|
|
230
233
|
paymentMethod.any = AuthorizeAnyPaymentActionFactory;
|
|
231
234
|
})(paymentMethod = authorize.paymentMethod || (authorize.paymentMethod = {}));
|
|
232
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
233
235
|
var offer;
|
|
234
236
|
(function (offer) {
|
|
235
237
|
offer.eventService = AuthorizeEventServiceOfferActionFactory;
|
|
236
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
237
238
|
offer.product = AuthorizeProductOfferActionFactory;
|
|
238
239
|
})(offer = authorize.offer || (authorize.offer = {}));
|
|
239
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
240
240
|
authorize.invoice = AuthorizeInvoiceActionFactory;
|
|
241
241
|
authorize.ticketedObject = AuthorizeTicketedObjectActionFactory;
|
|
242
242
|
})(authorize = action.authorize || (action.authorize = {}));
|
|
243
243
|
var cancel;
|
|
244
244
|
(function (cancel) {
|
|
245
245
|
cancel.coaReserve = CancelCOAReserveActionFactory;
|
|
246
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
247
246
|
cancel.reservation = CancelReservationActionFactory;
|
|
248
247
|
})(cancel = action.cancel || (action.cancel = {}));
|
|
249
248
|
var check;
|
|
250
249
|
(function (check) {
|
|
251
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
252
250
|
var paymentMethod;
|
|
253
251
|
(function (paymentMethod) {
|
|
254
252
|
paymentMethod.movieTicket = CheckMovieTicketActionFactory;
|
|
255
253
|
})(paymentMethod = check.paymentMethod || (check.paymentMethod = {}));
|
|
256
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
257
254
|
check.thing = CheckThingActionFactory;
|
|
258
255
|
// export import token = CheckTokenActionFactory; // discontinue(2025-09-22~)
|
|
259
256
|
})(check = action.check || (action.check = {}));
|
|
@@ -264,19 +261,16 @@ var action;
|
|
|
264
261
|
(function (confirm) {
|
|
265
262
|
confirm.registerService = ConfirmRegisterServiceActionFactory;
|
|
266
263
|
confirm.pay = ConfirmPayActionFactory;
|
|
267
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
268
264
|
confirm.reservation = ConfirmReservationActionFactory;
|
|
269
265
|
})(confirm = interact.confirm || (interact.confirm = {}));
|
|
270
266
|
interact.inform = InformActionFactory;
|
|
271
267
|
var register;
|
|
272
268
|
(function (register) {
|
|
273
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
274
269
|
register.service = RegisterServiceActionFactory;
|
|
275
270
|
})(register = interact.register || (interact.register = {}));
|
|
276
271
|
})(interact = action.interact || (action.interact = {}));
|
|
277
272
|
var trade;
|
|
278
273
|
(function (trade) {
|
|
279
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
280
274
|
trade.order = OrderActionFactory;
|
|
281
275
|
trade.pay = PayActionFactory;
|
|
282
276
|
trade.refund = RefundActionFactory;
|
|
@@ -286,7 +280,6 @@ var action;
|
|
|
286
280
|
transfer.moneyTransfer = MoneyTransferActionFactory;
|
|
287
281
|
var give;
|
|
288
282
|
(function (give) {
|
|
289
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
290
283
|
give.pointAward = GivePointAwardActionFactory;
|
|
291
284
|
})(give = transfer.give || (transfer.give = {}));
|
|
292
285
|
/**
|
|
@@ -295,9 +288,7 @@ var action;
|
|
|
295
288
|
*/
|
|
296
289
|
var returnAction;
|
|
297
290
|
(function (returnAction) {
|
|
298
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
299
291
|
returnAction.invoice = ReturnInvoiceActionFactory;
|
|
300
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
301
292
|
returnAction.order = ReturnOrderActionFactory;
|
|
302
293
|
returnAction.pointAward = ReturnPointAwardActionFactory;
|
|
303
294
|
returnAction.reserveTransaction = ReturnReserveTransactionActionFactory;
|
|
@@ -308,7 +299,6 @@ var action;
|
|
|
308
299
|
(function (message) {
|
|
309
300
|
message.email = SendEmailMessageActionFactory;
|
|
310
301
|
})(message = send.message || (send.message = {}));
|
|
311
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
312
302
|
send.order = SendOrderActionFactory;
|
|
313
303
|
})(send = transfer.send || (transfer.send = {}));
|
|
314
304
|
})(transfer = action.transfer || (action.transfer = {}));
|
|
@@ -317,19 +307,17 @@ var action;
|
|
|
317
307
|
update.add = AddActionFactory;
|
|
318
308
|
update.deleteAction = DeleteActionFactory;
|
|
319
309
|
update.replace = ReplaceActionFactory;
|
|
320
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
321
310
|
update.update = UpdateActionFactory;
|
|
322
311
|
})(update = action.update || (action.update = {}));
|
|
323
312
|
var consume;
|
|
324
313
|
(function (consume) {
|
|
325
314
|
var use;
|
|
326
315
|
(function (use) {
|
|
327
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
328
316
|
use.reservation = UseReservationActionFactory;
|
|
329
317
|
})(use = consume.use || (consume.use = {}));
|
|
330
318
|
})(consume = action.consume || (action.consume = {}));
|
|
331
319
|
action.reserve = ReserveActionFactory;
|
|
332
|
-
})(action
|
|
320
|
+
})(action || (exports.action = action = {}));
|
|
333
321
|
exports.accountTitle = AccountTitleFactory;
|
|
334
322
|
exports.accountType = accountType_1.AccountType;
|
|
335
323
|
exports.additionalProperty = AdditionalPropertyFactory;
|
|
@@ -347,7 +335,6 @@ var creativeWork;
|
|
|
347
335
|
/**
|
|
348
336
|
* マシーンアイデンティティ
|
|
349
337
|
*/
|
|
350
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
351
338
|
certification.softwareApplication = softwareApplicationCertification;
|
|
352
339
|
/**
|
|
353
340
|
* アプリケーションアイデンティティ
|
|
@@ -374,11 +361,10 @@ var creativeWork;
|
|
|
374
361
|
var softwareApplication;
|
|
375
362
|
(function (softwareApplication) {
|
|
376
363
|
// export import ISoftwareApplication = SoftwareApplicationFactory.ISoftwareApplication;
|
|
377
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
378
364
|
softwareApplication.softwareApplication = SoftwareApplicationFactory;
|
|
379
365
|
softwareApplication.webApplication = WebApplicationFactory;
|
|
380
366
|
})(softwareApplication = creativeWork.softwareApplication || (creativeWork.softwareApplication = {}));
|
|
381
|
-
})(creativeWork
|
|
367
|
+
})(creativeWork || (exports.creativeWork = creativeWork = {}));
|
|
382
368
|
exports.creativeWorkType = creativeWorkType_1.CreativeWorkType;
|
|
383
369
|
exports.customer = CustomerFactory;
|
|
384
370
|
var event;
|
|
@@ -400,7 +386,7 @@ var event;
|
|
|
400
386
|
// never;
|
|
401
387
|
event.screeningEvent = ScreeningEventFactory;
|
|
402
388
|
// export import screeningEventSeries = ScreeningEventSeriesFactory;
|
|
403
|
-
})(event
|
|
389
|
+
})(event || (exports.event = event = {}));
|
|
404
390
|
exports.eventOffer = EventOfferFactory;
|
|
405
391
|
exports.eventSeries = ScreeningEventSeriesFactory; // reimplement from event.screeningEventSeries
|
|
406
392
|
exports.encodingFormat = EncodingFormat;
|
|
@@ -416,37 +402,23 @@ exports.monetaryAmount = MonetaryAmountFactory;
|
|
|
416
402
|
exports.movieTicketType = MovieTicketTypeFactory;
|
|
417
403
|
var notification;
|
|
418
404
|
(function (notification) {
|
|
419
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
420
405
|
notification.event = EventNotification;
|
|
421
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
422
406
|
notification.eventSeries = EventSeriesNotification;
|
|
423
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
424
407
|
notification.order = OrderNotification;
|
|
425
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
426
408
|
notification.reservation = ReservationNotification;
|
|
427
409
|
notification.payAction = PayActionNotification;
|
|
428
410
|
notification.refundAction = RefundActionNotification;
|
|
429
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
430
411
|
notification.accountTitle = AccountTitleNotification;
|
|
431
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
432
412
|
notification.categoryCode = CategoryCodeNotification;
|
|
433
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
434
413
|
notification.creativeWork = CreativeWorkNotification;
|
|
435
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
436
414
|
notification.offer = OfferNotification;
|
|
437
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
438
415
|
notification.offerCatalog = OfferCatalogNotification;
|
|
439
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
440
416
|
notification.person = PersonNotification;
|
|
441
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
442
417
|
notification.place = PlaceNotification;
|
|
443
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
444
418
|
notification.product = ProductNotification;
|
|
445
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
446
419
|
notification.task = TaskNotification;
|
|
447
|
-
// tslint:disable-next-line:no-shadowed-variable
|
|
448
420
|
notification.transaction = TransactionNotification;
|
|
449
|
-
})(notification
|
|
421
|
+
})(notification || (exports.notification = notification = {}));
|
|
450
422
|
exports.offer = OfferFactory;
|
|
451
423
|
exports.offerCatalog = OfferCatalogFactory;
|
|
452
424
|
exports.offerItemCondition = OfferItemConditionFactory;
|
|
@@ -463,7 +435,7 @@ var paymentMethod;
|
|
|
463
435
|
paymentCard.creditCard = CreditCardFactory;
|
|
464
436
|
paymentCard.movieTicket = MovieTicketFactory;
|
|
465
437
|
})(paymentCard = paymentMethod.paymentCard || (paymentMethod.paymentCard = {}));
|
|
466
|
-
})(paymentMethod
|
|
438
|
+
})(paymentMethod || (exports.paymentMethod = paymentMethod = {}));
|
|
467
439
|
exports.paymentStatusType = paymentStatusType_1.PaymentStatusType;
|
|
468
440
|
exports.permit = PermitFactory;
|
|
469
441
|
exports.person = PersonFactory;
|
|
@@ -477,40 +449,40 @@ var place;
|
|
|
477
449
|
place.screeningRoom = ScreeningRoomPlaceFactory;
|
|
478
450
|
place.screeningRoomSection = ScreeningRoomSectionPlaceFactory;
|
|
479
451
|
place.seat = SeatPlaceFactory;
|
|
480
|
-
})(place
|
|
452
|
+
})(place || (exports.place = place = {}));
|
|
481
453
|
exports.placeType = placeType_1.PlaceType;
|
|
482
454
|
var priceSpecification;
|
|
483
455
|
(function (priceSpecification) {
|
|
484
456
|
priceSpecification.unitPrice = UnitPriceSpecificationFactory;
|
|
485
|
-
})(priceSpecification
|
|
457
|
+
})(priceSpecification || (exports.priceSpecification = priceSpecification = {}));
|
|
486
458
|
exports.priceSpecificationType = priceSpecificationType_1.PriceSpecificationType;
|
|
487
459
|
exports.programMembership = ProgramMembershipFactory;
|
|
488
460
|
exports.product = ProductFactory;
|
|
489
461
|
exports.productOffer = ProductOfferFactory;
|
|
490
|
-
|
|
462
|
+
// export import project = project;
|
|
491
463
|
var propertyValue;
|
|
492
464
|
(function (propertyValue) {
|
|
493
465
|
propertyValue.PropertyValueType = PropertyValueFactory.PropertyValueType;
|
|
494
466
|
propertyValue.locationFeatureSpecification = LocationFeatureSpecificationFactory;
|
|
495
|
-
})(propertyValue
|
|
467
|
+
})(propertyValue || (exports.propertyValue = propertyValue = {}));
|
|
496
468
|
exports.qualitativeValue = QualitativeValueFactory;
|
|
497
469
|
exports.quantitativeValue = QuantitativeValueFactory;
|
|
498
470
|
exports.recipe = RecipeFactory;
|
|
499
471
|
var report;
|
|
500
472
|
(function (report) {
|
|
501
473
|
report.accountingReport = AccountingReportFactory;
|
|
502
|
-
})(report
|
|
474
|
+
})(report || (exports.report = report = {}));
|
|
503
475
|
var reservation;
|
|
504
476
|
(function (reservation) {
|
|
505
477
|
reservation.eventReservation = EventReservationFactory;
|
|
506
|
-
})(reservation
|
|
478
|
+
})(reservation || (exports.reservation = reservation = {}));
|
|
507
479
|
exports.reservationStatusType = reservationStatusType_1.ReservationStatusType;
|
|
508
480
|
exports.reservationType = reservationType_1.ReservationType;
|
|
509
481
|
var role;
|
|
510
482
|
(function (role) {
|
|
511
483
|
role.RoleType = RoleFactory.RoleType;
|
|
512
484
|
role.organizationRole = OrganizationRoleFactory;
|
|
513
|
-
})(role
|
|
485
|
+
})(role || (exports.role = role = {}));
|
|
514
486
|
exports.schedule = ScheduleFactory;
|
|
515
487
|
exports.seller = SellerFactory;
|
|
516
488
|
exports.sellerReturnPolicy = SellerReturnPolicyFactory;
|
|
@@ -553,12 +525,12 @@ var task;
|
|
|
553
525
|
task.onResourceUpdated = OnResourceUpdatedTaskFactory;
|
|
554
526
|
task.accountMoneyTransfer = AccountMoneyTransferTaskFactory;
|
|
555
527
|
task.cancelAccountMoneyTransfer = CancelAccountMoneyTransferTaskFactory;
|
|
556
|
-
})(task
|
|
528
|
+
})(task || (exports.task = task = {}));
|
|
557
529
|
var service;
|
|
558
530
|
(function (service) {
|
|
559
531
|
service.paymentService = PaymentServiceFactory;
|
|
560
532
|
service.webAPI = WebAPIServiceFactory;
|
|
561
|
-
})(service
|
|
533
|
+
})(service || (exports.service = service = {}));
|
|
562
534
|
exports.serviceChannel = ServiceChannelFactory;
|
|
563
535
|
exports.sortType = sortType_1.SortType;
|
|
564
536
|
exports.taskName = taskName_1.TaskName;
|
|
@@ -567,7 +539,7 @@ exports.thing = ThingFactory;
|
|
|
567
539
|
var trip;
|
|
568
540
|
(function (trip) {
|
|
569
541
|
trip.busTrip = BusTripFactory;
|
|
570
|
-
})(trip
|
|
542
|
+
})(trip || (exports.trip = trip = {}));
|
|
571
543
|
exports.tripType = tripType_1.TripType;
|
|
572
544
|
var assetTransaction;
|
|
573
545
|
(function (assetTransaction) {
|
|
@@ -577,12 +549,12 @@ var assetTransaction;
|
|
|
577
549
|
assetTransaction.refund = RefundAssetTransactionFactory;
|
|
578
550
|
assetTransaction.registerService = RegisterServiceAssetTransactionFactory;
|
|
579
551
|
assetTransaction.reserve = ReserveAssetTransactionFactory;
|
|
580
|
-
})(assetTransaction
|
|
552
|
+
})(assetTransaction || (exports.assetTransaction = assetTransaction = {}));
|
|
581
553
|
var transaction;
|
|
582
554
|
(function (transaction) {
|
|
583
555
|
transaction.placeOrder = PlaceOrderTransactionFactory;
|
|
584
556
|
transaction.returnOrder = ReturnOrderTransactionFactory;
|
|
585
|
-
})(transaction
|
|
557
|
+
})(transaction || (exports.transaction = transaction = {}));
|
|
586
558
|
exports.transactionType = transactionType_1.TransactionType;
|
|
587
559
|
exports.transactionStatusType = transactionStatusType_1.TransactionStatusType;
|
|
588
560
|
// export import transactionTasksExportationStatus = TransactionTasksExportationStatus; // discontinue(2024-06-20~)
|
package/lib/itemAvailability.js
CHANGED
|
@@ -15,4 +15,4 @@ var ItemAvailability;
|
|
|
15
15
|
ItemAvailability["PreOrder"] = "PreOrder";
|
|
16
16
|
ItemAvailability["PreSale"] = "PreSale";
|
|
17
17
|
ItemAvailability["SoldOut"] = "SoldOut";
|
|
18
|
-
})(ItemAvailability
|
|
18
|
+
})(ItemAvailability || (exports.ItemAvailability = ItemAvailability = {}));
|
|
@@ -6,7 +6,7 @@ var RefundTypeEnumeration;
|
|
|
6
6
|
RefundTypeEnumeration["ExchangeRefund"] = "ExchangeRefund";
|
|
7
7
|
RefundTypeEnumeration["FullRefund"] = "FullRefund";
|
|
8
8
|
RefundTypeEnumeration["StoreCreditRefund"] = "StoreCreditRefund";
|
|
9
|
-
})(RefundTypeEnumeration
|
|
9
|
+
})(RefundTypeEnumeration || (exports.RefundTypeEnumeration = RefundTypeEnumeration = {}));
|
|
10
10
|
var ReturnFeesEnumeration;
|
|
11
11
|
(function (ReturnFeesEnumeration) {
|
|
12
12
|
/**
|
|
@@ -23,7 +23,7 @@ var ReturnFeesEnumeration;
|
|
|
23
23
|
*/
|
|
24
24
|
ReturnFeesEnumeration["ReturnFeesCustomerResponsibility"] = "ReturnFeesCustomerResponsibility";
|
|
25
25
|
// ReturnShippingFees = 'ReturnShippingFees'
|
|
26
|
-
})(ReturnFeesEnumeration
|
|
26
|
+
})(ReturnFeesEnumeration || (exports.ReturnFeesEnumeration = ReturnFeesEnumeration = {}));
|
|
27
27
|
/**
|
|
28
28
|
* 返品ポリシーインターフェース
|
|
29
29
|
* {@link https://schema.org/MerchantReturnEnumeration}
|
|
@@ -46,4 +46,4 @@ var MerchantReturnEnumeration;
|
|
|
46
46
|
* a product return policy is not specified here.
|
|
47
47
|
*/
|
|
48
48
|
MerchantReturnEnumeration["MerchantReturnUnspecified"] = "MerchantReturnUnspecified";
|
|
49
|
-
})(MerchantReturnEnumeration
|
|
49
|
+
})(MerchantReturnEnumeration || (exports.MerchantReturnEnumeration = MerchantReturnEnumeration = {}));
|
package/lib/movieTicketType.js
CHANGED
|
@@ -7,4 +7,4 @@ var CategorySetIdentifier;
|
|
|
7
7
|
* 決済カード区分
|
|
8
8
|
*/
|
|
9
9
|
CategorySetIdentifier["MovieTicketType"] = "MovieTicketType";
|
|
10
|
-
})(CategorySetIdentifier
|
|
10
|
+
})(CategorySetIdentifier || (exports.CategorySetIdentifier = CategorySetIdentifier = {}));
|
|
@@ -8,4 +8,4 @@ exports.OfferItemCondition = void 0;
|
|
|
8
8
|
var OfferItemCondition;
|
|
9
9
|
(function (OfferItemCondition) {
|
|
10
10
|
OfferItemCondition["NewCondition"] = "NewCondition";
|
|
11
|
-
})(OfferItemCondition
|
|
11
|
+
})(OfferItemCondition || (exports.OfferItemCondition = OfferItemCondition = {}));
|
package/lib/offerType.js
CHANGED
package/lib/order.js
CHANGED
package/lib/orderStatus.js
CHANGED
|
@@ -14,4 +14,4 @@ var OrderStatus;
|
|
|
14
14
|
// OrderProblem = 'OrderProblem',
|
|
15
15
|
OrderStatus["OrderProcessing"] = "OrderProcessing";
|
|
16
16
|
OrderStatus["OrderReturned"] = "OrderReturned";
|
|
17
|
-
})(OrderStatus
|
|
17
|
+
})(OrderStatus || (exports.OrderStatus = OrderStatus = {}));
|
package/lib/organizationType.js
CHANGED
package/lib/paymentStatusType.js
CHANGED
|
@@ -11,4 +11,4 @@ var PaymentStatusType;
|
|
|
11
11
|
PaymentStatusType["PaymentDeclined"] = "PaymentDeclined";
|
|
12
12
|
PaymentStatusType["PaymentDue"] = "PaymentDue";
|
|
13
13
|
PaymentStatusType["PaymentPastDue"] = "PaymentPastDue";
|
|
14
|
-
})(PaymentStatusType
|
|
14
|
+
})(PaymentStatusType || (exports.PaymentStatusType = PaymentStatusType = {}));
|
package/lib/permit.js
CHANGED
package/lib/personType.js
CHANGED
package/lib/place/seat.d.ts
CHANGED
|
@@ -49,9 +49,7 @@ export interface IPlaceWithOffer extends IPlace {
|
|
|
49
49
|
offers?: IOffer[];
|
|
50
50
|
}
|
|
51
51
|
export type IKeyOfProjection = 'typeOf' | 'branchCode' | 'name' | 'seatingType' | 'additionalProperty' | 'containedInPlace.containedInPlace' | 'containedInPlace.typeOf' | 'containedInPlace.branchCode' | 'containedInPlace.name';
|
|
52
|
-
export type IProjection =
|
|
53
|
-
[key in IKeyOfProjection]?: 0;
|
|
54
|
-
};
|
|
52
|
+
export type IProjection = Partial<Record<IKeyOfProjection, 0>>;
|
|
55
53
|
export interface ISearchConditions {
|
|
56
54
|
$projection?: IProjection;
|
|
57
55
|
limit?: number;
|
package/lib/placeType.js
CHANGED
|
@@ -14,4 +14,4 @@ var PlaceType;
|
|
|
14
14
|
PlaceType["ScreeningRoom"] = "ScreeningRoom";
|
|
15
15
|
PlaceType["ScreeningRoomSection"] = "ScreeningRoomSection";
|
|
16
16
|
PlaceType["Seat"] = "Seat";
|
|
17
|
-
})(PlaceType
|
|
17
|
+
})(PlaceType || (exports.PlaceType = PlaceType = {}));
|
package/lib/priceCurrency.js
CHANGED
|
@@ -26,4 +26,4 @@ var PriceSpecificationType;
|
|
|
26
26
|
* 単価仕様
|
|
27
27
|
*/
|
|
28
28
|
PriceSpecificationType["UnitPriceSpecification"] = "UnitPriceSpecification";
|
|
29
|
-
})(PriceSpecificationType
|
|
29
|
+
})(PriceSpecificationType || (exports.PriceSpecificationType = PriceSpecificationType = {}));
|
package/lib/product.js
CHANGED
package/lib/programMembership.js
CHANGED
|
@@ -4,4 +4,4 @@ exports.ProgramMembershipType = void 0;
|
|
|
4
4
|
var ProgramMembershipType;
|
|
5
5
|
(function (ProgramMembershipType) {
|
|
6
6
|
ProgramMembershipType["ProgramMembership"] = "ProgramMembership";
|
|
7
|
-
})(ProgramMembershipType
|
|
7
|
+
})(ProgramMembershipType || (exports.ProgramMembershipType = ProgramMembershipType = {}));
|
package/lib/propertyValue.js
CHANGED
|
@@ -4,4 +4,4 @@ exports.PropertyValueType = void 0;
|
|
|
4
4
|
var PropertyValueType;
|
|
5
5
|
(function (PropertyValueType) {
|
|
6
6
|
PropertyValueType["LocationFeatureSpecification"] = "LocationFeatureSpecification";
|
|
7
|
-
})(PropertyValueType
|
|
7
|
+
})(PropertyValueType || (exports.PropertyValueType = PropertyValueType = {}));
|
package/lib/quantitativeValue.js
CHANGED