@chevre/factory 4.367.0-alpha.2 → 4.367.0-alpha.3

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/order.d.ts CHANGED
@@ -119,16 +119,14 @@ export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
119
119
  export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationFor, 'superEvent'> & {
120
120
  superEvent: ISuperEvent;
121
121
  };
122
- export type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
122
+ export type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'ticketNumber' | 'dateIssued' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
123
123
  ticketType: ITicketType;
124
124
  };
125
- export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'identifier' | // 追加(2024-04-15~)
126
- 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
125
+ export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
127
126
  reservationFor: ITripAsReservationFor;
128
127
  reservedTicket: IReservedTicket;
129
128
  };
130
- export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'identifier' | // 追加(2024-04-15~)
131
- 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
129
+ export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
132
130
  reservationFor: IEventAsReservationFor;
133
131
  reservedTicket: IReservedTicket;
134
132
  };
@@ -6,10 +6,6 @@ export interface IMovieTicketReservationFor {
6
6
  id: string;
7
7
  }
8
8
  export interface IMovieTicketServiceOutput {
9
- /**
10
- * 予約識別子
11
- */
12
- identifier?: string;
13
9
  /**
14
10
  * 予約対象イベント
15
11
  */
@@ -18,6 +14,11 @@ export interface IMovieTicketServiceOutput {
18
14
  * 予約チケット
19
15
  */
20
16
  reservedTicket: {
17
+ /**
18
+ * チケット識別子
19
+ * 指定された場合、予約のチケット識別子と関連付けされます
20
+ */
21
+ ticketNumber?: string;
21
22
  ticketedSeat: ISeat;
22
23
  };
23
24
  }
@@ -27,10 +27,6 @@ export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
27
27
  export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
28
28
  bookingTime: Date;
29
29
  id: string;
30
- /**
31
- * 予約識別子
32
- */
33
- identifier?: string;
34
30
  issuedThrough: IIssuedThrough;
35
31
  reservationFor: IReservationFor;
36
32
  reservationNumber: string;
@@ -51,10 +51,6 @@ export interface IIssuedThrough extends ReservationFactory.IIssuedThrough {
51
51
  export interface IReservation extends ReservationFactory.IReservation<IPriceSpecification> {
52
52
  bookingTime: Date;
53
53
  id: string;
54
- /**
55
- * 予約識別子
56
- */
57
- identifier?: string;
58
54
  issuedThrough: IIssuedThrough;
59
55
  reservationFor: IReservationFor;
60
56
  reservationNumber: string;
@@ -19,7 +19,6 @@ import { IPropertyValue } from './propertyValue';
19
19
  import { ReservationStatusType } from './reservationStatusType';
20
20
  import { ReservationType } from './reservationType';
21
21
  import { SortType } from './sortType';
22
- import { IThing } from './thing';
23
22
  export type TicketType = 'Ticket';
24
23
  export interface ITicketType {
25
24
  additionalProperty?: IPropertyValue<string>[];
@@ -134,15 +133,10 @@ export interface ITicket {
134
133
  */
135
134
  ticketedSeat?: ISeat;
136
135
  /**
137
- * Where the ticket can be downloaded.
138
- */
139
- /**
140
- * The number or id of the ticket.
136
+ * チケット識別子
137
+ * The unique identifier for the ticket.
141
138
  */
142
139
  ticketNumber?: string;
143
- /**
144
- * Where the ticket can be printed.
145
- */
146
140
  /**
147
141
  * If the barcode image is hosted on your site, the value of the field is URL of the image, or a barcode or QR URI,
148
142
  * such as "barcode128:AB34" (ISO-15417 barcodes), "qrCode:AB34" (QR codes),
@@ -150,11 +144,7 @@ export interface ITicket {
150
144
  */
151
145
  ticketToken?: string;
152
146
  /**
153
- * The person or organization the reservation is for.
154
- * ルートのunderNameに統合(2022-12-19~)
155
- */
156
- /**
157
- * 券種
147
+ * オファー
158
148
  */
159
149
  ticketType: ITicketType;
160
150
  /**
@@ -204,7 +194,7 @@ export interface IProvider {
204
194
  * For offers of tickets, restaurant reservations, flights, or rental cars, use Offer.
205
195
  * {@link https://schema.org/Reservation}
206
196
  */
207
- export interface IReservation<T extends Omit<IPriceSpecification, 'project'>> extends Pick<IThing, 'identifier' | 'name'> {
197
+ export interface IReservation<T extends Omit<IPriceSpecification, 'project'>> {
208
198
  project: Pick<IProject, 'id' | 'typeOf'>;
209
199
  /**
210
200
  * type of object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "4.367.0-alpha.2",
3
+ "version": "4.367.0-alpha.3",
4
4
  "description": "Chevre Factory Library for Javascript",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",