@chevre/factory 6.0.0-alpha.8 → 6.0.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.
|
@@ -298,7 +298,10 @@ export interface IObjectWithoutDetail {
|
|
|
298
298
|
};
|
|
299
299
|
}
|
|
300
300
|
export type IReservationFor = IEventReservationReservationFor;
|
|
301
|
-
export type ISubReservationReservedTicket = IReservedTicket & {
|
|
301
|
+
export type ISubReservationReservedTicket = Omit<IReservedTicket, 'ticketType'> & {
|
|
302
|
+
/**
|
|
303
|
+
* 予約側ではticketType廃止予定であり、予約取引には残す
|
|
304
|
+
*/
|
|
302
305
|
ticketType: ITicketType;
|
|
303
306
|
};
|
|
304
307
|
export type IEventReservationAsSubReservation = Pick<IEventReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'numSeats' | 'priceCurrency' | 'programMembershipUsed' | 'subReservation' | 'typeOf'> & {
|
package/lib/index.d.ts
CHANGED
|
@@ -474,25 +474,21 @@ export declare namespace report {
|
|
|
474
474
|
}
|
|
475
475
|
export declare namespace reservation {
|
|
476
476
|
export import eventReservation = EventReservationFactory;
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
type IProgramMembershipUsed<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.IProgramMembershipUsed : ReservationFactory.IProgramMembershipUsed;
|
|
477
|
+
export import IProgramMembershipUsed = ReservationFactory.IProgramMembershipUsed;
|
|
478
|
+
export import IBroker = ReservationFactory.IBroker;
|
|
479
|
+
export import IIssuedThrough = ReservationFactory.IIssuedThrough;
|
|
481
480
|
export import IProvider = ReservationFactory.IProvider;
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
type ISubReservation<T extends ReservationType> = T extends ReservationType.EventReservation ? EventReservationFactory.ISubReservation : T extends ReservationType.ReservationPackage ? ReservationPackageFactory.ISubReservation : any;
|
|
488
|
-
type IUnderName<T extends ReservationType> = T extends ReservationType.EventReservation ? ReservationFactory.IUnderName : ReservationFactory.IUnderName;
|
|
489
|
-
type ITicketIssuedBy = ReservationFactory.ITicketIssuedBy;
|
|
490
|
-
type TicketType = ReservationFactory.TicketType;
|
|
481
|
+
export import ISortOrder = ReservationFactory.ISortOrder;
|
|
482
|
+
export import ISeat = ReservationFactory.ISeat;
|
|
483
|
+
export import IUnderName = ReservationFactory.IUnderName;
|
|
484
|
+
export import ITicketIssuedBy = ReservationFactory.ITicketIssuedBy;
|
|
485
|
+
export import TicketType = ReservationFactory.TicketType;
|
|
491
486
|
export import IServiceTypeOfIssuedThrough = ReservationFactory.IServiceTypeOfIssuedThrough;
|
|
492
487
|
export import IServiceLocationContainedInPlace = ReservationFactory.IServiceLocationContainedInPlace;
|
|
493
488
|
export import IServiceLocation = ReservationFactory.IServiceLocation;
|
|
494
489
|
export import IServiceChannel = ReservationFactory.IServiceChannel;
|
|
495
490
|
}
|
|
491
|
+
export import reservationPackage = ReservationPackageFactory;
|
|
496
492
|
export import reservationStatusType = ReservationStatusType;
|
|
497
493
|
export import reservationType = ReservationType;
|
|
498
494
|
export { RESERVED_CODE_VALUES };
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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;
|
|
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.reservationPackage = 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
|
*/
|
|
@@ -122,6 +122,7 @@ var QuantitativeValueFactory = require("./quantitativeValue");
|
|
|
122
122
|
var RecipeFactory = require("./recipe");
|
|
123
123
|
var AccountingReportFactory = require("./report/accountingReport");
|
|
124
124
|
var EventReservationFactory = require("./reservation/event");
|
|
125
|
+
var ReservationPackageFactory = require("./reservation/reservationPackage");
|
|
125
126
|
var reservationStatusType_1 = require("./reservationStatusType");
|
|
126
127
|
var reservationType_1 = require("./reservationType");
|
|
127
128
|
var reservedCodeValues_1 = require("./reservedCodeValues");
|
|
@@ -472,6 +473,7 @@ var reservation;
|
|
|
472
473
|
(function (reservation) {
|
|
473
474
|
reservation.eventReservation = EventReservationFactory;
|
|
474
475
|
})(reservation || (exports.reservation = reservation = {}));
|
|
476
|
+
exports.reservationPackage = ReservationPackageFactory;
|
|
475
477
|
exports.reservationStatusType = reservationStatusType_1.ReservationStatusType;
|
|
476
478
|
exports.reservationType = reservationType_1.ReservationType;
|
|
477
479
|
var role;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { ActionType } from '../actionType';
|
|
2
2
|
import { IProvider, ITicket, IUnderName } from '../reservation';
|
|
3
|
-
import { IIssuedThrough, IReservation as IEventReservation, IReservationFor } from '../reservation/event';
|
|
3
|
+
import { IIssuedThrough, IReservation as IEventReservation, IReservationFor, IPrice } from '../reservation/event';
|
|
4
4
|
import { ReservationStatusType } from '../reservationStatusType';
|
|
5
5
|
import { ReservationType } from '../reservationType';
|
|
6
|
+
import { ISubReservationReservedTicket } from '../assetTransaction/reserve';
|
|
6
7
|
type IProject = IEventReservation['project'];
|
|
7
8
|
export type IMaskedUnderName = Pick<IUnderName, 'id' | 'typeOf'>;
|
|
8
|
-
export type ISubReservation4inform = Pick<IEventReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'modifiedTime' | '
|
|
9
|
+
export type ISubReservation4inform = Pick<IEventReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'modifiedTime' | 'programMembershipUsed' | 'subReservation' | 'typeOf'> & {
|
|
10
|
+
price?: IPrice;
|
|
11
|
+
reservedTicket: ISubReservationReservedTicket;
|
|
12
|
+
};
|
|
9
13
|
/**
|
|
10
14
|
* 確定予約通知
|
|
11
15
|
*/
|
|
@@ -102,9 +102,9 @@ export type ICOATicketInfoWithDetails = COA.factory.reserve.IUpdReserveTicket &
|
|
|
102
102
|
};
|
|
103
103
|
export type IReservedTicket = ReservationFactory.ITicket & {
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* 予約ドキュメント内のticketTypeは廃止済(2026-03-26~)
|
|
106
106
|
*/
|
|
107
|
-
ticketType?:
|
|
107
|
+
ticketType?: never;
|
|
108
108
|
/**
|
|
109
109
|
* COA券種情報
|
|
110
110
|
*/
|
|
@@ -14,8 +14,3 @@ export interface IReservation extends ReservationFactory.IReservation<IPriceSpec
|
|
|
14
14
|
subReservation?: ISubReservation[];
|
|
15
15
|
typeOf: ReservationType.ReservationPackage;
|
|
16
16
|
}
|
|
17
|
-
/**
|
|
18
|
-
* 検索条件
|
|
19
|
-
*/
|
|
20
|
-
export interface ISearchConditions extends ReservationFactory.ISearchConditions<ReservationType.ReservationPackage> {
|
|
21
|
-
}
|