@chevre/factory 4.336.0 → 4.337.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.
Files changed (154) hide show
  1. package/README.md +0 -5
  2. package/lib/account/action/moneyTransfer.d.ts +5 -5
  3. package/lib/account/transaction/deposit.d.ts +3 -3
  4. package/lib/account/transaction/transfer.d.ts +3 -3
  5. package/lib/account/transaction/withdraw.d.ts +3 -3
  6. package/lib/account/transaction.d.ts +2 -2
  7. package/lib/action/authorize/award/point.d.ts +4 -4
  8. package/lib/action/authorize/offer/moneyTransfer.d.ts +8 -8
  9. package/lib/action/authorize/offer/product.d.ts +11 -11
  10. package/lib/action/authorize/offer/seatReservation/coa.d.ts +1 -1
  11. package/lib/action/authorize/offer/seatReservation.d.ts +22 -22
  12. package/lib/action/authorize/paymentMethod/any.d.ts +6 -6
  13. package/lib/action/authorize.d.ts +4 -4
  14. package/lib/action/cancel/reservation.d.ts +4 -4
  15. package/lib/action/check/paymentMethod/movieTicket.d.ts +7 -7
  16. package/lib/action/check/token.d.ts +4 -4
  17. package/lib/action/check.d.ts +3 -3
  18. package/lib/action/consume/use/reservation.d.ts +5 -5
  19. package/lib/action/consume/use.d.ts +4 -4
  20. package/lib/action/interact/confirm/moneyTransfer.d.ts +3 -3
  21. package/lib/action/interact/confirm/pay.d.ts +4 -4
  22. package/lib/action/interact/confirm/registerService.d.ts +4 -4
  23. package/lib/action/interact/confirm/reservation.d.ts +7 -7
  24. package/lib/action/interact/confirm.d.ts +6 -6
  25. package/lib/action/interact/inform.d.ts +6 -6
  26. package/lib/action/interact/register/service.d.ts +4 -4
  27. package/lib/action/interact/register.d.ts +5 -5
  28. package/lib/action/reserve.d.ts +5 -5
  29. package/lib/action/trade/order.d.ts +5 -5
  30. package/lib/action/trade/pay.d.ts +7 -7
  31. package/lib/action/trade/refund.d.ts +8 -8
  32. package/lib/action/transfer/give/pointAward.d.ts +5 -5
  33. package/lib/action/transfer/give.d.ts +6 -6
  34. package/lib/action/transfer/moneyTransfer.d.ts +9 -9
  35. package/lib/action/transfer/return/moneyTransfer.d.ts +5 -5
  36. package/lib/action/transfer/return/order.d.ts +5 -5
  37. package/lib/action/transfer/return/paymentMethod.d.ts +6 -6
  38. package/lib/action/transfer/return/pointAward.d.ts +6 -6
  39. package/lib/action/transfer/return/reserveTransaction.d.ts +8 -8
  40. package/lib/action/transfer/return.d.ts +3 -3
  41. package/lib/action/transfer/send/message/email.d.ts +6 -6
  42. package/lib/action/transfer/send/order.d.ts +5 -5
  43. package/lib/action/transfer/send.d.ts +7 -7
  44. package/lib/action/update/delete/member.d.ts +3 -3
  45. package/lib/action/update/delete.d.ts +5 -5
  46. package/lib/action.d.ts +7 -7
  47. package/lib/additionalProperty.d.ts +4 -4
  48. package/lib/assetTransaction/cancelReservation.d.ts +7 -7
  49. package/lib/assetTransaction/moneyTransfer.d.ts +10 -10
  50. package/lib/assetTransaction/pay.d.ts +7 -7
  51. package/lib/assetTransaction/refund.d.ts +7 -7
  52. package/lib/assetTransaction/registerService.d.ts +7 -7
  53. package/lib/assetTransaction/reserve.d.ts +16 -16
  54. package/lib/assetTransaction.d.ts +3 -3
  55. package/lib/authorization.d.ts +7 -7
  56. package/lib/autoGenerated.d.ts +1 -1
  57. package/lib/cognito.d.ts +2 -4
  58. package/lib/creativeWork/comment.d.ts +2 -2
  59. package/lib/creativeWork/movie.d.ts +1 -1
  60. package/lib/creativeWork.d.ts +1 -1
  61. package/lib/error/alreadyInUse.js +1 -1
  62. package/lib/error/argument.js +1 -1
  63. package/lib/error/argumentNull.js +1 -1
  64. package/lib/error/notFound.js +1 -1
  65. package/lib/event/anyEvent.d.ts +14 -14
  66. package/lib/event/screeningEvent.d.ts +12 -12
  67. package/lib/event/screeningEventSeries.d.ts +4 -4
  68. package/lib/event.d.ts +2 -2
  69. package/lib/iam.d.ts +2 -2
  70. package/lib/index.d.ts +1 -1
  71. package/lib/invoice.d.ts +11 -11
  72. package/lib/merchantReturnPolicy.d.ts +4 -4
  73. package/lib/offer/aggregateOffer.d.ts +1 -1
  74. package/lib/offer.d.ts +6 -6
  75. package/lib/offerCatalog.d.ts +2 -2
  76. package/lib/offerItemCondition.d.ts +1 -1
  77. package/lib/order.d.ts +30 -35
  78. package/lib/orderExternal.d.ts +1 -1
  79. package/lib/organization.d.ts +2 -2
  80. package/lib/ownershipInfo.d.ts +9 -9
  81. package/lib/paymentMethod/paymentCard.d.ts +1 -1
  82. package/lib/permit.d.ts +9 -9
  83. package/lib/person.d.ts +3 -3
  84. package/lib/place/movieTheater.d.ts +4 -14
  85. package/lib/place/screeningRoom.d.ts +2 -2
  86. package/lib/place/seat.d.ts +8 -6
  87. package/lib/place.d.ts +1 -2
  88. package/lib/priceSpecification/categoryCodeChargeSpecification.d.ts +1 -1
  89. package/lib/priceSpecification/compoundPriceSpecification.d.ts +2 -2
  90. package/lib/priceSpecification/unitPriceSpecification.d.ts +3 -3
  91. package/lib/priceSpecification.d.ts +2 -2
  92. package/lib/product.d.ts +10 -10
  93. package/lib/quantitativeValue.d.ts +1 -1
  94. package/lib/report/accountingReport.d.ts +7 -7
  95. package/lib/reservation/busReservation.d.ts +3 -3
  96. package/lib/reservation/event.d.ts +4 -4
  97. package/lib/reservation/reservationPackage.d.ts +2 -2
  98. package/lib/reservation.d.ts +12 -12
  99. package/lib/seller.d.ts +4 -4
  100. package/lib/service/paymentService.d.ts +3 -3
  101. package/lib/task/accountMoneyTransfer.d.ts +1 -1
  102. package/lib/task/aggregateScreeningEvent.d.ts +1 -1
  103. package/lib/task/aggregateUseActionsOnEvent.d.ts +1 -1
  104. package/lib/task/cancelAccountMoneyTransfer.d.ts +1 -1
  105. package/lib/task/cancelMoneyTransfer.d.ts +1 -1
  106. package/lib/task/cancelPendingReservation.d.ts +1 -1
  107. package/lib/task/cancelReservation.d.ts +1 -1
  108. package/lib/task/confirmMoneyTransfer.d.ts +2 -2
  109. package/lib/task/confirmPayTransaction.d.ts +2 -2
  110. package/lib/task/confirmRegisterService.d.ts +2 -2
  111. package/lib/task/confirmRegisterServiceTransaction.d.ts +2 -2
  112. package/lib/task/confirmReserveTransaction.d.ts +2 -2
  113. package/lib/task/createEvent.d.ts +3 -3
  114. package/lib/task/deleteTransaction.d.ts +5 -5
  115. package/lib/task/givePointAward.d.ts +2 -2
  116. package/lib/task/importEventCapacitiesFromCOA.d.ts +1 -1
  117. package/lib/task/importEventsFromCOA.d.ts +1 -1
  118. package/lib/task/importOffersFromCOA.d.ts +1 -1
  119. package/lib/task/moneyTransfer.d.ts +2 -2
  120. package/lib/task/onAssetTransactionStatusChanged.d.ts +1 -1
  121. package/lib/task/onAuthorizationCreated.d.ts +1 -1
  122. package/lib/task/onEventChanged.d.ts +1 -1
  123. package/lib/task/onOrderPaymentCompleted.d.ts +1 -1
  124. package/lib/task/onResourceUpdated.d.ts +6 -6
  125. package/lib/task/pay.d.ts +2 -2
  126. package/lib/task/placeOrder.d.ts +1 -1
  127. package/lib/task/refund.d.ts +2 -2
  128. package/lib/task/registerService.d.ts +2 -2
  129. package/lib/task/reserve.d.ts +1 -1
  130. package/lib/task/returnMoneyTransfer.d.ts +2 -2
  131. package/lib/task/returnOrder.d.ts +2 -2
  132. package/lib/task/returnPayTransaction.d.ts +2 -2
  133. package/lib/task/returnPointAward.d.ts +2 -2
  134. package/lib/task/returnReserveTransaction.d.ts +2 -2
  135. package/lib/task/sendEmailMessage.d.ts +1 -1
  136. package/lib/task/sendOrder.d.ts +2 -2
  137. package/lib/task/syncScreeningRooms.d.ts +1 -1
  138. package/lib/task/triggerWebhook.d.ts +2 -2
  139. package/lib/task/useReservation.d.ts +3 -3
  140. package/lib/task/voidMoneyTransferTransaction.d.ts +1 -1
  141. package/lib/task/voidPayTransaction.d.ts +2 -2
  142. package/lib/task/voidPayment.d.ts +2 -2
  143. package/lib/task/voidRegisterServiceTransaction.d.ts +1 -1
  144. package/lib/task/voidReserveTransaction.d.ts +2 -2
  145. package/lib/task.d.ts +3 -3
  146. package/lib/thing.d.ts +1 -1
  147. package/lib/transaction/moneyTransfer.d.ts +7 -7
  148. package/lib/transaction/placeOrder.d.ts +7 -7
  149. package/lib/transaction/returnOrder.d.ts +8 -8
  150. package/lib/transaction.d.ts +3 -3
  151. package/lib/trip/busTrip.d.ts +3 -3
  152. package/lib/unitPriceOffer/merchantReturnPolicy.d.ts +1 -1
  153. package/lib/unitPriceOffer.d.ts +4 -4
  154. package/package.json +9 -14
