@chevre/factory 11.2.0-alpha.2 → 11.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.
@@ -158,7 +158,7 @@ export interface IObjectWithoutDetail4COA {
158
158
  /**
159
159
  * 受入COA興行オファー
160
160
  */
161
- export type IAcceptedOffer4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'id' | 'itemOffered' | 'additionalProperty'> & Pick<IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'additionalProperty'> & {
161
+ export type IAcceptedOffer4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'id' | 'itemOffered'> & Pick<IOffer, 'typeOf' | 'id' | 'identifier' | 'name' | 'priceCurrency' | 'additionalProperty'> & {
162
162
  /**
163
163
  * 単価オファーid
164
164
  */
@@ -184,7 +184,7 @@ export type IAcceptedOffer4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'id' |
184
184
  /**
185
185
  * 承認前の受入オファー(COA仮予約済)
186
186
  */
187
- export type IAcceptedOfferBeforeAuthorize4COA = Pick<IAcceptedOfferWithoutDetail4chevre, 'additionalProperty'> & Pick<IOffer, 'name' | 'additionalProperty'> & {
187
+ export type IAcceptedOfferBeforeAuthorize4COA = Pick<IOffer, 'name' | 'additionalProperty'> & {
188
188
  itemOffered: Pick<IAcceptedTicketOfferItemOffered, 'serviceOutput'>;
189
189
  ticketInfo: Omit<ICOATicketInfoWithDetails, 'salePrice' | 'usePoint'>;
190
190
  /**
@@ -143,7 +143,7 @@ export interface ISearchConditions {
143
143
  actionStatusTypes?: ActionStatusType[];
144
144
  agent?: {
145
145
  typeOf?: {
146
- $in?: string[];
146
+ $in?: IParticipant['typeOf'];
147
147
  };
148
148
  id?: {
149
149
  $in?: string[];
@@ -62,8 +62,8 @@ export interface ISearchConditions {
62
62
  };
63
63
  inCodeSet?: {
64
64
  identifier?: {
65
- $eq?: string;
66
- $in?: string[];
65
+ $eq?: ICategoryCodeSet['identifier'];
66
+ $in?: ICategoryCodeSet['identifier'][];
67
67
  };
68
68
  };
69
69
  }
@@ -212,7 +212,7 @@ export interface ISearchConditions extends IBaseSearchConditions<AssetTransactio
212
212
  * 決済サービスタイプ
213
213
  */
214
214
  typeOf?: {
215
- $eq?: string;
215
+ $eq?: IPaymentServiceAsObject['typeOf'];
216
216
  };
217
217
  };
218
218
  }
@@ -218,7 +218,6 @@ export interface IAcceptedTicketOfferWithoutDetail {
218
218
  * 受入アドオン
219
219
  */
220
220
  addOn?: IAcceptedAddOn[];
221
- additionalProperty?: IPropertyValue<string>[];
222
221
  priceSpecification?: {
223
222
  appliesToMovieTicket?: IAcceptedAppliesToMovieTicket;
224
223
  };
@@ -233,6 +232,7 @@ export interface IAcceptedTicketOfferWithoutDetail {
233
232
  */
234
233
  id: string;
235
234
  };
235
+ additionalProperty?: never;
236
236
  }
237
237
  /**
238
238
  * 受け入れられたチケットオファー
@@ -365,10 +365,10 @@ export interface IIssuedThrough {
365
365
  * 予約取引に保管される予約者情報
366
366
  */
367
367
  export type IUnderName = Pick<IReservationUnderName, 'email' | 'givenName' | 'familyName' | 'id' | 'identifier' | 'name' | 'telephone' | 'typeOf'> & {
368
- address?: string;
369
- age?: string;
370
- gender?: string;
371
- url?: string;
368
+ address?: never;
369
+ age?: never;
370
+ gender?: never;
371
+ url?: never;
372
372
  };
373
373
  export interface IObject extends Pick<IReservationPackage, 'broker' | 'provider' | 'reservationStatus' | 'typeOf'> {
374
374
  underName?: IUnderName;
@@ -159,7 +159,7 @@ export interface ISortOrder {
159
159
  validFrom?: SortType;
160
160
  }
161
161
  export interface IObjectSearchConditions {
162
- typeOfs?: string[];
162
+ typeOfs?: IObject['typeOf'][];
163
163
  ids?: string[];
164
164
  orderNumber?: {
165
165
  $eq?: string;
@@ -96,8 +96,8 @@ export interface ISearchConditions {
96
96
  };
97
97
  inCodeSet?: {
98
98
  identifier?: {
99
- $eq?: string;
100
- $in?: string[];
99
+ $eq?: ICategoryCodeSet['identifier'];
100
+ $in?: ICategoryCodeSet['identifier'][];
101
101
  };
102
102
  };
103
103
  paymentMethod?: never;
@@ -64,7 +64,7 @@ export interface ISearchConditions {
64
64
  $regex?: string;
65
65
  };
66
66
  typeOf?: {
67
- $eq?: string;
67
+ $eq?: IAbout['typeOf'];
68
68
  };
69
69
  };
70
70
  issuedBy?: {
@@ -126,7 +126,7 @@ export interface ISearchConditions {
126
126
  $in?: string[];
127
127
  };
128
128
  typeOf?: {
129
- $eq?: string;
129
+ $eq?: INoteDigitalDocument['about']['typeOf'];
130
130
  };
131
131
  };
132
132
  identifier?: {
@@ -85,7 +85,7 @@ export interface ISearchConditions {
85
85
  $regex?: string;
86
86
  };
87
87
  typeOf?: {
88
- $eq?: string;
88
+ $eq?: IMemberType;
89
89
  };
90
90
  memberOf?: {
91
91
  id?: {
@@ -49,8 +49,8 @@ export interface ISearchConditions {
49
49
  };
50
50
  inCodeSet?: {
51
51
  identifier?: {
52
- $eq?: string;
53
- $in?: string[];
52
+ $eq?: CategorySetIdentifier.MovieTicketType;
53
+ $in?: CategorySetIdentifier.MovieTicketType[];
54
54
  };
55
55
  };
56
56
  paymentMethod?: {
@@ -116,12 +116,12 @@ export interface ISearchConditions {
116
116
  $nin?: string[];
117
117
  };
118
118
  typeOf?: {
119
- $eq?: string;
119
+ $eq?: IItemListElement['typeOf'];
120
120
  };
121
121
  };
122
122
  itemOffered?: {
123
123
  typeOf?: {
124
- $eq?: string;
124
+ $eq?: ProductType;
125
125
  };
126
126
  };
127
127
  relatedOffer?: {
@@ -40,6 +40,6 @@ export interface ISearchConditions {
40
40
  };
41
41
  };
42
42
  typeOf?: {
43
- $eq?: string;
43
+ $eq?: ActionType.InformAction;
44
44
  };
45
45
  }
@@ -1,7 +1,7 @@
1
1
  import { ILocation as IEventLocation, ISuperEvent } from '../event/screeningEvent';
2
2
  import { IWorkPerformed } from '../eventSeries';
3
3
  import { EventType } from '../eventType';
4
- import { TicketType, ISeat as IReservationSeat, IReservation as IBaseReservation, IAvailableReservationStatusType, ITicket } from '../reservation';
4
+ import { TicketType, ISeat as IReservationSeat, IReservation as IBaseReservation, ITicket } from '../reservation';
5
5
  import { ReservationStatusType } from '../reservationStatusType';
6
6
  import { ReservationType } from '../reservationType';
7
7
  import { SortType } from '../sortType';
@@ -196,14 +196,14 @@ export interface ISearchConditions {
196
196
  additionalTicketText?: string | IStringSearchConditions;
197
197
  broker?: IBrokerSearchConditions;
198
198
  reservationStatus?: {
199
- $eq?: IAvailableReservationStatusType;
200
- $ne?: IAvailableReservationStatusType;
201
- $in?: IAvailableReservationStatusType[];
199
+ $eq?: ReservationStatusType.ReservationCancelled | ReservationStatusType.ReservationConfirmed;
200
+ $ne?: ReservationStatusType.ReservationCancelled | ReservationStatusType.ReservationConfirmed;
201
+ $in?: ReservationStatusType.ReservationCancelled | ReservationStatusType.ReservationConfirmed[];
202
202
  };
203
203
  /**
204
204
  * 予約ステータスリスト
205
205
  */
206
- reservationStatuses?: IAvailableReservationStatusType[];
206
+ reservationStatuses?: ReservationStatusType.ReservationCancelled | ReservationStatusType.ReservationConfirmed[];
207
207
  bookingFrom?: Date;
208
208
  bookingThrough?: Date;
209
209
  /**
@@ -94,20 +94,20 @@ export interface ISearchConditions {
94
94
  roleName?: SortType;
95
95
  };
96
96
  roleName?: {
97
- $eq?: string;
98
- $in?: string[];
97
+ $eq?: RoleName;
98
+ $in?: RoleName[];
99
99
  };
100
100
  permissions?: {
101
101
  $eq?: string;
102
102
  };
103
103
  member?: {
104
104
  typeOf: {
105
- $eq?: string;
105
+ $eq?: IMemberType;
106
106
  };
107
107
  };
108
108
  memberOf?: {
109
109
  typeOf: {
110
- $eq?: string;
110
+ $eq?: OrganizationType.Corporation | OrganizationType.Project;
111
111
  };
112
112
  };
113
113
  }
@@ -227,15 +227,15 @@ export interface ISearchConditions {
227
227
  };
228
228
  };
229
229
  typeOf?: {
230
- $eq?: PaymentServiceType;
231
- $in?: PaymentServiceType[];
230
+ $eq?: PaymentServiceType.CreditCard | PaymentServiceType.MovieTicket;
231
+ $in?: (PaymentServiceType.CreditCard | PaymentServiceType.MovieTicket)[];
232
232
  };
233
233
  serviceOutput?: {
234
234
  typeOf?: {
235
235
  /**
236
236
  * Invoice or Permit
237
237
  */
238
- $eq?: string;
238
+ $eq?: IInvoiceAsServiceOutput['typeOf'] | IPermitAsServiceOutput['typeOf'];
239
239
  };
240
240
  paymentMethod?: {
241
241
  amount?: {
@@ -72,7 +72,7 @@ export interface ISearchConditions {
72
72
  /**
73
73
  * PaymentServiceType
74
74
  */
75
- $eq?: string;
75
+ $eq?: IServiceChannel['providesService']['typeOf'];
76
76
  };
77
77
  };
78
78
  }
@@ -88,12 +88,12 @@ export interface ISearchConditions {
88
88
  $eq?: string;
89
89
  };
90
90
  };
91
- name?: string | {
92
- $in?: string[];
93
- $nin?: string[];
91
+ name?: TaskName | {
92
+ $in?: TaskName[];
93
+ $nin?: TaskName[];
94
94
  };
95
95
  status?: {
96
- $eq?: string;
96
+ $eq?: TaskStatus;
97
97
  };
98
98
  /**
99
99
  * @deprecated use status.$eq
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chevre/factory",
3
- "version": "11.2.0-alpha.2",
3
+ "version": "11.2.0-alpha.4",
4
4
  "main": "./lib/index.js",
5
5
  "types": "./lib/index.d.ts",
6
6
  "files": [