@@ -67,7 +67,7 @@ export interface IAggregateEntranceGate {
67
67
  * 予約対象
68
68
  * 現時点でBusTripのみ
69
69
  */
70
- export declare type IReservationFor = Pick<IBusTrip, 'arrivalBusStop' | 'arrivalTime' | 'busName' | 'busNumber' | 'departureBusStop' | 'departureTime' | 'identifier' | 'typeOf'>;
70
+ export type IReservationFor = Pick<IBusTrip, 'arrivalBusStop' | 'arrivalTime' | 'busName' | 'busNumber' | 'departureBusStop' | 'departureTime' | 'identifier' | 'typeOf'>;
71
71
  export interface IServiceOutput {
72
72
  typeOf: ReservationType.BusReservation;
73
73
  reservationFor: IReservationFor;
@@ -82,7 +82,7 @@ export interface IServiceOutput {
82
82
  };
83
83
  };
84
84
  }
85
- export declare type IServiceType = IProductServiceType & {
85
+ export type IServiceType = IProductServiceType & {
86
86
  id?: string;
87
87
  };
88
88
  /**
@@ -107,7 +107,7 @@ export interface IItemOffered {
107
107
  typeOf: ProductType.Transportation;
108
108
  availableChannel: ReservationFactory.IServiceChannel;
109
109
  }
110
- export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier.Chevre>;
110
+ export type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier.Chevre>;
111
111
  export interface ISellerMakesOffer extends Pick<OfferFactory.IOffer, 'typeOf' | 'availableAtOrFrom' | 'availabilityEnds' | 'availabilityStarts' | 'validFrom' | 'validThrough'> {
112
112
  availabilityEnds: Date;
113
113
  availabilityStarts: Date;
@@ -177,7 +177,7 @@ export interface ILocation {
177
177
  */
178
178
  maximumAttendeeCapacity?: number;
179
179
  }
180
- export declare type IName = IMultilingualString;
180
+ export type IName = IMultilingualString;
181
181
  export interface IOrganizer {
182
182
  id: string;
183
183
  }
@@ -237,9 +237,9 @@ export interface IAttributes extends EventFactory.IAttributes<EventType.Event> {
237
237
  /**
238
238
  * イベント
239
239
  */
240
- export declare type IEvent = EventFactory.IEvent<IAttributes>;
241
- export declare type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
242
- export declare type ISeller4create = Pick<ISeller, 'makesOffer'> & {
240
+ export type IEvent = EventFactory.IEvent<IAttributes>;
241
+ export type ILocation4create = Pick<ILocation, 'branchCode' | 'maximumAttendeeCapacity'>;
242
+ export type ISeller4create = Pick<ISeller, 'makesOffer'> & {
243
243
  /**
244
244
  * POS以外のアプリケーションの共通設定
245
245
  */
@@ -259,15 +259,15 @@ export interface IAvailableChannel4create {
259
259
  };
260
260
  };
261
261
  }
262
- export declare type IReservationFor4create = Pick<IReservationFor, 'identifier'>;
263
- export declare type IServiceOutput4create = Pick<IServiceOutput, 'reservedTicket' | 'typeOf'> & {
262
+ export type IReservationFor4create = Pick<IReservationFor, 'identifier'>;
263
+ export type IServiceOutput4create = Pick<IServiceOutput, 'reservedTicket' | 'typeOf'> & {
264
264
  reservationFor: IReservationFor4create;
265
265
  };
266
- export declare type IItemOffered4create = Pick<IItemOffered, 'id'> & {
266
+ export type IItemOffered4create = Pick<IItemOffered, 'id'> & {
267
267
  availableChannel: IAvailableChannel4create;
268
268
  serviceOutput: IServiceOutput4create;
269
269
  };
270
- export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
270
+ export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
271
271
  /**
272
272
  * 最大予約数を指定
273
273
  */
@@ -281,7 +281,7 @@ export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
281
281
  */
282
282
  seller: ISeller4create;
283
283
  };
284
- export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
284
+ export type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
285
285
  /**
286
286
  * ルームコードとキャパシティを指定
287
287
  */
@@ -291,11 +291,11 @@ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'do
291
291
  /**
292
292
  * イベント更新パラメータ
293
293
  */
294
- export declare type IUpdateParams = ICreateParams;
294
+ export type IUpdateParams = ICreateParams;
295
295
  /**
296
296
  * ソート条件
297
297
  */
298
- export declare type ISortOrder = EventFactory.ISortOrder;
298
+ export type ISortOrder = EventFactory.ISortOrder;
299
299
  export interface IOfferSearchConditions {
300
300
  /**
301
301
  * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
@@ -27,7 +27,7 @@ export interface IServiceOutput {
27
27
  };
28
28
  };
29
29
  }
30
- export declare type IServiceType = IProductServiceType & {
30
+ export type IServiceType = IProductServiceType & {
31
31
  id?: string;
32
32
  };
33
33
  /**
@@ -52,7 +52,7 @@ export interface IItemOffered {
52
52
  typeOf: ProductType.EventService;
53
53
  availableChannel: ReservationFactory.IServiceChannel;
54
54
  }
55
- export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
55
+ export type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
56
56
  export import ISellerMakesOffer = AnyEventFactory.ISellerMakesOffer;
57
57
  export import ISeller = AnyEventFactory.ISeller;
58
58
  export import IEligibleQuantity = AnyEventFactory.IEligibleQuantity;
@@ -90,7 +90,7 @@ export interface IOffer {
90
90
  unacceptedPaymentMethod?: string[];
91
91
  seller: ISeller;
92
92
  }
93
- export declare type IOffer4COA = Pick<IOffer, 'typeOf' | 'offeredThrough'> & {
93
+ export type IOffer4COA = Pick<IOffer, 'typeOf' | 'offeredThrough'> & {
94
94
  itemOffered: {
95
95
  serviceOutput: Pick<IServiceOutput, 'reservedTicket'>;
96
96
  };
@@ -145,7 +145,7 @@ export interface ICOAInfo {
145
145
  /**
146
146
  * COA券種情報
147
147
  */
148
- export declare type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
148
+ export type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
149
149
  /**
150
150
  * チケット名
151
151
  */
@@ -163,9 +163,9 @@ export declare type ICOAOffer = COA.factory.reserve.IUpdReserveTicket & {
163
163
  */
164
164
  usePoint: number;
165
165
  };
166
- export declare type IWorkPerformed = ScreeningEventSeriesFactory.IWorkPerformed;
166
+ export type IWorkPerformed = ScreeningEventSeriesFactory.IWorkPerformed;
167
167
  export import ILocation = AnyEventFactory.ILocation;
168
- export declare type ISuperEvent = Pick<ScreeningEventSeriesFactory.IEvent, 'typeOf' | 'id' | 'videoFormat' | 'soundFormat' | 'workPerformed' | 'location' | 'kanaName' | 'name' | 'additionalProperty' | 'startDate' | 'endDate' | 'description' | 'headline' | 'dubLanguage' | 'subtitleLanguage' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'>;
168
+ export type ISuperEvent = Pick<ScreeningEventSeriesFactory.IEvent, 'typeOf' | 'id' | 'videoFormat' | 'soundFormat' | 'workPerformed' | 'location' | 'kanaName' | 'name' | 'additionalProperty' | 'startDate' | 'endDate' | 'description' | 'headline' | 'dubLanguage' | 'subtitleLanguage' | 'identifier' | 'alternativeHeadline' | 'duration' | 'coaInfo'>;
169
169
  export import IName = AnyEventFactory.IName;
170
170
  /**
171
171
  * イベント属性
@@ -194,11 +194,11 @@ export interface IAttributes extends Omit<AnyEventFactory.IAttributes, 'offers'
194
194
  /**
195
195
  * イベント
196
196
  */
197
- export declare type IEvent = EventFactory.IEvent<IAttributes>;
197
+ export type IEvent = EventFactory.IEvent<IAttributes>;
198
198
  export import ILocation4create = AnyEventFactory.ILocation4create;
199
199
  export import ISeller4create = AnyEventFactory.ISeller4create;
200
- export declare type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
201
- export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
200
+ export type ISuperEvent4create = Pick<ISuperEvent, 'id'>;
201
+ export type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
202
202
  /**
203
203
  * 最大予約数を指定
204
204
  */
@@ -212,7 +212,7 @@ export declare type IOffers4create = Pick<IOffer, 'unacceptedPaymentMethod'> & {
212
212
  */
213
213
  seller: ISeller4create;
214
214
  };
215
- export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
215
+ export type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'doorTime' | 'startDate' | 'endDate' | 'eventStatus' | 'additionalProperty'> & {
216
216
  /**
217
217
  * ルームコードとキャパシティを指定
218
218
  */
@@ -226,11 +226,11 @@ export declare type ICreateParams = Pick<IAttributes, 'project' | 'typeOf' | 'do
226
226
  /**
227
227
  * イベント更新パラメータ
228
228
  */
229
- export declare type IUpdateParams = ICreateParams;
229
+ export type IUpdateParams = ICreateParams;
230
230
  /**
231
231
  * ソート条件
232
232
  */
233
- export declare type ISortOrder = EventFactory.ISortOrder;
233
+ export type ISortOrder = EventFactory.ISortOrder;
234
234
  export interface IOfferSearchConditions {
235
235
  /**
236
236
  * apiリクエストクライアントがseller.makesOffer.$elemMatchに含まれるものを検索
@@ -28,7 +28,7 @@ export interface ISoundFormat {
28
28
  * コンテンツ
29
29
  * contentRatingはCOAのみ存在
30
30
  */
31
- export declare type IWorkPerformed = Pick<IMovie, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration' | 'contentRating'> & {
31
+ export type IWorkPerformed = Pick<IMovie, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration' | 'contentRating'> & {
32
32
  /**
33
33
  * 同コンテンツに対する複数施設コンテンツのバージョン
34
34
  * identifier+versionでuniqueな想定
@@ -147,8 +147,8 @@ export interface IAttributes extends Pick<EventFactory.IAttributes<EventType.Scr
147
147
  /**
148
148
  * 施設コンテンツ
149
149
  */
150
- export declare type IEvent = EventFactory.IEvent<IAttributes>;
151
- export declare type ICreateParams = Omit<IAttributes, 'location' | 'workPerformed' | 'coaInfo' | 'organizer' | 'videoFormat' | 'alternativeHeadline'> & {
150
+ export type IEvent = EventFactory.IEvent<IAttributes>;
151
+ export type ICreateParams = Omit<IAttributes, 'location' | 'workPerformed' | 'coaInfo' | 'organizer' | 'videoFormat' | 'alternativeHeadline'> & {
152
152
  location: {
153
153
  id: string;
154
154
  };
@@ -165,7 +165,7 @@ export declare type ICreateParams = Omit<IAttributes, 'location' | 'workPerforme
165
165
  /**
166
166
  * ソート条件
167
167
  */
168
- export declare type ISortOrder = EventFactory.ISortOrder;
168
+ export type ISortOrder = EventFactory.ISortOrder;
169
169
  /**
170
170
  * 検索条件
171
171
  */
package/lib/event.d.ts CHANGED
@@ -7,7 +7,7 @@ import * as PlaceFactory from './place';
7
7
  import { IProject } from './project';
8
8
  import { IPropertyValue } from './propertyValue';
9
9
  import { SortType } from './sortType';
10
- export declare type IOffer = Pick<OfferFactory.IOffer, 'typeOf' | 'unacceptedPaymentMethod' | 'seller' | 'eligibleQuantity' | 'itemOffered' | 'offeredThrough'>;
10
+ export type IOffer = Pick<OfferFactory.IOffer, 'typeOf' | 'unacceptedPaymentMethod' | 'seller' | 'eligibleQuantity' | 'itemOffered' | 'offeredThrough'>;
11
11
  export interface IAttributes<T extends EventType> {
12
12
  project: Pick<IProject, 'id' | 'typeOf'>;
13
13
  /**
@@ -80,7 +80,7 @@ export interface IAttributes<T extends EventType> {
80
80
  /**
81
81
  * イベント
82
82
  */
83
- export declare type IEvent<T extends IAttributes<EventType>> = T & {
83
+ export type IEvent<T extends IAttributes<EventType>> = T & {
84
84
  id: string;
85
85
  };
86
86
  /**
package/lib/iam.d.ts CHANGED
@@ -31,8 +31,8 @@ export interface IRoleSearchConditions {
31
31
  $eq?: string;
32
32
  };
33
33
  }
34
- export declare type IMemberType = PersonType | CreativeWorkType.WebApplication;
35
- export declare type IMemberHasRole = Pick<IRole, 'typeOf' | 'roleName'>[];
34
+ export type IMemberType = PersonType | CreativeWorkType.WebApplication;
35
+ export type IMemberHasRole = Pick<IRole, 'typeOf' | 'roleName'>[];
36
36
  export interface IMemberOfRole {
37
37
  typeOf: IMemberType;
38
38
  id: string;
package/lib/index.d.ts CHANGED
@@ -326,7 +326,7 @@ export import itemAvailability = ItemAvailability;
326
326
  export import language = LanguageFactory;
327
327
  export import merchantReturnPolicy = MerchantReturnPolicyFactory;
328
328
  export import monetaryAmount = MonetaryAmountFactory;
329
- export declare type multilingualString = IMultilingualString;
329
+ export type multilingualString = IMultilingualString;
330
330
  export import offer = OfferFactory;
331
331
  export import offerCatalog = OfferCatalogFactory;
332
332
  export import offerItemCondition = OfferItemConditionFactory;
package/lib/invoice.d.ts CHANGED
@@ -9,23 +9,23 @@ import { IAppliesToAddOn as IUnitPriceSpecAppliesToAddOn, IPriceSpecification as
9
9
  import { IPriceSpecification } from './reservation/event';
10
10
  import { ISeller } from './seller';
11
11
  import { PaymentServiceType } from './service/paymentService';
12
- export declare type IBroker = Pick<ISeller, 'id' | 'typeOf'> | IPerson;
13
- export declare type IProvider = Pick<ISeller, 'id' | 'typeOf'> | IPerson;
12
+ export type IBroker = Pick<ISeller, 'id' | 'typeOf'> | IPerson;
13
+ export type IProvider = Pick<ISeller, 'id' | 'typeOf'> | IPerson;
14
14
  export interface IReferenceOrder extends OrderFactory.IOrder {
15
15
  acceptedOffers: OrderFactory.IAcceptedOffer<OrderFactory.IItemOffered>[];
16
16
  }
17
- export declare type IReservationPriceAccounting = Pick<IAccounting, 'accountsReceivable'>;
18
- export declare type IAppliesToAddOn = Pick<IUnitPriceSpecAppliesToAddOn, 'typeOf'>;
19
- export declare type IMinimizedCategoryCodeChargeSpecification = Pick<ICategoryCodeChargeSpecification, 'typeOf' | 'price'>;
20
- export declare type IMinimizedMovieTicketTypeChargeSpecification = Pick<IMovieTicketTypeChargeSpecification, 'typeOf' | 'price'> & {
17
+ export type IReservationPriceAccounting = Pick<IAccounting, 'accountsReceivable'>;
18
+ export type IAppliesToAddOn = Pick<IUnitPriceSpecAppliesToAddOn, 'typeOf'>;
19
+ export type IMinimizedCategoryCodeChargeSpecification = Pick<ICategoryCodeChargeSpecification, 'typeOf' | 'price'>;
20
+ export type IMinimizedMovieTicketTypeChargeSpecification = Pick<IMovieTicketTypeChargeSpecification, 'typeOf' | 'price'> & {
21
21
  appliesToMovieTicket: Pick<IAppliesToMovieTicket, 'serviceOutput'>;
22
22
  };
23
- export declare type IMinimizedUnitPriceSpecification = Pick<IUnitPriceSpecification, 'typeOf' | 'price' | 'referenceQuantity'> & {
23
+ export type IMinimizedUnitPriceSpecification = Pick<IUnitPriceSpecification, 'typeOf' | 'price' | 'referenceQuantity'> & {
24
24
  accounting?: IReservationPriceAccounting;
25
25
  appliesToAddOn?: IAppliesToAddOn[];
26
26
  };
27
- export declare type IPriceComponentSpecification = IMinimizedCategoryCodeChargeSpecification | IMinimizedMovieTicketTypeChargeSpecification | IMinimizedUnitPriceSpecification;
28
- export declare type IReservationPriceSpecification = Pick<IPriceSpecification, 'typeOf'> & {
27
+ export type IPriceComponentSpecification = IMinimizedCategoryCodeChargeSpecification | IMinimizedMovieTicketTypeChargeSpecification | IMinimizedUnitPriceSpecification;
28
+ export type IReservationPriceSpecification = Pick<IPriceSpecification, 'typeOf'> & {
29
29
  priceComponent: IPriceComponentSpecification[];
30
30
  };
31
31
  export interface IReservation {
@@ -45,7 +45,7 @@ export interface IReservation {
45
45
  ticketToken?: string;
46
46
  };
47
47
  }
48
- export declare type IAmountOfMovieTicketAsPaymentServiceOutput = Pick<IMonetaryAmount, 'typeOf' | 'value'>;
48
+ export type IAmountOfMovieTicketAsPaymentServiceOutput = Pick<IMonetaryAmount, 'typeOf' | 'value'>;
49
49
  export interface IMovieTicketAsPaymentServiceOutput {
50
50
  /**
51
51
  * 購入管理番号
@@ -57,7 +57,7 @@ export interface IMovieTicketAsPaymentServiceOutput {
57
57
  serviceOutput?: IReservation;
58
58
  amount?: IAmountOfMovieTicketAsPaymentServiceOutput;
59
59
  }
60
- export declare type IPaymentServiceOutput = IMovieTicketAsPaymentServiceOutput[];
60
+ export type IPaymentServiceOutput = IMovieTicketAsPaymentServiceOutput[];
61
61
  /**
62
62
  * 決済方法(サービス)
63
63
  */
@@ -42,15 +42,15 @@ export declare enum MerchantReturnEnumeration {
42
42
  */
43
43
  MerchantReturnUnspecified = "MerchantReturnUnspecified"
44
44
  }
45
- export declare type IRestockingFee = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
46
- export declare type IItemCondition = Pick<IOfferItemCondition, 'typeOf' | 'id'> & {
45
+ export type IRestockingFee = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'>;
46
+ export type IItemCondition = Pick<IOfferItemCondition, 'typeOf' | 'id'> & {
47
47
  id: string;
48
48
  name: {
49
49
  ja: string;
50
50
  };
51
51
  };
52
- export declare type ICustomerRemorseReturnFees = ReturnFeesEnumeration;
53
- export declare type ICustomerRemorseReturnFeesMovieTicket = ReturnFeesEnumeration.FreeReturn | ReturnFeesEnumeration.ReturnFeesCustomerResponsibility;
52
+ export type ICustomerRemorseReturnFees = ReturnFeesEnumeration;
53
+ export type ICustomerRemorseReturnFeesMovieTicket = ReturnFeesEnumeration.FreeReturn | ReturnFeesEnumeration.ReturnFeesCustomerResponsibility;
54
54
  export interface IMerchantReturnPolicy extends Pick<IThing, 'name' | 'url'> {
55
55
  typeOf: 'MerchantReturnPolicy';
56
56
  /**
@@ -1,7 +1,7 @@
1
1
  import { IOffer } from '../offer';
2
2
  import { OfferType } from '../offerType';
3
3
  import { IUnitPriceOffer } from '../unitPriceOffer';
4
- export declare type ISubOffer = IUnitPriceOffer;
4
+ export type ISubOffer = IUnitPriceOffer;
5
5
  /**
6
6
  * 集計オファー
7
7
  */
package/lib/offer.d.ts CHANGED
@@ -21,8 +21,8 @@ export interface ICategory {
21
21
  id?: string;
22
22
  codeValue?: string;
23
23
  }
24
- export declare type IEligibleCategoryCode = Pick<ICategoryCode, 'typeOf' | 'id' | 'codeValue' | 'inCodeSet'>;
25
- export declare type IEligibleMonetaryAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> & {
24
+ export type IEligibleCategoryCode = Pick<ICategoryCode, 'typeOf' | 'id' | 'codeValue' | 'inCodeSet'>;
25
+ export type IEligibleMonetaryAmount = Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> & {
26
26
  value: number;
27
27
  };
28
28
  /**
@@ -47,7 +47,7 @@ export interface ISeller {
47
47
  typeOf?: OrganizationType.Corporation;
48
48
  id?: string;
49
49
  }
50
- export declare type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
50
+ export type IOfferedThrough = WebAPIFactory.IService<WebAPIFactory.Identifier>;
51
51
  /**
52
52
  * レート制限
53
53
  * どのスコープで何秒に1席までか
@@ -62,7 +62,7 @@ export interface IAvailableAtOrFrom {
62
62
  */
63
63
  id: string;
64
64
  }
65
- export declare type IItemOffered4addOn = Pick<IProduct, 'description' | 'id' | 'name' | 'productID' | 'typeOf'>;
65
+ export type IItemOffered4addOn = Pick<IProduct, 'description' | 'id' | 'name' | 'productID' | 'typeOf'>;
66
66
  /**
67
67
  * アドオン
68
68
  */
@@ -79,8 +79,8 @@ export interface IAddOn {
79
79
  validFrom?: Date;
80
80
  validThrough?: Date;
81
81
  }
82
- export declare type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
83
- export declare type IName = IMultilingualString;
82
+ export type IEligibleQuantity = Pick<IQuantitativeValue<UnitCode.C62>, 'maxValue' | 'typeOf' | 'unitCode' | 'value'>;
83
+ export type IName = IMultilingualString;
84
84
  /**
85
85
  * offer interface
86
86
  * An offer to transfer some rights to an item or to provide a service
@@ -6,7 +6,7 @@ import { IProject } from './project';
6
6
  import { IPropertyValue } from './propertyValue';
7
7
  import { SortType } from './sortType';
8
8
  import { IThing } from './thing';
9
- export declare type OfferCatalogType = 'OfferCatalog';
9
+ export type OfferCatalogType = 'OfferCatalog';
10
10
  export interface IItemOffered {
11
11
  typeOf: ProductType;
12
12
  }
@@ -30,7 +30,7 @@ export interface IItemListElementAsAggregateOffer {
30
30
  */
31
31
  id: string;
32
32
  }
33
- export declare type IItemListElement = IItemListElementAsOfferCatalog | IItemListElementAsAggregateOffer;
33
+ export type IItemListElement = IItemListElementAsOfferCatalog | IItemListElementAsAggregateOffer;
34
34
  export interface IReletedOfferPriceSpecification {
35
35
  appliesToMovieTicket?: Pick<IAppliesToMovieTicket, 'serviceOutput'>[];
36
36
  }
@@ -5,7 +5,7 @@ import { IQuantitativeValue } from './quantitativeValue';
5
5
  import { ReservationType } from './reservationType';
6
6
  import { SortType } from './sortType';
7
7
  import { UnitCode } from './unitCode';
8
- export declare type IGracePeriodBeforeStart = Pick<IQuantitativeValue<UnitCode.Sec>, 'maxValue' | 'minValue' | 'typeOf' | 'unitCode'>;
8
+ export type IGracePeriodBeforeStart = Pick<IQuantitativeValue<UnitCode.Sec>, 'maxValue' | 'minValue' | 'typeOf' | 'unitCode'>;
9
9
  export interface IGracePeriodBeforeStartInDays {
10
10
  period: Pick<IQuantitativeValue<UnitCode.Day>, 'value' | 'typeOf' | 'unitCode'>;
11
11
  time: string;
package/lib/order.d.ts CHANGED
@@ -46,7 +46,7 @@ export interface IOrderPaymentMethodIssuedThrough {
46
46
  export interface ITotalPaymentDue extends Pick<IMonetaryAmount, 'typeOf' | 'currency' | 'value'> {
47
47
  value: number;
48
48
  }
49
- export declare type IPaymentMethodOfInvoice = Pick<IPaymentMethodAsServiceOutput, 'amount'> & {
49
+ export type IPaymentMethodOfInvoice = Pick<IPaymentMethodAsServiceOutput, 'amount'> & {
50
50
  /**
51
51
  * 決済方法区分コード
52
52
  */
@@ -60,11 +60,6 @@ export interface IReferencedInvoice {
60
60
  * The identifier for the account the payment will be applied to.
61
61
  */
62
62
  accountId?: string;
63
- /**
64
- * 決済方法区分コード
65
- * @deprecated Use paymentMethod.identifier
66
- */
67
- typeOf: string;
68
63
  /**
69
64
  * 決済方法名称
70
65
  */
@@ -116,27 +111,27 @@ export interface IDiscount {
116
111
  */
117
112
  discountCurrency: string;
118
113
  }
119
- export declare type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
120
- export declare type ISuperEvent = Omit<EventReservationFactory.IOptimizedSuperEvent, 'workPerformed'> & {
114
+ export type IWorkPerformed = Pick<EventReservationFactory.IOptimizedWorkPerformed, 'typeOf' | 'id' | 'identifier' | 'name' | 'duration'>;
115
+ export type ISuperEvent = Omit<EventReservationFactory.IOptimizedSuperEvent, 'workPerformed'> & {
121
116
  workPerformed: IWorkPerformed;
122
117
  };
123
- export declare type ITripAsReservationFor = BusReservationFactory.IReservationFor;
124
- export declare type IEventAsReservationFor = Omit<EventReservationFactory.IReservationFor, 'superEvent'> & {
118
+ export type ITripAsReservationFor = BusReservationFactory.IReservationFor;
119
+ export type IEventAsReservationFor = Omit<EventReservationFactory.IReservationFor, 'superEvent'> & {
125
120
  superEvent: ISuperEvent;
126
121
  };
127
- export declare type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
122
+ export type IReservedTicket = Pick<ITicket, 'typeOf' | 'ticketedSeat' | 'dateIssued' | 'ticketNumber' | 'ticketToken' | 'coaTicketInfo' | 'coaReserveAmount'> & {
128
123
  ticketType: ITicketType;
129
124
  };
130
- export declare type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
125
+ export type IBusReservation = Pick<BusReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
131
126
  reservationFor: ITripAsReservationFor;
132
127
  reservedTicket: IReservedTicket;
133
128
  };
134
- export declare type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
129
+ export type IEventReservation = Pick<EventReservationFactory.IReservation, 'additionalProperty' | 'additionalTicketText' | 'bookingTime' | 'id' | 'issuedThrough' | 'programMembershipUsed' | 'reservationNumber' | 'typeOf'> & {
135
130
  reservationFor: IEventAsReservationFor;
136
131
  reservedTicket: IReservedTicket;
137
132
  };
138
- export declare type IReservation = IBusReservation | IEventReservation;
139
- export declare type IPermit = Pick<IBasePermit, 'amount' | 'identifier' | 'name' | 'typeOf' | 'validFor'> & {
133
+ export type IReservation = IBusReservation | IEventReservation;
134
+ export type IPermit = Pick<IBasePermit, 'amount' | 'identifier' | 'name' | 'typeOf' | 'validFor'> & {
140
135
  issuedThrough?: IIssuedThroughAsProduct;
141
136
  };
142
137
  export interface IMoneyTransferPendingTransaction {
@@ -146,7 +141,7 @@ export interface IMoneyTransferPendingTransaction {
146
141
  */
147
142
  transactionNumber: string;
148
143
  }
149
- export declare type IMoneyTransferToLocation = Pick<IPaymentCardAsMoneyTransferToLocation, 'typeOf' | 'identifier' | 'issuedThrough'>;
144
+ export type IMoneyTransferToLocation = Pick<IPaymentCardAsMoneyTransferToLocation, 'typeOf' | 'identifier' | 'issuedThrough'>;
150
145
  export interface IMoneyTransfer {
151
146
  typeOf: ActionType.MoneyTransfer;
152
147
  /**
@@ -169,19 +164,19 @@ export interface IMoneyTransfer {
169
164
  /**
170
165
  * 注文アイテム
171
166
  */
172
- export declare type IItemOffered = IMoneyTransfer | IReservation | IPermit;
173
- export declare type ICategoryChargePriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'>;
174
- export declare type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
175
- export declare type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
167
+ export type IItemOffered = IMoneyTransfer | IReservation | IPermit;
168
+ export type ICategoryChargePriceComponent = Omit<ICategoryCodeChargeSpecification, 'project'>;
169
+ export type IMovieTicketTypeChargePriceComponent = Omit<IMovieTicketTypeChargeSpecification, 'project'>;
170
+ export type IUnitPriceComponent = Pick<IUnitPriceOfferPriceSpecification, 'accounting' | 'appliesToMovieTicket' | 'appliesToAddOn' | 'name' | 'price' | 'priceCurrency' | 'referenceQuantity' | 'typeOf' | 'valueAddedTaxIncluded'>;
176
171
  /**
177
172
  * 承認時に提供される価格仕様要素
178
173
  */
179
- export declare type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
174
+ export type ITicketPriceComponent = ICategoryChargePriceComponent | IMovieTicketTypeChargePriceComponent | IUnitPriceComponent;
180
175
  /**
181
176
  * 承認時に提供される価格仕様
182
177
  */
183
- export declare type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
184
- export declare type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'name'>;
178
+ export type ITicketPriceSpecification = Omit<ICompoundPriceSpecification<ITicketPriceComponent>, 'project'>;
179
+ export type IOfferOptimized4acceptedOffer = Pick<IOffer, 'typeOf' | 'id' | 'itemOffered' | 'offeredThrough' | 'name'>;
185
180
  /**
186
181
  * 受け入れオファー
187
182
  */
@@ -202,25 +197,25 @@ export interface ISeller extends Pick<IBaseSeller, 'typeOf' | 'additionalPropert
202
197
  /**
203
198
  * ウェブアプリケーションとしてのカスタマー
204
199
  */
205
- export declare type IWebApplicationCustomer = Pick<IWebApplication, 'id' | 'typeOf'> & IProfile;
200
+ export type IWebApplicationCustomer = Pick<IWebApplication, 'id' | 'typeOf'> & IProfile;
206
201
  /**
207
202
  * 顧客組織としてのカスタマー
208
203
  */
209
- export declare type IOrganizationCustomer = Pick<ICustomerOrganization, 'id' | 'typeOf'> & IProfile;
210
- export declare type IPersonCustomer = Pick<IPerson, 'id' | 'typeOf' | 'memberOf'> & IProfile;
204
+ export type IOrganizationCustomer = Pick<ICustomerOrganization, 'id' | 'typeOf'> & IProfile;
205
+ export type IPersonCustomer = Pick<IPerson, 'id' | 'typeOf' | 'memberOf'> & IProfile;
211
206
  /**
212
207
  * カスタマー
213
208
  */
214
- export declare type ICustomer = IPersonCustomer | IWebApplicationCustomer | IOrganizationCustomer;
215
- export declare type IBroker = Pick<IPerson, 'id' | 'identifier' | 'typeOf'>;
209
+ export type ICustomer = IPersonCustomer | IWebApplicationCustomer | IOrganizationCustomer;
210
+ export type IBroker = Pick<IPerson, 'id' | 'identifier' | 'typeOf'>;
216
211
  /**
217
212
  * 返品者
218
213
  */
219
- export declare type IParticipantAsReturner = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
220
- export declare type IReturner = Pick<IParticipantAsReturner, 'id' | 'typeOf'>;
221
- export declare type IIdentifier = IPropertyValue<string>[];
222
- export declare type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf'>;
223
- export declare type ISimpleSeller = Pick<ISeller, 'id' | 'typeOf' | 'name'>;
214
+ export type IParticipantAsReturner = IParticipantAsPerson | IParticipantAsProject | IParticipantAsWebApplication;
215
+ export type IReturner = Pick<IParticipantAsReturner, 'id' | 'typeOf'>;
216
+ export type IIdentifier = IPropertyValue<string>[];
217
+ export type ISimpleCustomer = Pick<ICustomer, 'id' | 'typeOf'>;
218
+ export type ISimpleSeller = Pick<ISeller, 'id' | 'typeOf' | 'name'>;
224
219
  export interface ISimpleOrder {
225
220
  /**
226
221
  * object type
@@ -268,7 +263,7 @@ export interface IEventServiceAsOrderedItem {
268
263
  };
269
264
  serviceType?: EventReservationFactory.IServiceTypeOfIssuedThrough;
270
265
  }
271
- export declare type IReservationFor4TransportationOrderedItem = Pick<ITripAsReservationFor, 'typeOf' | 'id' | 'arrivalTime' | 'departureTime'>;
266
+ export type IReservationFor4TransportationOrderedItem = Pick<ITripAsReservationFor, 'typeOf' | 'id' | 'arrivalTime' | 'departureTime'>;
272
267
  export interface ITransportationAsOrderedItem {
273
268
  typeOf: ProductType.Transportation;
274
269
  serviceOutput: {
@@ -277,7 +272,7 @@ export interface ITransportationAsOrderedItem {
277
272
  };
278
273
  serviceType?: EventReservationFactory.IServiceTypeOfIssuedThrough;
279
274
  }
280
- export declare type IProductAsOrderedItem = Pick<IProduct, 'id' | 'serviceType' | 'typeOf'>;
275
+ export type IProductAsOrderedItem = Pick<IProduct, 'id' | 'serviceType' | 'typeOf'>;
281
276
  /**
282
277
  * 注文アイテム
283
278
  * {@link https://schema.org/OrderItem}
@@ -7,6 +7,6 @@ export interface IExternalProductAsOrderedItem extends IProductAsOrderedItem {
7
7
  export interface IExternalOrderedItem extends IOrderedItem {
8
8
  orderedItem: IExternalProductAsOrderedItem;
9
9
  }
10
- export declare type IExternalOrder = Pick<IOrder, 'project' | 'typeOf' | 'seller' | 'customer' | 'confirmationNumber' | 'orderNumber' | 'price' | 'priceCurrency' | 'orderDate' | 'name' | 'orderStatus' | 'orderedItem' | 'paymentMethods'> & {
10
+ export type IExternalOrder = Pick<IOrder, 'project' | 'typeOf' | 'seller' | 'customer' | 'confirmationNumber' | 'orderNumber' | 'price' | 'priceCurrency' | 'orderDate' | 'name' | 'orderStatus' | 'orderedItem' | 'paymentMethods'> & {
11
11
  orderedItem?: IExternalOrderedItem[];
12
12
  };
@@ -2,8 +2,8 @@ import { IMultilingualString } from './multilingualString';
2
2
  import { IPlace } from './place';
3
3
  import { IPropertyValue } from './propertyValue';
4
4
  import { IThing } from './thing';
5
- export declare type ILocation = IPlace;
6
- export declare type IParentOrganization = IOrganization;
5
+ export type ILocation = IPlace;
6
+ export type IParentOrganization = IOrganization;
7
7
  /**
8
8
  * 組織インターフェース
9
9
  */
@@ -10,7 +10,7 @@ import { IReservation as IEventReservation } from './reservation/event';
10
10
  import { ReservationType } from './reservationType';
11
11
  import * as WebAPIFactory from './service/webAPI';
12
12
  import { SortType } from './sortType';
13
- export declare type IBookingService = WebAPIFactory.IService<WebAPIFactory.Identifier>;
13
+ export type IBookingService = WebAPIFactory.IService<WebAPIFactory.Identifier>;
14
14
  export interface IBusReservationAsGood {
15
15
  typeOf: ReservationType.BusReservation;
16
16
  /**
@@ -50,20 +50,20 @@ export interface IEventReservationAsGood {
50
50
  /**
51
51
  * 予約
52
52
  */
53
- export declare type IReservation = IBusReservationAsGood | IEventReservationAsGood;
54
- export declare type IReservationWithDetail = (IEventReservationAsGood & IEventReservation) | (IBusReservationAsGood & IBusReservation);
55
- export declare type IPermitIssuedThrough = Pick<PermitFactory.IIssuedThrough, 'id' | 'typeOf' | 'serviceType'>;
56
- export declare type IPermitAsGood = Pick<PermitFactory.IPermit, 'identifier' | 'typeOf' | 'name' | 'validFor'> & {
53
+ export type IReservation = IBusReservationAsGood | IEventReservationAsGood;
54
+ export type IReservationWithDetail = (IEventReservationAsGood & IEventReservation) | (IBusReservationAsGood & IBusReservation);
55
+ export type IPermitIssuedThrough = Pick<PermitFactory.IIssuedThrough, 'id' | 'typeOf' | 'serviceType'>;
56
+ export type IPermitAsGood = Pick<PermitFactory.IPermit, 'identifier' | 'typeOf' | 'name' | 'validFor'> & {
57
57
  issuedThrough?: IPermitIssuedThrough;
58
58
  };
59
59
  /**
60
60
  * 所有対象物 (Product or Service)
61
61
  */
62
- export declare type IGood = IReservation | IPermitAsGood;
62
+ export type IGood = IReservation | IPermitAsGood;
63
63
  /**
64
64
  * 所有対象物(対象物詳細有)
65
65
  */
66
- export declare type IGoodWithDetail = IReservationWithDetail | PermitFactory.IPermit;
66
+ export type IGoodWithDetail = IReservationWithDetail | PermitFactory.IPermit;
67
67
  /**
68
68
  * 所有者
69
69
  */
@@ -82,13 +82,13 @@ export interface IOwnerAsWebApplication {
82
82
  id: string;
83
83
  identifier?: IPropertyValue<string>[];
84
84
  }
85
- export declare type IOwner = IOwnerAsOrganization | IOwnerAsPerson | IOwnerAsWebApplication;
85
+ export type IOwner = IOwnerAsOrganization | IOwnerAsPerson | IOwnerAsWebApplication;
86
86
  export interface IAcquiredFrom {
87
87
  id: string;
88
88
  typeOf: OrganizationType.Corporation;
89
89
  name: string;
90
90
  }
91
- export declare type OwnershipInfoType = 'OwnershipInfo';
91
+ export type OwnershipInfoType = 'OwnershipInfo';
92
92
  /**
93
93
  * 所有権
94
94
  */
@@ -1,6 +1,6 @@
1
1
  import { IMonetaryAmount } from '../monetaryAmount';
2
2
  import { IPaymentMethod } from '../paymentMethod';
3
- export declare type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'validThrough'>;
3
+ export type IAmount = Pick<IMonetaryAmount, 'typeOf' | 'validThrough'>;
4
4
  /**
5
5
  * payment card interface
6
6
  */